# CVE-2012-0868

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2012-07-18 · Modified: 2024-08-06
- Record: https://cvemate.com/vulnerability/CVE-2012-0868 · JSON: https://cvemate.com/vulnerability/CVE-2012-0868/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:P/A:P
- EPSS: 2.645%, percentile 86.104%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- postgresql postgresql: 8.3 \| 8.3.1 \| 8.3.2 \| 8.3.3 \| 8.3.4 \| 8.3.5 \| 8.3.6 \| 8.3.7 \| 8.3.8 \| 8.3.9 \| 8.3.10 \| 8.3.11 \| 8.3.12 \| 8.3.13 \| 8.3.14 \| 8.3.15 \| 8.3.16 \| 8.3.17 \| 8.4 \| 8.4.1 \| 8.4.2 \| 8.4.3 \| 8.4.4 \| 8.4.5 \| 8.4.6 \| 8.4.7 \| 8.4.8 \| 8.4.9 \| 8.4.10 \| 9.0 \| 9.0.1 \| 9.0.2 \| 9.0.3 \| 9.0.4 \| 9.0.5 \| 9.0.6 \| 9.1 \| 9.1.1 \| 9.1.2

## References

- <http://www.postgresql.org/about/news/1377/>
- <http://www.mandriva.com/security/advisories?name=MDVSA-2012:027>
- <http://secunia.com/advisories/49273>
- <http://rhn.redhat.com/errata/RHSA-2012-0678.html>
- <http://www.mandriva.com/security/advisories?name=MDVSA-2012:026>
- <http://www.postgresql.org/docs/9.0/static/release-9-0-7.html>
- <http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705>
- <http://www.postgresql.org/docs/8.4/static/release-8-4-11.html>
- <http://www.debian.org/security/2012/dsa-2418>
- <http://www.postgresql.org/docs/8.3/static/release-8-3-18.html>
- <http://secunia.com/advisories/49272>
- <http://www.postgresql.org/docs/9.1/static/release-9-1-3.html>
- <http://rhn.redhat.com/errata/RHSA-2012-0677.html>
- <http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html>

---

Data as of 2026-12-05T04:57:34.957Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
