Vulnerability · Published May 9, 2022 · Assigned by mitre
CVE-2022-30524
High 7.8
In plain English
A high-severity security flaw in the xpdf package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xpdf | 4.05-r0 | ALPINE-CVE-2022-30524 |
| Alpine:v3.21 | xpdf | 4.05-r0 | ALPINE-CVE-2022-30524 |
| Alpine:v3.22 | xpdf | 4.05-r0 | ALPINE-CVE-2022-30524 |
| Alpine:v3.23 | xpdf | 4.05-r0 | ALPINE-CVE-2022-30524 |
| Alpine:v3.24 | xpdf | 4.05-r0 | ALPINE-CVE-2022-30524 |
| Ubuntu:22.04:LTS | ipe | no fix listed | UBUNTU-CVE-2022-30524 |
| Ubuntu:24.04:LTS | ipe | no fix listed | UBUNTU-CVE-2022-30524 |
| Ubuntu:25.10 | ipe | no fix listed | UBUNTU-CVE-2022-30524 |
| Ubuntu:26.04:LTS | ipe | no fix listed | UBUNTU-CVE-2022-30524 |
| Ubuntu:26.10 | ipe | no fix listed | UBUNTU-CVE-2022-30524 |
Affected products (as reported)
References
- https://forum.xpdfreader.com/viewtopic.php?f=3&t=42261 x_refsource_MISC