Heap-based buffer overflow in LibRaw - CVE-2026-20889
Published: April 8, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the x3f_thumb_loader functionality. A remote attacker can pass specially crafted file, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Anolis OS
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
LibRaw (Red Hat package)
mingw-LibRaw
LibRaw
LibRaw-devel
LibRaw-samples
LibRaw-static
LibRaw-doc
How to mitigate CVE-2026-20889
mingw-LibRaw - addressed in versions 0.21.5-2.fc42, 0.21.5-2.fc43, 0.21.5-3.fc42, 0.21.5-3.fc43
LibRaw - update to 0.22.1-2
LibRaw-devel - update to 0.22.1-2
LibRaw-samples - update to 0.22.1-2
LibRaw-static - update to 0.22.1-2
LibRaw-doc - update to 0.22.1-2
External References
Related Security Bulletins
- Multiple vulnerabilities in LibRaw
- Fedora 42 update for mingw-LibRaw
- Fedora 43 update for mingw-LibRaw
- Fedora 42 update for mingw-LibRaw
- Fedora 43 update for mingw-LibRaw
- Anolis OS update for LibRaw
- Red Hat Enterprise Linux 8 update for LibRaw
- Red Hat Enterprise Linux 8 update for LibRaw
- Red Hat Enterprise Linux 8 update for LibRaw
- Red Hat Enterprise Linux 8 update for LibRaw