# CVE-2026-20889: libraw: A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader functionality of LibRaw Commit d20315b

CVE-2026-20889 is fixed in 15 products on 1 platform, first by libraw-bin 0.20.2-2ubuntu2.22.04.3, released April 7, 2026. It is not reported as exploited. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2026-20889
- Priority: Urgent
- CVSS: 9.8 (critical)
- EPSS: 0.0084
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 7, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | LibRaw RHEL 8 | 0:0.19.5-6.el8_10 | [RHSA-2026:13284](https://patchblox.com/security/data/fix/linux/rhsa-2026-13284.md) | May 15, 2026 |
| Linux | LibRaw almalinux 8 | 0.19.5-6.el8_10 | [ALSA-2026:13284](https://patchblox.com/security/data/fix/linux/alsa-2026-13284.md) | May 4, 2026 |
| Linux | LibRaw ol 8 | 0:0.19.5-6.el8_10 | [ELSA-2026-13284](https://patchblox.com/security/data/fix/linux/elsa-2026-13284.md) | May 5, 2026 |
| Linux | LibRaw rocky 8 | 0:0.19.5-6.el8_10 | [RLSA-2026:13284](https://patchblox.com/security/data/fix/linux/rlsa-2026-13284.md) | May 6, 2026 |
| Linux | LibRaw-devel RHEL 8 | 0:0.19.5-6.el8_10 | [RHSA-2026:13284](https://patchblox.com/security/data/fix/linux/rhsa-2026-13284.md) | May 15, 2026 |
| Linux | LibRaw-devel almalinux 8 | 0.19.5-6.el8_10 | [ALSA-2026:13284](https://patchblox.com/security/data/fix/linux/alsa-2026-13284.md) | May 4, 2026 |
| Linux | LibRaw-devel ol 8 | 0:0.19.5-6.el8_10 | [ELSA-2026-13284](https://patchblox.com/security/data/fix/linux/elsa-2026-13284.md) | May 5, 2026 |
| Linux | libraw Debian 12.15 (bookworm) | 0.20.2-2.1+deb12u2 | [DEBIAN-CVE-2026-20889](https://patchblox.com/security/data/fix/linux/debian-cve-2026-20889.md) | Apr 7, 2026 |
| Linux | libraw Debian 13.5 (trixie) | 0.21.4-2+deb13u1 | [DEBIAN-CVE-2026-20889](https://patchblox.com/security/data/fix/linux/debian-cve-2026-20889.md) | Apr 7, 2026 |
| Linux | libraw Debian 14 | 0.22.1-1 | [DEBIAN-CVE-2026-20889](https://patchblox.com/security/data/fix/linux/debian-cve-2026-20889.md) | Apr 7, 2026 |
| Linux | libraw opensuse-leap 16.0 | 0.21.4-160000.3.1 | [OPENSUSE-SU-2026:20574-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-20574-1.md) | Apr 20, 2026 |
| Linux | libraw sles 15.6 | 0.21.1-150600.3.10.1 | [SUSE-SU-2026:1555-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-1555-1.md) | Apr 22, 2026 |
| Linux | libraw sles 15.7 | 0.21.1-150600.3.10.1 | [SUSE-SU-2026:1555-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-1555-1.md) | Apr 22, 2026 |
| Linux | libraw-bin Ubuntu 22.04.1 LTS (jammy) | 0.20.2-2ubuntu2.22.04.3 | [libraw-bin 0.20.2-2ubuntu2.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libraw-bin-0.20.2-2ubuntu2.22.04.3.md) | Apr 7, 2026 |
| Linux | libraw-bin Ubuntu 24.04.5 LTS (noble) | 0.21.2-2.1ubuntu0.24.04.2 | [libraw-bin 0.21.2-2.1ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libraw-bin-0.21.2-2.1ubuntu0.24.04.2.md) | Apr 7, 2026 |
| Linux | libraw-bin Ubuntu 26.04.1 LTS (resolute) | 0.21.5b-1ubuntu1.1 | [libraw-bin 0.21.5b-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libraw-bin-0.21.5b-1ubuntu1.1.md) | Apr 7, 2026 |
| Linux | libraw20 Ubuntu 22.04.1 LTS (jammy) | 0.20.2-2ubuntu2.22.04.3 | [libraw20 0.20.2-2ubuntu2.22.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libraw20-0.20.2-2ubuntu2.22.04.3.md) | Apr 7, 2026 |
| Linux | libraw23t64 Ubuntu 24.04.5 LTS (noble) | 0.21.2-2.1ubuntu0.24.04.2 | [libraw23t64 0.21.2-2.1ubuntu0.24.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libraw23t64-0.21.2-2.1ubuntu0.24.04.2.md) | Apr 7, 2026 |
| Linux | libraw23t64 Ubuntu 26.04.1 LTS (resolute) | 0.21.5b-1ubuntu1.1 | [libraw23t64 0.21.5b-1ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libraw23t64-0.21.5b-1ubuntu1.1.md) | Apr 7, 2026 |
| Linux | mingw-LibRaw Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw32-LibRaw Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw32-LibRaw-debuginfo Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw32-LibRaw-static Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw32-LibRaw-tools Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw64-LibRaw Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw64-LibRaw-debuginfo Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw64-LibRaw-static Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |
| Linux | mingw64-LibRaw-tools Fedora 43 | 0.21.5-3.fc43 | [FEDORA-2026-635A001215](https://patchblox.com/security/data/fix/linux/fedora-2026-635a001215.md) | Apr 9, 2026 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
