cve.bz

CVE-2026-24450 libraw libraw: Year 2038 problem, Y2K38, Y2038, Epochalypse

9.8 criticalExploit referenceEPSS 0.6%

Critical (9.8) in libraw libraw. EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
An integer overflow vulnerability exists in the uncompressed_fp_dng_load_raw functionality of LibRaw Commit 8dc68e2. A specially crafted malicious file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-04-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-24450 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-24450?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-24450?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-24450 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libraw:libraw0.22.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13libraw0.21.4-2+deb13u1DEBIAN-CVE-2026-24450
Debian14libraw0.22.1-1DEBIAN-CVE-2026-24450
Ubuntu16.04:LTS, 18.04:LTSkodi, dcraw, ufraw and 3 moreno fix listedUBUNTU-CVE-2026-24450
Ubuntu20.04:LTS, 22.04:LTSkodi, dcraw, darktable and 2 moreno fix listedUBUNTU-CVE-2026-24450
Ubuntu22.04:LTSlibraw0.20.2-2ubuntu2.22.04.3USN-8522-1
Ubuntu24.04:LTSlibraw0.21.2-2.1ubuntu0.24.04.2UBUNTU-CVE-2026-24450 USN-8522-1
Ubuntu24.04:LTS, 26.04:LTS, 26.10kodi, dcraw, digikam and 3 moreno fix listedUBUNTU-CVE-2026-24450
Ubuntu25.10kodi, dcraw, libraw and 4 moreno fix listedUBUNTU-CVE-2026-24450
Ubuntu26.04:LTSlibraw0.21.5b-1ubuntu1.1UBUNTU-CVE-2026-24450 USN-8522-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 moredigikamno fix listedUBUNTU-CVE-2026-24450
Red Hatenterprise_linux:9::appstreamLibRaw, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_7RHSA-2026:11360
Red Hatenterprise_linux:9::appstreamLibRaw, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_8RHSA-2026:19345
Red Hatenterprise_linux:9::crbLibRaw-devel, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_7RHSA-2026:11360
Red Hatenterprise_linux:9::crbLibRaw-devel, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_8RHSA-2026:19345
Red Hatrhel_eus:9.4::appstreamLibRaw, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_4RHSA-2026:13870
Red Hatrhel_eus:9.4::crbLibRaw-devel, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_4RHSA-2026:13870
Red Hatrhel_eus:9.6::appstreamLibRaw, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_6RHSA-2026:13854
Red Hatrhel_eus:9.6::crbLibRaw-devel, LibRaw-debuginfo, LibRaw-debugsource and 1 more0:0.21.1-2.el9_6RHSA-2026:13854
SUSELinux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 2 morelibraw0.21.1-150600.3.10.1SUSE-SU-2026:1555-1
openSUSELeap 16.0libraw0.21.4-160000.3.1openSUSE-SU-2026:20574-1
openSUSETumbleweedlibraw0.22.1-1.1openSUSE-SU-2026:10565-1
AlmaLinux9LibRaw, LibRaw-devel0.21.1-2.el9_7ALSA-2026:11360
AlmaLinux9LibRaw, LibRaw-devel0.21.1-2.el9_8ALSA-2026:19345
Rocky Linux9LibRaw0:0.21.1-2.el9_7RLSA-2026:11360 RLSA-2026:19345
Alpinev3.24libraw0.22.2-r0ALPINE-CVE-2026-24450
Azure Linux3LibRawno fix listedAZL-82946

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw in the LibRaw library consists in an integer overflow in the `uncompressed_fp_dng_load_raw` function, a successfully performed attack may lead to a heap buffer overflow and potentially arbitrary code execution or denial of service. The vulnerability stems from the usage of a 32-bit arithmetic to calculate the pixel buffers when decoding the raw image file, which may end up overflowing when processing user controlled images as input. The calculation result is further used within 64-bit boundary checking however the proper cast is missing and the result value is used to allocate the buffer from memory, when the overflow happens the function may start writing outside of the expected memory boundary leading to data corruption.

This vulnerability is not exploitable when the application consuming LibRaw is using the default memory limit (`max_raw_memory_mb` parameter) to unpack the RAW image. To be considered vulnerable the application should be setting the limit to around or greater then 16GB.

Red Hat Product Security has rated this vulnerability as having a Moderate impact, despite the possibility of arbitrary code execution due to the heap-based buffer overflow, as the user needs to be tricked to process a maliciously crafted image or LibRaw needs to be exposed to the network and accepting untrusted data as input. Additionally the default `max_raw_memory_mb` value set with LibRaw is not enough to trigger the vulnerability.

Red Hat's mitigation

This vulnerability can be mitigated by limiting the amount of memory used to unpack untrusted RAW images. This needs to be set in the application using the LibRaw and can be achieved by setting the `max_raw_memory_mb` to a value smaller than 16GB.

This parameter can't be changed in runtime in the library, so developers needs to patch and rebuild their application to impose the new limit. It's important to notice the fact when reducing the memory limit for the decoding process may render the library unable to handle big images.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9LibRaw-0:0.21.1-2.el9_7Fixed 2026-04-28RHSA-2026:11360
Red Hat Enterprise Linux 9LibRaw-0:0.21.1-2.el9_8Fixed 2026-05-19RHSA-2026:19345
Red Hat Enterprise Linux 9.4 Extended Update SupportLibRaw-0:0.21.1-2.el9_4Fixed 2026-05-05RHSA-2026:13870
Red Hat Enterprise Linux 9.6 Extended Update SupportLibRaw-0:0.21.1-2.el9_6Fixed 2026-05-05RHSA-2026:13854
Red Hat Enterprise Linux 7LibRawOut of support scope
Red Hat Enterprise Linux 8LibRawWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-24450.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON