DEBIAN-CVE-2025-1094
Record from OSV · Published February 13, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql-15 | Debian:12 | 15.11-0+deb12u1 |
| postgresql-17 | Debian:13 | 17.3-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:12 | postgresql-15 | 0, 15.10-0+deb12u1, 15.3-0+deb12u1 |
| Debian:13 | postgresql-17 | 0 |
Timeline
- Feb 13, 2025 CVE Published
- Jan 3, 2026 PoC Published
- Sep 1, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-1094
vulnetix vdb fixes DEBIAN-CVE-2025-1094
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-1094/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart