{"id":"CVE-2012-0868","url":"https://www.cyber-defence.io/tools/cve/CVE-2012-0868","generatedAt":"2026-10-28T04:30:58.194Z","title":"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…","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.","published":"2012-07-18T23:55:02.000Z","lastModified":"2026-06-16T23:38:25.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","cvss":{"version":"2.0","score":6.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P"},"cwe":["CWE-89"],"affected":["postgresql/postgresql"],"epss":{"score":0.02653,"percentile":0.85575,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (2.65%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705","source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-0677.html","source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-0678.html","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/49272","source":"secalert@redhat.com"},{"url":"http://secunia.com/advisories/49273","source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2012/dsa-2418","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:026","source":"secalert@redhat.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:027","source":"secalert@redhat.com"},{"url":"http://www.postgresql.org/about/news/1377/","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.postgresql.org/docs/8.3/static/release-8-3-18.html","source":"secalert@redhat.com"},{"url":"http://www.postgresql.org/docs/8.4/static/release-8-4-11.html","source":"secalert@redhat.com"},{"url":"http://www.postgresql.org/docs/9.0/static/release-9-0-7.html","source":"secalert@redhat.com"},{"url":"http://www.postgresql.org/docs/9.1/static/release-9-1-3.html","source":"secalert@redhat.com"},{"url":"http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-0677.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-0678.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/49272","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/49273","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2012/dsa-2418","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:026","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:027","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.postgresql.org/about/news/1377/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.postgresql.org/docs/8.3/static/release-8-3-18.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.postgresql.org/docs/8.4/static/release-8-4-11.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.postgresql.org/docs/9.0/static/release-9-0-7.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.postgresql.org/docs/9.1/static/release-9-1-3.html","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-0868","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}