CVE-2021-30472 Memory corruption in podofo

High 7.8 Published Updated

A stack-based buffer overflow in PoDoFo allows attackers to execute arbitrary code or cause denial of service via crafted PDF files.

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
None listed

What is CVE-2021-30472?

CVE-2021-30472 is a high-severity memory corruption vulnerability in Podofo Project Podofo, published on 26 May 2021. 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

A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2021-30472?

It affects 1 product.

Products include Podofo Project Podofo.

How do I fix CVE-2021-30472?

No fix has been published for CVE-2021-30472 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2021-30472 being exploited?

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

All Podofo Project Podofo vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-30472, GHSA-4wq4-55w3-3f9f, UBUNTU-CVE-2021-30472.

Is CVE-2021-30472 in your software?

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

Check your SBOMs for free