Xpdf · Xpdf · CVE-2022-30524
**Name of the Vulnerable Software and Affected Versions**
Xpdf version 4.0.4
**Description**
The issue is caused by an invalid memory access in the TextLine class in TextOutputDev.cc. This occurs because the text extractor mishandles characters at large y coordinates. It can be triggered by sending a crafted pdf file to the pdftotext binary, allowing a remote attacker to cause a Denial of Service (Segmentation fault) or possibly have unspecified other impact.
**Recommendations**
For Xpdf version 4.0.4, consider avoiding the use of the pdftotext binary with untrusted pdf files until a patch is available. As a temporary workaround, restrict access to the TextOutputDev.cc module to minimize the risk of exploitation.