Description
There is an invalid memory access in the TextLine class in TextOutputDev.cc in Xpdf 4.0.4 because the text extractor mishandles characters at large y coordinates. It can be triggered by (for example) sending a crafted pdf file to the pdftotext binary, which allows a remote attacker to cause a Denial of Service (Segmentation fault) or possibly have unspecified other impact.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ipe | No fix yet | — |
| Ubuntu 26.04 LTS | ipe | No fix yet | — |
| Ubuntu 25.10 | ipe | No fix yet | — |
| Ubuntu 24.04 LTS | ipe | No fix yet | — |
| Ubuntu 22.04 LTS | ipe | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ipe | No fix yet | — |
| Ubuntu 18.04 LTS | ipe | No fix yet | — |
| Ubuntu 16.04 LTS | ipe | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | xpdf | 4.05-r0 | — |
| Alpine v3.23 | xpdf | 4.05-r0 | — |
| Alpine v3.22 | xpdf | 4.05-r0 | — |
| Alpine v3.21 | xpdf | 4.05-r0 | — |
| Alpine v3.20 | xpdf | 4.05-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | xpdf | 4.05-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
rishvic/xpdf-docker ★ 1 · Feb 9, 2023
Docker images of Xpdf 4.04, vulnerable to CVE-2022-30524
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2024-2211 xpdf: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Sep 24, 2024