Skip to main content
Network Thinking Solutions Logo

CVE-2026-5342

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. Executing a manipulation of the argument load_flags/raw_width can lead to out-of-bounds read.

All CVEs
CVE-2026-5342Published 4/2/2026

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. Executing a manipulation of the argument load_flags/raw_width can lead to out-of-bounds read.

Vendor advisory
CVSS5.5Medium

Overview

A flaw has been found in LibRaw up to 0.22.0. This affects the function LibRaw::nikon_load_padded_packed_raw of the file src/decoders/decoders_libraw.cpp of the component TIFF/NEF. Executing a manipulation of the argument load_flags/raw_width can lead to out-of-bounds read. It is possible to launch the attack remotely. The exploit has been published and may be used. Upgrading to version 0.22.1 mitigates this issue. This patch is called b8397cd45657b84e88bd1202528d1764265f185c. It is advisable to upgrade the affected component.

Published
4/2/2026
Last modified
7/24/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
libraw
libraw
< 0.22.1

Verify advisory

Source
LibRaw
n/a
0.1

Verify advisory

Source
LibRaw
n/a
0.2

Verify advisory

Source
LibRaw
n/a
0.3

Verify advisory

Source
LibRaw
n/a
0.4

Verify advisory

Source
LibRaw
n/a
0.5

Verify advisory

Source
LibRaw
n/a
0.6

Verify advisory

Source
LibRaw
n/a
0.7

Verify advisory

Source
LibRaw
n/a
0.8

Verify advisory

Source
LibRaw
n/a
0.9

Verify advisory

Source
LibRaw
n/a
0.10

Verify advisory

Source
LibRaw
n/a
0.11

Verify advisory

Source
LibRaw
n/a
0.12

Verify advisory

Source
LibRaw
n/a
0.13

Verify advisory

Source
LibRaw
n/a
0.14

Verify advisory

Source
LibRaw
n/a
0.15

Verify advisory

Source
LibRaw
n/a
0.16

Verify advisory

Source
LibRaw
n/a
0.17

Verify advisory

Source
LibRaw
n/a
0.18

Verify advisory

Source
LibRaw
n/a
0.19

Verify advisory

Source
LibRaw
n/a
0.20

Verify advisory

Source
LibRaw
n/a
0.21

Verify advisory

Source
LibRaw
n/a
0.22.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.