OSV-2018-284 Stack-buffer-overflow in pdf_lookup_cmap_full

Not scored Published

A stack buffer overflow in the PDF parsing library allows attackers to execute arbitrary code or cause a crash by providing a malicious PDF file.

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-2018-284?

OSV-2018-284 is a memory corruption vulnerability in mupdf, published on 15 Jan 2021.

Official description

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

Crash type: Stack-buffer-overflow WRITE 4
Crash state:
pdf_lookup_cmap_full
pdf_remap_cmap_range
pdf_remap_cmap

Which versions are affected by OSV-2018-284?

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

PackageAffectedFixed in
mupdf OSS-FuzzAll versionsNone

How do I fix OSV-2018-284?

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

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

Sources

Is OSV-2018-284 in your software?

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

Check your SBOMs for free