CVE-2018-20797 Denial of service in n/a

Medium 6.5 Published Updated

An attacker can cause a denial of service via excessive memory allocation in the PoDoFo PDF library when processing crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-20797?

CVE-2018-20797 is a medium-severity denial of service vulnerability in Podofo Project Podofo, published on 27 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An issue was discovered in PoDoFo 0.9.6. There is an attempted excessive memory allocation in PoDoFo::podofo_calloc in base/PdfMemoryManagement.cpp when called from PoDoFo::PdfPredictorDecoder::PdfPredictorDecoder in base/PdfFiltersPrivate.cpp.

Weakness: CWE-119

Which versions are affected by CVE-2018-20797?

It affects 1 product.

Linux distribution packages (1)
podofo openSUSE:TumbleweedAll versions0.9.8-1.1

Products include Podofo Project Podofo.

How do I fix CVE-2018-20797?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-20797 being exploited?

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

All Podofo Project Podofo vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-20797, GHSA-f2r9-m844-g6h4, UBUNTU-CVE-2018-20797, openSUSE-SU-2024:12049-1.

Is CVE-2018-20797 in your software?

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

Check your SBOMs for free