Skip to content
Fencer Intel
medium 6.5

CVE-2012-3489 json

The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9…

published 2012-10-03 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-3445

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.1%
EPSS 3.1% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9.0.9, and 9.1 before 9.1.5 allows remote authenticated users to determine the existence of arbitrary files or URLs, and possibly obtain file or URL content that triggers a parsing error, via an XML value that refers to (1) a DTD or (2) an entity, related to an XML External Entity (aka XXE) issue.

Patch / fix

  • postgresql postgresql 8.3.20, 8.4.13, 9.0.9, 9.1.5
  • postgresql RHEL 6 8.4.13-1.el6_3
  • postgresql84 RHEL 5 8.4.13-1.el5_8
  • postgresql-libs RHEL 6 8.4.13-1.el6_3
  • postgresql-test RHEL 6 8.4.13-1.el6_3
  • postgresql-pltcl RHEL 6 8.4.13-1.el6_3
  • postgresql84-tcl RHEL 5 8.4.13-1.el5_8
  • postgresql-plperl RHEL 6 8.4.13-1.el6_3
  • postgresql-server RHEL 6 8.4.13-1.el6_3

red hat advisories RHSA-2012:1263

  • postgresql94 openSUSE Tumbleweed 9.4.10-1.1
  • postgresql93 openSUSE Tumbleweed 9.3.15-1.1
  • postgresql95 openSUSE Tumbleweed 9.5.4-1.2

opensuse advisories openSUSE-SU-2024:10030-1openSUSE-SU-2024:10256-1openSUSE-SU-2024:10273-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-3489 updated cvss 2.7

postgresql: File disclosure through XXE in xmlparse by DTD validation

  • Red Hat Enterprise Linux (v. 5 server) postgresql84 8.4.13-1.el5_8, postgresql84-tcl 8.4.13-1.el5_8, postgresql84-libs 8.4.13-1.el5_8, postgresql84-test 8.4.13-1.el5_8, postgresql84-pltcl 8.4.13-1.el5_8, postgresql84-plperl 8.4.13-1.el5_8, +4 more Red Hat Enterprise Linux Desktop (v. 5 client) postgresql84 8.4.13-1.el5_8, postgresql84-tcl 8.4.13-1.el5_8, postgresql84-libs 8.4.13-1.el5_8, postgresql84-python 8.4.13-1.el5_8, postgresql84-contrib 8.4.13-1.el5_8 Red Hat Enterprise Linux Desktop (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3 Red Hat Enterprise Linux Desktop Optional (v. 6) postgresql 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, postgresql-contrib 8.4.13-1.el6_3, +1 more Red Hat Enterprise Linux HPC Node (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3 Red Hat Enterprise Linux HPC Node Optional (v. 6) postgresql 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, postgresql-contrib 8.4.13-1.el6_3, +1 more
    +3 more products
    Red Hat Enterprise Linux Server (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, +2 more Red Hat Enterprise Linux Workstation (v. 6) postgresql 8.4.13-1.el6_3, postgresql-libs 8.4.13-1.el6_3, postgresql-test 8.4.13-1.el6_3, postgresql-pltcl 8.4.13-1.el6_3, postgresql-plperl 8.4.13-1.el6_3, postgresql-server 8.4.13-1.el6_3, +2 more Red Hat RHEL Desktop Workstation (v. 5 client) postgresql84 8.4.13-1.el5_8, postgresql84-test 8.4.13-1.el5_8, postgresql84-pltcl 8.4.13-1.el5_8, postgresql84-plperl 8.4.13-1.el5_8, postgresql84-server 8.4.13-1.el5_8, postgresql84-plpython 8.4.13-1.el5_8
    fixed: vendor fix RHSA-2012:1263
  • Red Hat Enterprise Linux 5 postgresql
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.06% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.0 AV:N/AC:L/Au:S/C:P/I:N/A:N

Classification

Weakness
  • CWE-611 Improper Restriction of XML External Entity Reference
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.