Home / Postgresql / Postgresql / CVE-2013-1899
CVE-2013-1899: is it exploited, and which versions of Postgresql are affected and fixed?
CVE-2013-1899 is a code injection (remote code execution) vulnerability in Postgresql. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: postgresql 9.2, postgresql 9.2.1, postgresql 9.2.2 and 28 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (6.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2013-1899?
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to modify configuration settings and execute arbitrary code, via a connection request using a database name that begins with a "-" (hyphen).
From the CVE record by redhat, last updated August 6, 2024, 15:20 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| postgresql | postgresql | 9.2 | application |
| postgresql | postgresql | 9.2.1 | application |
| postgresql | postgresql | 9.2.2 | application |
| postgresql | postgresql | 9.2.3 | application |
| postgresql | postgresql | 9.1 | application |
| postgresql | postgresql | 9.1.1 | application |
| postgresql | postgresql | 9.1.2 | application |
| postgresql | postgresql | 9.1.3 | application |
| postgresql | postgresql | 9.1.4 | application |
| postgresql | postgresql | 9.1.5 | application |
| postgresql | postgresql | 9.1.6 | application |
| postgresql | postgresql | 9.1.7 | application |
| postgresql | postgresql | 9.1.8 | application |
| postgresql | postgresql | 9.0 | application |
| postgresql | postgresql | 9.0.1 | application |
| postgresql | postgresql | 9.0.2 | application |
| postgresql | postgresql | 9.0.3 | application |
| postgresql | postgresql | 9.0.4 | application |
| postgresql | postgresql | 9.0.5 | application |
| postgresql | postgresql | 9.0.6 | application |
| postgresql | postgresql | 9.0.7 | application |
| postgresql | postgresql | 9.0.8 | application |
| postgresql | postgresql | 9.0.9 | application |
| postgresql | postgresql | 9.0.10 | application |
| postgresql | postgresql | 9.0.11 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:52 UTC.
How severe is CVE-2013-1899?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-1899 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 54.3% probability of exploitation activity in the next 30 days, percentile 99.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- http://www.postgresql.org/docs/current/static/release-9-2-4.html x_refsource_CONFIRM
- http://www.postgresql.org/about/news/1456/ x_refsource_CONFIRM
- openSUSE-SU-2013:0628 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2013:0635 vendor-advisory, x_refsource_SUSE
- http://www.postgresql.org/support/security/faq/2013-04-04/ x_refsource_CONFIRM
- MDVSA-2013:142 vendor-advisory, x_refsource_MANDRIVA
- http://support.apple.com/kb/HT5892 x_refsource_CONFIRM
- http://www.postgresql.org/docs/current/static/release-9-0-13.html x_refsource_CONFIRM
- USN-1789-1 vendor-advisory, x_refsource_UBUNTU
- APPLE-SA-2013-09-12-1 vendor-advisory, x_refsource_APPLE
- FEDORA-2013-6148 vendor-advisory, x_refsource_FEDORA
- APPLE-SA-2013-09-17-1 vendor-advisory, x_refsource_APPLE
- http://www.postgresql.org/docs/current/static/release-9-1-9.html x_refsource_CONFIRM
- SUSE-SU-2013:0633 vendor-advisory, x_refsource_SUSE
- DSA-2658 vendor-advisory, x_refsource_DEBIAN
- openSUSE-SU-2013:0627 vendor-advisory, x_refsource_SUSE
- FEDORA-2013-5000 vendor-advisory, x_refsource_FEDORA
- http://support.apple.com/kb/HT5880 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- February 19, 2013
- Published
- April 4, 2013, 17:00 UTC
- CVE record updated
- August 6, 2024, 15:20 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:52 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Postgresql?
- Nov 12, 2026CVE-2026-6460 PostgreSQL: type confusion
- Nov 12, 2026CVE-2026-6467 PostgreSQL: uncontrolled search path (DLL or library hijacking)
- Nov 12, 2026CVE-2026-16240 PostgreSQL: format string flaw
- Nov 12, 2026CVE-2026-18447 PostgreSQL: type confusion
- Nov 12, 2026CVE-2026-14661 PostgreSQL: external Control of File Name or Path
- Nov 12, 2026CVE-2026-16237 PostgreSQL: improper Protection of Alternate Path
- Nov 12, 2026CVE-2026-120154 PostgreSQL: improper Protection of Alternate Path
- Nov 12, 2026CVE-2026-120153 PostgreSQL: SQL injection
Questions about CVE-2013-1899
Is CVE-2013-1899 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 54.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Postgresql are affected by CVE-2013-1899?
postgresql 9.2, postgresql 9.2.1, postgresql 9.2.2, postgresql 9.2.3, postgresql 9.1, postgresql 9.1.1 and 25 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2013-1899?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2013-1899?
Medium (6.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-1899?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.