
13/2/2025

20/2/2025
CVE-2025-1094: PostgreSQL quoting APIs miss neutralizing quoting syntax in text that fails encoding validation
First published: Thu Feb 13 2025(Updated: )
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.
Credit: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Affected Software | Affected Version | How to fix |
---|
PostgreSQL JDBC Driver | <17.3<16.7<15.11<14.16<13.19 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Peer vulnerabilities
(Found alongside the following vulnerabilities)
Frequently Asked Questions
What is the severity of CVE-2025-1094?
CVE-2025-1094 is classified as a high-severity vulnerability due to its potential for SQL injection exploitation.
How do I fix CVE-2025-1094?
To mitigate CVE-2025-1094, it is recommended to upgrade PostgreSQL to versions 17.3, 16.7, 15.11, 14.16, or 13.19 or later.
What types of functions are affected by CVE-2025-1094?
CVE-2025-1094 affects the PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() functions in PostgreSQL.
Who is affected by CVE-2025-1094?
Users of PostgreSQL versions below 17.3, 16.7, 15.11, 14.16, and 13.19 are potentially affected by CVE-2025-1094.
What is SQL injection in the context of CVE-2025-1094?
In the context of CVE-2025-1094, SQL injection allows attackers to manipulate queries through improperly sanitized inputs in PostgreSQL libpq functions.
- agent/author
- agent/type
- agent/title
- agent/first-publish-date
- collector/bleeping-computer
- source/BleepingComputer
- alias/CVE-2024-12356
- alias/CVE-2024-12686
- alias/CVE-2025-1094
- collector/the-register
- source/The Register
- agent/news-ai
- zeroday/true
- exploited/true
- agent/severity
- collector/oss-sec
- source/oss-sec
- collector/mitre-cve
- source/MITRE
- agent/weakness
- collector/redhat-bugzilla
- source/Red Hat
- agent/source
- agent/last-modified-date
- agent/references
- agent/description
- agent/event
- agent/guess-ai
- agent/software-canonical-lookup
- agent/softwarecombine
- agent/tags
- agent/trending
- collector/nvd-api
- source/NVD
- vendor/postgresql
- canonical/postgresql jdbc driver
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203