Live threats

All CVEs / Postgresql

CVE-2012-0868Postgresql

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jul 18, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

CRLF injection vulnerability in pg_dump in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 allows user-assisted remote attackers to execute arbitrary SQL commands via a crafted file containing object names with newlines, which are inserted into an SQL script that is used when the database is restored.

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
postgresqlpostgresql8.3
postgresqlpostgresql8.3.1
postgresqlpostgresql8.3.2
postgresqlpostgresql8.3.3
postgresqlpostgresql8.3.4
postgresqlpostgresql8.3.5
postgresqlpostgresql8.3.6
postgresqlpostgresql8.3.7
postgresqlpostgresql8.3.8
postgresqlpostgresql8.3.9
postgresqlpostgresql8.3.10
postgresqlpostgresql8.3.11
postgresqlpostgresql8.3.12
postgresqlpostgresql8.3.13
postgresqlpostgresql8.3.14
postgresqlpostgresql8.3.15
postgresqlpostgresql8.3.16
postgresqlpostgresql8.3.17
postgresqlpostgresql8.4
postgresqlpostgresql8.4.1
postgresqlpostgresql8.4.2
postgresqlpostgresql8.4.3
postgresqlpostgresql8.4.4
postgresqlpostgresql8.4.5
postgresqlpostgresql8.4.6
postgresqlpostgresql8.4.7
postgresqlpostgresql8.4.8
postgresqlpostgresql8.4.9
postgresqlpostgresql8.4.10
postgresqlpostgresql9.0
postgresqlpostgresql9.0.1
postgresqlpostgresql9.0.2
postgresqlpostgresql9.0.3
postgresqlpostgresql9.0.4
postgresqlpostgresql9.0.5
postgresqlpostgresql9.0.6
postgresqlpostgresql9.1
postgresqlpostgresql9.1.1
postgresqlpostgresql9.1.2

Official sources

References

Links published by the sources. Open them with care.