CVE-2019-8905 Memory corruption in n/a

Medium 4.4 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
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-8905?

CVE-2019-8905 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 18 Feb 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

do_core_note in readelf.c in libmagic.a in file 5.35 has a stack-based buffer over-read, related to file_printable, a different vulnerability than CVE-2018-10360.

Weakness: CWE-125

Which versions are affected by CVE-2019-8905?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, File Project File, Opensuse Leap.

How do I fix CVE-2019-8905?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-8905, CLEANSTART-2023-XP88498, DEBIAN-CVE-2019-8905, GHSA-ffw4-28vr-p4x2, UBUNTU-CVE-2019-8905.

Is CVE-2019-8905 in your software?

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

Check your SBOMs for free