Live threats

All CVEs / Postgresql

CVE-2009-4034Postgresql

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
2.1%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Dec 15, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-310
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:P

What happens

PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which (1) allows man-in-the-middle attackers to spoof arbitrary SSL-based PostgreSQL servers via a crafted server certificate issued by a legitimate Certification Authority, and (2) allows remote attackers to bypass intended client-hostname restrictions via a crafted client certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql7.4.1
postgresqlpostgresql7.4.2
postgresqlpostgresql7.4.3
postgresqlpostgresql7.4.4
postgresqlpostgresql7.4.5
postgresqlpostgresql7.4.6
postgresqlpostgresql7.4.7
postgresqlpostgresql7.4.8
postgresqlpostgresql7.4.9
postgresqlpostgresql7.4.10
postgresqlpostgresql7.4.11
postgresqlpostgresql7.4.12
postgresqlpostgresql7.4.13
postgresqlpostgresql7.4.14
postgresqlpostgresql7.4.15
postgresqlpostgresql7.4.16
postgresqlpostgresql7.4.17
postgresqlpostgresql7.4.18
postgresqlpostgresql7.4.19
postgresqlpostgresql7.4.20
postgresqlpostgresql7.4.21
postgresqlpostgresql7.4.22
postgresqlpostgresql7.4.23
postgresqlpostgresql7.4.24
postgresqlpostgresql7.4.25
postgresqlpostgresql7.4.26
postgresqlpostgresql8.0.0
postgresqlpostgresql8.0.1
postgresqlpostgresql8.0.2
postgresqlpostgresql8.0.3
postgresqlpostgresql8.0.4
postgresqlpostgresql8.0.5
postgresqlpostgresql8.0.6
postgresqlpostgresql8.0.7
postgresqlpostgresql8.0.8
postgresqlpostgresql8.0.9
postgresqlpostgresql8.0.10
postgresqlpostgresql8.0.11
postgresqlpostgresql8.0.12
postgresqlpostgresql8.0.13
postgresqlpostgresql8.0.14
postgresqlpostgresql8.0.15
postgresqlpostgresql8.0.16
postgresqlpostgresql8.0.17
postgresqlpostgresql8.0.18
postgresqlpostgresql8.0.19
postgresqlpostgresql8.0.20
postgresqlpostgresql8.0.21
postgresqlpostgresql8.0.22
postgresqlpostgresql8.1.0
postgresqlpostgresql8.1.1
postgresqlpostgresql8.1.2
postgresqlpostgresql8.1.3
postgresqlpostgresql8.1.4
postgresqlpostgresql8.1.5
postgresqlpostgresql8.1.6
postgresqlpostgresql8.1.7
postgresqlpostgresql8.1.8
postgresqlpostgresql8.1.9
postgresqlpostgresql8.1.10

and 32 more in the JSON

Official sources

References

Links published by the sources. Open them with care.