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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://forum.xpdfreader.com/viewtopic.php?f=3&t=42261Exploit, Vendor Advisory
- https://forum.xpdfreader.com/viewtopic.php?f=3&t=42261Exploit, Vendor Advisory
Timeline
- Published
- May 9, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified