CVE-2026-20889: libraw Integer Overflow or Wraparound
Vulnerability summary
CVE-2026-20889 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in libraw. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 56% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 07-04-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.80%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
0.00 pp
From 0.80% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (talosintelligence.com)
Maturity: unknown
Exploit Reference (talosintelligence.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-120Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Affected systems
Ubuntu8 products
- darktableAll versions (No fix recorded)
- dcrawAll versions (No fix recorded)
- digikamAll versions (No fix recorded)
- exactimageAll versions (No fix recorded)
- kodiAll versions (No fix recorded)
Debian1 product
- libraw< 0.20.2-2.1+deb12u2 | < 0.21.4-2+deb13u1 | < 0.22.1-1
Libraw1 product
- librawCommit d20315b | 0.22.0
3 vendors · 10 products