CVE-2026-24660 Memory corruption in LibRaw

High 8.1 Published Updated

A heap-based buffer overflow in LibRaw allows attackers to execute arbitrary code or cause denial of service via a malicious file.

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

What is CVE-2026-24660?

CVE-2026-24660 is a high-severity memory corruption vulnerability in Libraw Libraw, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A heap-based buffer overflow vulnerability exists in the x3f_load_huffman functionality of LibRaw Commit d20315b. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Weakness: CWE-120, CWE-190

Which versions are affected by CVE-2026-24660?

It affects 1 product.

Linux distribution packages (28)
LibRaw Red Hat:rhel_aus:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw-debugsource Red Hat:rhel_aus:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw-samples-debuginfo Red Hat:rhel_aus:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw Red Hat:rhel_aus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-debugsource Red Hat:rhel_aus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-samples-debuginfo Red Hat:rhel_aus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw Red Hat:rhel_e4s:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-debuginfo Red Hat:rhel_e4s:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-debugsource Red Hat:rhel_e4s:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-samples-debuginfo Red Hat:rhel_e4s:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw Red Hat:rhel_e4s:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw-debuginfo Red Hat:rhel_e4s:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw-debugsource Red Hat:rhel_e4s:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw-samples-debuginfo Red Hat:rhel_e4s:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw Red Hat:rhel_eus_long_life:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw-debuginfo Red Hat:rhel_eus_long_life:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw-debugsource Red Hat:rhel_eus_long_life:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw-samples-debuginfo Red Hat:rhel_eus_long_life:8.4::appstreamAll versions0:0.19.5-2.el8_4.2
LibRaw Red Hat:rhel_tus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-debuginfo Red Hat:rhel_tus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-debugsource Red Hat:rhel_tus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw-samples-debuginfo Red Hat:rhel_tus:8.6::appstreamAll versions0:0.19.5-3.el8_6.2
LibRaw Red Hat:rhel_tus:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw-debuginfo Red Hat:rhel_tus:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw-debugsource Red Hat:rhel_tus:8.8::appstreamAll versions0:0.19.5-3.el8_8.2
LibRaw-samples-debuginfo Red Hat:rhel_tus:8.8::appstreamAll versions0:0.19.5-3.el8_8.2

Products include Libraw Libraw.

How do I fix CVE-2026-24660?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-24660 being exploited?

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

All Libraw Libraw vulnerabilities

Sources

Also known as CLSA-2026-1783348552, DEBIAN-CVE-2026-24660, ECHO-0fd5-793c-3eaa, GHSA-6mmg-qj2r-7jcf, RHSA-2026:15924, RHSA-2026:15925 and 2 more.

Is CVE-2026-24660 in your software?

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

Check your SBOMs for free