CVE-2022-36561
Medium · 5.5CVSS
5.5
EPSS
0.3%
Published
Aug 30, 2022
CISA due date
—
Cloudanix analysis
A flaw in a common PDF reader can make the program crash when someone opens a specially made PDF file, interrupting work until the program is restarted.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- No Fix Yet
- Effort
- Other
- Patch risk
- Other
What it actually does
The vulnerability triggers a segmentation violation during AcroForm structure parsing at AcroForm.cc:538, causing invalid memory access and application crash when processing a crafted PDF.
Why it matters to the business
Attackers can force denial of service against users or automated workflows that rely on XPDF to open PDF documents, interrupting document review or processing tasks.
How an attack unfolds
An attacker prepares a PDF embedding a malformed AcroForm that triggers the crash condition; the file is delivered to the victim who opens it locally with XPDF, resulting in immediate segmentation fault and application termination.
How to fix it
Upgrade XPDF to the latest available version once a fix is released; in the interim replace XPDF with an alternative PDF viewer or sandbox PDF processing.
How to confirm the fix worked
Reproduce the issue with proof-of-concept PDFs that exercise AcroForm parsing; confirm absence of crash after applying updates and review changelog entries for AcroForm.cc modifications.
Typical attack path
- Create malicious PDF containing malformed AcroForm data
- Deliver the PDF to the target via email attachment or web download
- Victim opens the PDF using XPDF on a local system
- AcroForm parsing code dereferences invalid memory and crashes
How to detect it
Review system and application logs for segmentation fault entries occurring immediately after PDF file access; correlate crash timestamps with XPDF process execution on systems where the reader is installed.
What your security team should do
- Replace XPDF with a maintained PDF viewer in all environments
- Block or sandbox untrusted PDFs before they reach end-user systems
- Monitor vendor announcements for an official patch and apply immediately
The record
XPDF v4.0.4 was discovered to contain a segmentation violation via the component /xpdf/AcroForm.cc:538.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Mageia:9 | xpdf | 0 | 4.05-1.mga9 |
| Ubuntu:16.04:LTS | emscripten | 0 | No fix |
| Ubuntu:16.04:LTS | ipe | 0 | No fix |
| Ubuntu:16.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:16.04:LTS | xpdf | 0 | No fix |
| Ubuntu:18.04:LTS | emscripten | 0 | No fix |
| Ubuntu:18.04:LTS | ipe | 0 | No fix |
| Ubuntu:18.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:20.04:LTS | ipe | 0 | No fix |
| Ubuntu:20.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:22.04:LTS | emscripten | 0 | No fix |
| Ubuntu:22.04:LTS | ipe | 0 | No fix |
| Ubuntu:22.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:24.04:LTS | emscripten | 0 | No fix |
| Ubuntu:24.04:LTS | ipe | 0 | No fix |
| Ubuntu:24.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:24.10 | emscripten | 0 | No fix |
| Ubuntu:24.10 | ipe | 0 | No fix |
| Ubuntu:24.10 | texlive-bin | 0 | No fix |
| Ubuntu:25.04 | emscripten | 0 | No fix |
| Ubuntu:25.04 | ipe | 0 | No fix |
| Ubuntu:25.04 | texlive-bin | 0 | No fix |
| Ubuntu:25.10 | emscripten | 0 | No fix |
| Ubuntu:25.10 | ipe | 0 | No fix |
| Ubuntu:25.10 | texlive-bin | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | emscripten | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | ipe | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | xpdf | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | emscripten | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | ipe | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | texlive-bin | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | ipe | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | texlive-bin | 0 | No fix |
Related vulnerabilities
- CVE-2023-3436 Xpdf 4.04 will deadlock on a PDF object stream whose "Length" field is itself in another… Also affects xpdf
- CVE-2023-3044 An excessively large PDF page size (found in fuzz testing, unlikely in normal PDF files)… Also affects xpdf
- CVE-2023-2664 In Xpdf 4.04 (and earlier), a PDF object loop in the embedded file tree leads to infinite… Also affects xpdf
- CVE-2023-2663 In Xpdf 4.04 (and earlier), a PDF object loop in the page label tree leads to infinite… Also affects xpdf
- CVE-2023-2662 In Xpdf 4.04 (and earlier), a bad color space object in the input PDF file can cause a… Also affects xpdf
- CVE-2022-45587 Stack overflow vulnerability in function gmalloc in goo/gmem.cc in xpdf 4.04, allows… Also affects xpdf
- CVE-2022-45586 Stack overflow vulnerability in function Dict::find in xpdf/Dict.cc in xpdf 4.04, allows… Also affects xpdf
- CVE-2022-43071 A stack overflow in the Catalog::readPageLabelTree2(Object*) function of XPDF v4.04… Also affects xpdf