CVE-2019-12958 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer over-read in Xpdf's Type1C font conversion allows attackers to cause denial of service or potentially execute code via malicious PDFs.

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-2019-12958?

CVE-2019-12958 is a medium-severity memory corruption vulnerability in Glyphandcog Xpdfreader, published on 24 Jun 2019. 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

In Xpdf 4.01.01, a heap-based buffer over-read could be triggered in FoFiType1C::convertToType0 in fofi/FoFiType1C.cc when it is trying to access the second privateDicts array element, because the privateDicts array has only one element allocated.

Weakness: CWE-125

Which versions are affected by CVE-2019-12958?

It affects 1 product.

Products include Glyphandcog Xpdfreader.

How do I fix CVE-2019-12958?

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-2019-12958 being exploited?

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

All Glyphandcog Xpdfreader vulnerabilities

Sources

Also known as GHSA-x6m5-g86w-pv2v, UBUNTU-CVE-2019-12958.

Is CVE-2019-12958 in your software?

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

Check your SBOMs for free