CVE-2026-20889 Details
Description
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.
A heap-based buffer overflow vulnerability has been identified in the LibRaw library, specifically in the X3F thumbnail loading functionality of commit d20315b. This vulnerability arises because the size calculation for thumbnail buffers uses 32-bit arithmetic, which can be manipulated to overflow when processing dimension values controlled by an attacker. As a result, a specially crafted malicious file can lead to a heap buffer overflow, potentially allowing for heap corruption and arbitrary code execution.
LibRaw has released a patch for this vulnerability. Users should update to the latest version available on the LibRaw GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:13284 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:14224 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:14655 | redhat-SADP | |
| https://access.redhat.com/errata/RHSA-2026:14673 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-20889 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2455942 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20889.json | redhat-SADP | |
| https://www.talosintelligence.com/vulnerability_reports/TALOS-2026-2358 | CVE | ExploitThird Party Advisory |
| https://talosintelligence.com/vulnerability_reports/TALOS-2026-2358 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | redhat-SADP |
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libraw libraw | 0.22.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 10, 2026 | Initial Analysis | [email protected] |
| Apr 7, 2026 | CVE Modified | CVE |
| Apr 7, 2026 | New CVE Received | [email protected] |