CVE & CISA-KEV Catalog

CVE-2025-1094

HIGHEPSS 100th pctl
8.1
CVSS v3
NVD

Description

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected.

How to fix

Remediation Available
libpqAmazon
Fixed in:0:16.8-1.amzn2023.0.1
Fixed in:0:16.8-1.amzn2023.0.1
libpq-debuginfoAmazon
Fixed in:0:16.8-1.amzn2023.0.1
Fixed in:0:16.8-1.amzn2023.0.1
libpq-debugsourceAmazon
Fixed in:0:16.8-1.amzn2023.0.1
Fixed in:0:16.8-1.amzn2023.0.1
libpq-develAmazon
Fixed in:0:16.8-1.amzn2023.0.1
Fixed in:0:16.8-1.amzn2023.0.1
libpq-devel-debuginfoAmazon
Fixed in:0:16.8-1.amzn2023.0.1
Fixed in:0:16.8-1.amzn2023.0.1
postgresqlAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-contribAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-debuginfoAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-develAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-docsAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-libsAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-plperlAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-plpythonAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-pltclAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-serverAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-staticAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-testAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql-upgradeAmazon
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
Fixed in:0:9.2.24-8.amzn2.0.6
postgresql15Amazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-contribAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-contrib-debuginfoAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-debuginfoAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-debugsourceAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-docsAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-docs-debuginfoAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-llvmjitAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-llvmjit-debuginfoAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-plperlAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-plperl-debuginfoAmazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1
postgresql15-plpython3Amazon
Fixed in:0:15.12-1.amzn2023.0.1
Fixed in:0:15.12-1.amzn2023.0.1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

90.03%probability of exploitation in 30 days
100thpercentile

Very high risk: more likely to be exploited than 100% of all known CVEs.

References

Related Vulnerabilities

Other CWE-149 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-36479Low3.51.2%-Fix
CVE-2018-25135Critical9.80.7%--
CVE-2026-42511High8.10.4%--
CVE-2025-43878Medium6.00.2%-Fix

Common questions

How do I fix CVE-2025-1094?

Published advisories record a fix for 133 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2025-1094 being actively exploited?

Not that we know of. CVE-2025-1094 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 90.0% is the estimated probability that it will be exploited in the next 30 days. That is higher than 100% of all scored CVEs.

How severe is CVE-2025-1094?

CVE-2025-1094 has a CVSS v3 base score of 8.1, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2025-1094 affect?

Published advisories record a fix for libpq (Amazon), libpq-debuginfo (Amazon), libpq-debugsource (Amazon), libpq-devel (Amazon), and 129 more. The list on this page is capped, so there may be more.

Embed a live status badge for CVE-2025-1094
CVE-2025-1094 severity badge

Markdown

[![CVE-2025-1094](https://tridentstack.com/cve/badge/CVE-2025-1094.svg)](https://tridentstack.com/cve/CVE-2025-1094)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-1094"><img src="https://tridentstack.com/cve/badge/CVE-2025-1094.svg" alt="CVE-2025-1094"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.