CVE-2012-0868

medium
Published 2012-07-18 · Modified 2026-04-29
CVSS v3
CVSS v2
6.8
VIR risk
6.8

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: secalert@redhat.com — http://www.postgresql.org/about/news/1377/

Application impact

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

References

CWEs

CWE-89

Verify integrity in audit chain (admin only). AS-IS.