Red Hat Security Advisory: LibRaw security update
🔗 CVE IDs covered (2)
📋 Description
CVE-2026-21413 — LibRaw: LibRaw: Arbitrary code execution via heap-based buffer overflow in lossless JPEG loading CVE-2026-24450 — LibRaw: LibRaw: Arbitrary code execution via a specially crafted malicious file
🎯 Affected products35
- Red Hat CodeReady Linux Builder EUS (v.9.4)
- Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-0:0.21.1-2.el9_4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-0:0.21.1-2.el9_4.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-0:0.21.1-2.el9_4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-0:0.21.1-2.el9_4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-0:0.21.1-2.el9_4.src as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-0:0.21.1-2.el9_4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-debuginfo-0:0.21.1-2.el9_4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-debugsource-0:0.21.1-2.el9_4.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-devel-0:0.21.1-2.el9_4.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-devel-0:0.21.1-2.el9_4.ppc64le as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-devel-0:0.21.1-2.el9_4.x86_64 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-samples-debuginfo-0:0.21.1-2.el9_4.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- LibRaw-samples-debuginfo-0:0.21.1-2.el9_4.i686 as a component of Red Hat CodeReady Linux Builder EUS (v.9.4)
- LibRaw-samples-debuginfo-0:0.21.1-2.el9_4.i686 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.4)
- +5 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: 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.
🔗 References (5)
- selfhttps://access.redhat.com/errata/RHSA-2026:13870
- externalhttps://access.redhat.com/security/updates/classification/#important
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2455925
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2455929
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_13870.json