CVSS 4.0
5.5 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PMedium (5.5) in libraw libraw. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:PCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExplain CVE-2026-5342 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-5342?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-5342?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-5342 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libraw:libraw | before 0.22.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | libraw | 0.20.2-1+deb11u3 | DLA-4704-1 |
| Debian | 12 | libraw | 0.20.2-2.1+deb12u2 | DEBIAN-CVE-2026-5342 DLA-4704-1 |
| Debian | 13 | libraw | 0.21.4-2+deb13u1 | DEBIAN-CVE-2026-5342 |
| Debian | 14 | libraw | 0.22.1-1 | DEBIAN-CVE-2026-5342 |
| Ubuntu | 16.04:LTS, 18.04:LTS | kodi, dcraw, ufraw and 3 more | no fix listed | UBUNTU-CVE-2026-5342 |
| Ubuntu | 20.04:LTS, 22.04:LTS | kodi, dcraw, darktable and 2 more | no fix listed | UBUNTU-CVE-2026-5342 |
| Ubuntu | 22.04:LTS | libraw | 0.20.2-2ubuntu2.22.04.3 | UBUNTU-CVE-2026-5342 USN-8522-1 |
| Ubuntu | 24.04:LTS | libraw | 0.21.2-2.1ubuntu0.24.04.2 | UBUNTU-CVE-2026-5342 USN-8522-1 |
| Ubuntu | 24.04:LTS, 26.04:LTS, 26.10 | kodi, dcraw, digikam and 3 more | no fix listed | UBUNTU-CVE-2026-5342 |
| Ubuntu | 25.10 | kodi, dcraw, libraw and 4 more | no fix listed | UBUNTU-CVE-2026-5342 |
| Ubuntu | 26.04:LTS | libraw | 0.21.5b-1ubuntu1.1 | UBUNTU-CVE-2026-5342 USN-8522-1 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 1 more | digikam | no fix listed | UBUNTU-CVE-2026-5342 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 more | libraw | 0.20.2-150400.3.21.1 | SUSE-SU-2026:1556-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP7, Linux Enterprise Module for Package Hub 15 SP7, Linux Enterprise Server 15 SP6-LTSS and 2 more | libraw | 0.21.1-150600.3.10.1 | SUSE-SU-2026:1555-1 |
| openSUSE | Leap 16.0 | libraw | 0.21.4-160000.3.1 | openSUSE-SU-2026:20574-1 |
| openSUSE | Tumbleweed | libraw | 0.22.1-1.1 | openSUSE-SU-2026:10565-1 |
| Azure Linux | 3 | LibRaw | no fix listed | AZL-82940 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
Moderate impact. A flaw in LibRaw allows a remote attacker to trigger an out-of-bounds read by manipulating `load_flags` or `raw_width` arguments when processing specially crafted raw image files. This can lead to application instability or a denial of service. Red Hat products utilizing LibRaw to process untrusted raw image files are affected.
To mitigate this issue, avoid processing untrusted or maliciously crafted Nikon raw image files with applications that use LibRaw. This operational control prevents the exploitation of the out-of-bounds read vulnerability by limiting exposure to potentially harmful input.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | libraw1394 | Out of support scope | |
| Red Hat Enterprise Linux 7 | LibRaw | Fix deferred | |
| Red Hat Enterprise Linux 7 | libraw1394 | Fix deferred | |
| Red Hat Enterprise Linux 8 | LibRaw | Fix deferred | |
| Red Hat Enterprise Linux 8 | libraw1394 | Fix deferred | |
| Red Hat Enterprise Linux 9 | LibRaw | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-5342.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).