Servers and applications
CVE-2009-4034
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…
- Severity
- Medium 5.8
- Published
- 15 Dec 2009
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 16 Oct 2026
- Exploit chance
- 2.1% in the next 30 daysHigher than 82% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- CWE-310
- Attack
- Over the network · No login needed
- Attacker can
- Change some data · Slow it down
- CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:P- Sources
- NVD
Description
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.
Affected software
| Software | Affected versions |
|---|---|
PostgreSQLServers and applications · cpe:a:postgresql:postgresql |
All 92 release lines
|