Skip to content
OpenAdvisories
Unscored Public exploit CVE-2022-30524 EUVD-2022-52384GHSA-cm35-4jxq-5m42

There is an invalid memory access in the TextLine class in TextOutputDev.cc in Xpdf 4.0.4 because the text extractor mishandles characters …

Published May 9, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ipe No fix yet —
Ubuntu 18.04 LTS ipe No fix yet —
Ubuntu 16.04 LTS ipe No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

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

References