Integer overflow in LibRaw
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 9 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Red Hat 4 advisories
- RHSA-2026:14673 Released 2026-05-07 · Red Hat rating ImportantLibRaw security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) LibRaw-0.19.5-3.el8_8.1
- Red Hat Enterprise Linux AppStream TUS (v.8.8) LibRaw-0.19.5-3.el8_8.1
- RHSA-2026:14655 Released 2026-05-07 · Red Hat rating ImportantLibRaw security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) LibRaw-0.19.5-3.el8_6.1
- Red Hat Enterprise Linux AppStream E4S (v.8.6) LibRaw-0.19.5-3.el8_6.1
- Red Hat Enterprise Linux AppStream TUS (v.8.6) LibRaw-0.19.5-3.el8_6.1
- RHSA-2026:14224 Released 2026-05-06 · Red Hat rating ImportantLibRaw security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) LibRaw-0.19.5-2.el8_4.1
- Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) LibRaw-0.19.5-2.el8_4.1
Show 1 more Red Hat advisories
- RHSA-2026:13284 Released 2026-05-04 · Red Hat rating ImportantLibRaw security update
- Red Hat Enterprise Linux AppStream (v. 8) LibRaw-0.19.5-6.el8_10
- Red Hat Enterprise Linux CRB (v. 8) LibRaw-devel-0.19.5-6.el8_10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:13284 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2026:14224 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2026:14655 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2026:14655 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2026:14673 |
| Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | Fixed | RHSA-2026:14224 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2026:14655 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2026:14673 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:13284 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-20889
- 2026-10-03 Alias added: GHSA-9m8r-gj3p-r7rw
References
More Libraw vulnerabilities
- TI-2026-04674 LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds CVSS 4.0MEDIUM 6.9
- TI-2020-14361 Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp. CVSS 3.1MEDIUM 6.5
- TI-2026-04650 LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write CVSS 4.0MEDIUM 5.3
- TI-2015-06888 The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory… CVSS 3.1CRITICAL 9.8
- TI-2026-16934 A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality… CVSS 3.1CRITICAL 9.8
- TI-2015-06887 Array index error in smal_decode_segment function in LibRaw before 0.17.1 allows… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-20889 · CVE Program
- CVE-2026-20889 · NVD
- FIRST EPSS
- GHSA-9m8r-gj3p-r7rw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-20889 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences