CVE-2019-19648 Out-of-bounds read in YARA

High 7.8 Published Updated

A crafted MachO file triggers out-of-bounds memory access in YARA, causing application crashes or potential code execution.

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
Available

What is CVE-2019-19648?

CVE-2019-19648 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 9 Dec 2019. 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

In the macho_parse_file functionality in macho/macho.c of YARA 3.11.0, command_size may be inconsistent with the real size. A specially crafted MachO file can cause an out-of-bounds memory access, resulting in Denial of Service (application crash) or potential code execution.

Weakness: CWE-125

Which versions are affected by CVE-2019-19648?

It affects 2 products.

Products include Fedoraproject Fedora, Virustotal Yara.

How do I fix CVE-2019-19648?

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

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-19648, GHSA-7fcj-v5v7-gm5g, UBUNTU-CVE-2019-19648.

Is CVE-2019-19648 in your software?

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

Check your SBOMs for free