Skip to main content
No exploitation reportedFix available

CVE-2012-2142

No exploitation reported by the sources we read.

  • Published2020-01-09

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2020-01-0921:15CVE publishedNVD

Versions per branch

NVD
Redhat enterprise linux
BranchAffectedFixed in
5.0= 5.0no fix published
6.0= 6.0no fix published
Freedesktop poppler
BranchAffectedFixed in
0.21< 0.21.40.21.4
Opensuse
BranchAffectedFixed in
12.2= 12.2no fix published

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • popplerDebian:14all versions · fixed in 0.18.4-7
  • popplerDebian:13all versions · fixed in 0.18.4-7
  • popplerDebian:12all versions · fixed in 0.18.4-7
  • xpdfMageia:3all versions · fixed in 3.03-4.1.mga3
  • xpdfMageia:2all versions · fixed in 3.03-2.1.mga2

Vendor advisories

  • CVE-2012-2142 Red Hat Product Security11 known affected

    xpdf: Insufficient sanitization of escape sequences in the error messages

    poppler.src as a component of Red Hat Enterprise Linux 5 · poppler as a component of Red Hat Enterprise Linux 6 · poppler-devel as a component of Red Hat Enterprise Linux 6 · +8 more

Full record on NVD

Fix

  1. No fix planned, says the vendor Red Hat Product Security CVE-2012-2142 · 11 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2020-01-09
Last modified
2026-06-16
NVD status
Modified
GitHub advisory
GHSA-pwcf-7grp-gwmj

Frequently asked questions

What is CVE-2012-2142?

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.

Is CVE-2012-2142 actively exploited?

Active exploitation of CVE-2012-2142 has not been confirmed. Its EPSS score was 2.9% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2012-2142?

CVE-2012-2142 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running xpdf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record