CVE-2017-6890 Memory corruption in LibRaw-demosaic-pack-GPL2

Critical 9.8 Published Updated

A stack-based buffer overflow in LibRaw allows attackers to execute arbitrary code or cause denial of service via crafted image files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-6890?

CVE-2017-6890 is a critical memory corruption vulnerability in LibRaw-demosaic-pack-GPL2, published on 15 May 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A boundary error within the "foveon_load_camf()" function (dcraw_foveon.c) when initializing a huffman table in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a stack-based buffer overflow.

Weakness: CWE-119

Which versions are affected by CVE-2017-6890?

It affects 1 product.

Products include Libraw Libraw-Demosaic-Pack-Gpl2.

How do I fix CVE-2017-6890?

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-2017-6890 being exploited?

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

Sources

Also known as GHSA-h3rm-p42x-h7h7.

Is CVE-2017-6890 in your software?

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

Check your SBOMs for free