RHSA-2026:19345HighCVSS 7.5

Red Hat Security Advisory: LibRaw security update

Published
May 19, 2026
Last Modified
November 5, 2026

🔗 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 Enterprise Linux AppStream (v. 9)
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-0:0.21.1-2.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-0:0.21.1-2.el9_8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-0:0.21.1-2.el9_8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-0:0.21.1-2.el9_8.src as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-0:0.21.1-2.el9_8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debuginfo-0:0.21.1-2.el9_8.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-debugsource-0:0.21.1-2.el9_8.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-devel-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-devel-0:0.21.1-2.el9_8.ppc64le as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-devel-0:0.21.1-2.el9_8.x86_64 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • LibRaw-samples-debuginfo-0:0.21.1-2.el9_8.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-samples-debuginfo-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • LibRaw-samples-debuginfo-0:0.21.1-2.el9_8.i686 as a component of Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)
  • +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)