CVE-2018-5766 Memory corruption in n/a

High 8.8 Published Updated

Remote attackers can cause a denial of service via segmentation fault by exploiting an invalid memcpy in Libav with a crafted AVI file.

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

CVE-2018-5766 is a high-severity memory corruption vulnerability in Libav Libav, published on 18 Jan 2018. 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

In Libav through 12.2, there is an invalid memcpy in the av_packet_ref function of libavcodec/avpacket.c. Remote attackers could leverage this vulnerability to cause a denial of service (segmentation fault) via a crafted avi file.

Weakness: CWE-119

Which versions are affected by CVE-2018-5766?

It affects 1 product.

Products include Libav Libav.

How do I fix CVE-2018-5766?

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-2018-5766 being exploited?

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

All Libav Libav vulnerabilities

Sources

Also known as GHSA-mhfv-c2x6-4jxx, UBUNTU-CVE-2018-5766.

Is CVE-2018-5766 in your software?

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

Check your SBOMs for free