CVE-2022-45587 Memory corruption in n/a

Medium 5.5 Published Updated

A stack overflow in the gmalloc function allows local attackers to cause a denial of service in the xpdf library.

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-45587?

CVE-2022-45587 is a medium-severity memory corruption vulnerability in Xpdfreader Xpdf, published on 15 Feb 2023. 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

Stack overflow vulnerability in function gmalloc in goo/gmem.cc in xpdf 4.04, allows local attackers to cause a denial of service.

Weakness: CWE-787

Which versions are affected by CVE-2022-45587?

It affects 1 product.

Products include Xpdfreader Xpdf.

How do I fix CVE-2022-45587?

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-45587 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45587 exists.

All Xpdfreader Xpdf vulnerabilities

Sources

Also known as GHSA-xg6w-qq7g-f5fh, UBUNTU-CVE-2022-45587.

Is CVE-2022-45587 in your software?

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

Check your SBOMs for free