{"id":"CVE-2012-2142","aliases":["DEBIAN-CVE-2012-2142","EUVD-2012-2139","GHSA-pwcf-7grp-gwmj","MGASA-2013-0261"],"status":"published","title":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute...","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02942,"percentile":0.87214,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2013-08-26T19:54:06Z","modified":"2026-10-23T18:02:06Z","fixes":[{"ecosystem":"Debian:12","package":"poppler","fixed_in":["0.18.4-7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"poppler","fixed_in":["0.18.4-7"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"poppler","fixed_in":["0.18.4-7"],"sources":["osv"]},{"ecosystem":"Mageia:2","package":"xpdf","fixed_in":["3.03-2.1.mga2"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"xpdf","fixed_in":["3.03-4.1.mga3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.4-7"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.4-7"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"poppler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.4-7"}]}]},{"source":"osv","ecosystem":"Mageia:2","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.03-2.1.mga2"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"xpdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.03-4.1.mga3"}]}]}],"products":[{"vendor":"freedesktop","product":"poppler"},{"vendor":"opensuse","product":"opensuse"},{"vendor":"poppler","product":"poppler"},{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"xpdfreader","product":"xpdf"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2013/08/09/6","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","advisory","article","evidence"]},{"url":"http://www.openwall.com/lists/oss-security/2013/08/09/5","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","advisory","article","evidence"]},{"url":"http://cgit.freedesktop.org/poppler/poppler/commit/?id=71bad47ed6a36d825b0d08992c8db56845c71e40","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://cgit.freedesktop.org/poppler/poppler/commit/NEWS?id=2bc48d5369f1dbecfc4db2878f33bdeb80d8d90f","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=789936","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-08/msg00049.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Patch","Third Party Advisory","advisory","article","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2142"},{"url":"https://github.com/advisories/GHSA-pwcf-7grp-gwmj"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-2142","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2013-0261.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11061","tags":["report"]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security\u0026y=2013\u0026m=slackware-security.496284","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-2142","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","status":"published","published":"2020-01-09T20:42:47Z","modified":"2024-08-06T19:26:08.483Z","updated_at":"2026-11-02T14:34:49.937255Z"}],"euvd":[{"id":"EUVD-2012-2139","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","status":"published","published":"2020-01-09T20:42:47Z","modified":"2024-08-06T19:26:08Z","updated_at":"2026-11-03T01:56:15.412642Z"}],"ghsa":[{"id":"GHSA-pwcf-7grp-gwmj","title":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute...","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","status":"published","published":"2022-04-23T00:40:29Z","modified":"2023-01-27T05:01:55Z","updated_at":"2026-11-02T14:41:59.335185Z"}],"nvd":[{"id":"CVE-2012-2142","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","status":"published","published":"2020-01-09T21:15:10.967Z","modified":"2026-06-16T23:41:04.547Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:02:18.043773Z"}],"osv":[{"id":"CVE-2012-2142","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","status":"published","published":"2020-01-09T21:15:10Z","modified":"2026-04-16T06:25:38.529302225Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-2142","description":"The error function in Error.cc in poppler before 0.21.4 allows remote attackers to execute arbitrary commands via a PDF containing an escape sequence for a terminal emulator.","status":"published","published":"2020-01-09T21:15:10.967Z","modified":"2026-10-23T18:02:06.80339489Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"MGASA-2013-0261","title":"Updated xpdf packages fixes security vulnerability","description":"PDF files could be used to inject shell code when xpdf was run from some\nterminal emulators, due to the use of escape sequences in error messages\n(CVE-2012-2142).\n","status":"published","published":"2013-08-26T19:54:06Z","modified":"2026-04-16T06:25:29.187457968Z","updated_at":"2026-11-02T15:49:39.121227Z"}]}}
