OSV-2021-212 Heap-buffer-overflow in pdf_get_xref_entry

Not scored Published

A heap-buffer-overflow in the PDF parsing library allows attackers to cause crashes or potentially execute code via malicious PDF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
A user has to click or open something
Fix
None listed

What is OSV-2021-212?

OSV-2021-212 is a memory corruption vulnerability in mupdf, published on 20 Jan 2021.

Official description

OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29728

Crash type: Heap-buffer-overflow READ 4
Crash state:
pdf_get_xref_entry
pdf_cache_object
pdf_resolve_indirect

Which versions are affected by OSV-2021-212?

1 open source package ship an affected version, including mupdf.

PackageAffectedFixed in
mupdf OSS-FuzzAll versionsNone

How do I fix OSV-2021-212?

No fix has been published for OSV-2021-212 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 OSV-2021-212 being exploited?

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

Sources

Is OSV-2021-212 in your software?

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

Check your SBOMs for free