CVE-2019-8904 Memory corruption in n/a

High 8.8 Published Updated

A stack-based buffer over-read in libmagic allows attackers to cause denial of service or disclose sensitive memory contents via 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-2019-8904?

CVE-2019-8904 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 18 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

do_bid_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printf and file_vprintf.

Weakness: CWE-125

Which versions are affected by CVE-2019-8904?

It affects 2 products.

Products include Canonical Ubuntu Linux, File Project File.

How do I fix CVE-2019-8904?

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-8904 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-8904, CLEANSTART-2023-CA86260, DEBIAN-CVE-2019-8904, GHSA-4h69-pc3c-cm6j.

Is CVE-2019-8904 in your software?

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

Check your SBOMs for free