CVE-2022-30524 Memory corruption in n/a

High 7.8 Published Updated

A remote attacker can cause a denial of service via segmentation fault by sending a crafted PDF file to the pdftotext binary in Xpdf.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-30524?

CVE-2022-30524 is a high-severity memory corruption vulnerability in Xpdfreader Xpdf, published on 9 May 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-787

Which versions are affected by CVE-2022-30524?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2022-30524?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2022-30524 being exploited?

There is no known exploitation of CVE-2022-30524 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as CVE-2023-26931, GHSA-cm35-4jxq-5m42, UBUNTU-CVE-2022-30524.

Is CVE-2022-30524 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free