All reports
Medium

postgresql: SQL injection due unsanitized newline characters in object names

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2012-0868

Probability of exploitation in the next 30 days: 2.65%

FIRST EPSS · 2026-11-22

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.