Skip to content
Fencer Intel
medium 4.3

CVE-2012-0867 json

PostgreSQL 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 truncates the common name to only 32 characters when verifying S…

published 2012-07-18 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0892

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

Summary

PostgreSQL 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 truncates the common name to only 32 characters when verifying SSL certificates, which allows remote attackers to spoof connections when the host name is exactly 32 characters.

Patch / fix

  • postgresql RHEL 6 8.4.11-1.el6_2
  • postgresql84 RHEL 5 8.4.11-1.el5_8
  • postgresql-libs RHEL 6 8.4.11-1.el6_2
  • postgresql-test RHEL 6 8.4.11-1.el6_2
  • postgresql-pltcl RHEL 6 8.4.11-1.el6_2
  • postgresql84-tcl RHEL 5 8.4.11-1.el5_8
  • postgresql-plperl RHEL 6 8.4.11-1.el6_2
  • postgresql-server RHEL 6 8.4.11-1.el6_2

red hat advisories RHSA-2012:0678

  • 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-0867 updated cvss 3.6

postgresql: MITM due improper x509_v3 CN validation during certificate verification

  • Red Hat Enterprise Linux 4 postgresql
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux (v. 5 server) postgresql84 8.4.11-1.el5_8, postgresql84-tcl 8.4.11-1.el5_8, postgresql84-libs 8.4.11-1.el5_8, postgresql84-test 8.4.11-1.el5_8, postgresql84-pltcl 8.4.11-1.el5_8, postgresql84-plperl 8.4.11-1.el5_8, +4 more Red Hat Enterprise Linux Desktop (v. 5 client) postgresql84 8.4.11-1.el5_8, postgresql84-tcl 8.4.11-1.el5_8, postgresql84-libs 8.4.11-1.el5_8, postgresql84-python 8.4.11-1.el5_8, postgresql84-contrib 8.4.11-1.el5_8 Red Hat Enterprise Linux Desktop (v. 6) postgresql 8.4.11-1.el6_2, postgresql-libs 8.4.11-1.el6_2 Red Hat Enterprise Linux Desktop Optional (v. 6) postgresql 8.4.11-1.el6_2, postgresql-test 8.4.11-1.el6_2, postgresql-pltcl 8.4.11-1.el6_2, postgresql-plperl 8.4.11-1.el6_2, postgresql-server 8.4.11-1.el6_2, postgresql-contrib 8.4.11-1.el6_2, +1 more Red Hat Enterprise Linux HPC Node (v. 6) postgresql 8.4.11-1.el6_2, postgresql-libs 8.4.11-1.el6_2 Red Hat Enterprise Linux HPC Node Optional (v. 6) postgresql 8.4.11-1.el6_2, postgresql-test 8.4.11-1.el6_2, postgresql-pltcl 8.4.11-1.el6_2, postgresql-plperl 8.4.11-1.el6_2, postgresql-server 8.4.11-1.el6_2, postgresql-contrib 8.4.11-1.el6_2, +1 more
    +3 more products
    Red Hat Enterprise Linux Server (v. 6) postgresql 8.4.11-1.el6_2, postgresql-libs 8.4.11-1.el6_2, postgresql-test 8.4.11-1.el6_2, postgresql-pltcl 8.4.11-1.el6_2, postgresql-plperl 8.4.11-1.el6_2, postgresql-server 8.4.11-1.el6_2, +2 more Red Hat Enterprise Linux Workstation (v. 6) postgresql 8.4.11-1.el6_2, postgresql-libs 8.4.11-1.el6_2, postgresql-test 8.4.11-1.el6_2, postgresql-pltcl 8.4.11-1.el6_2, postgresql-plperl 8.4.11-1.el6_2, postgresql-server 8.4.11-1.el6_2, +2 more Red Hat RHEL Desktop Workstation (v. 5 client) postgresql84 8.4.11-1.el5_8, postgresql84-test 8.4.11-1.el5_8, postgresql84-pltcl 8.4.11-1.el5_8, postgresql84-plperl 8.4.11-1.el5_8, postgresql84-server 8.4.11-1.el5_8, postgresql84-plpython 8.4.11-1.el5_8
    fixed: vendor fix RHSA-2012:0678
  • 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

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

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-20 Improper Input Validation
  • CWE-295 Improper Certificate Validation
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.