CVE-2026-111272
MediumCVSS 5.5Exploitation Probability (EPSS)
Low risk2th percentile - higher than 2% of all known CVEs
Summary
LibRaw through 0.22.2 contains a heap-based out-of-bounds read in LibRaw::parseNikonMakernote() that allows attackers to read past a short ShotInfo buffer. Attackers can supply a crafted Nikon NEF/TIFF with a 5-byte ShotInfo tag declaring version 243 to crash applications decoding the image.
Risk Assessment
The vulnerability enables remote crashes of applications processing RAW files, which can be exploited for denial of service or memory data leakage.
Recommendation
Upgrade LibRaw beyond version 0.22.2 and fix the ShotInfo buffer size validation in the Nikon Makernote parser.
Other vulnerabilities in LibRaw
See all- CVE-2017-14348High
LibRaw before 0.18.4 has a heap-based Buffer Overflow in the processCanonCameraInfo function via a crafted file.
- CVE-2017-13735High
There is a floating point exception in the kodak_radc_load_raw function in dcraw_common.cpp in LibRaw 0.18.2, which may lead to a remote denial of service attack.
- CVE-2017-6887High
A boundary error in the 'parse_tiff_ifd()' function in LibRaw versions before 0.18.2 can lead to memory corruption. Exploiting a specially crafted KDC file with the model set to 'DSLR-A100' and containing multiple sequences of 0x100 and 0x14A TAGs may allow an attack.
- CVE-2026-21413Critical
A heap-based buffer overflow vulnerability was found in the lossless_jpeg_load_raw function of LibRaw in commits 0b56545 and d20315b. A specially crafted malicious file can cause a heap buffer overflow.
- CVE-2026-20911Critical
A heap-based buffer overflow vulnerability in the HuffTable::initval function of LibRaw. A specially crafted malicious file can cause a heap buffer overflow, allowing an attacker to execute arbitrary code or crash the application.
- CVE-2026-20889Critical
A heap-based buffer overflow vulnerability exists in the x3f_thumb_loader function of LibRaw (commit d20315b). A specially crafted malicious file can lead to a heap buffer overflow.
- CVE-2017-14608Critical
In LibRaw through version 0.18.4, an out of bounds read flaw related to kodak_65000_load_raw has been reported in dcraw/dcraw.c and internal/dcraw_common.cpp. An attacker could possibly exploit this flaw to disclose potentially sensitive memory or cause an application crash.
- CVE-2017-14265Critical
A stack-based buffer overflow was discovered in xtrans_interpolate in internal/dcraw_common.cpp in LibRaw before version 0.18.3. It could allow a remote denial of service or code execution attack.
- CVE-2017-6886Critical
An error in the 'parse_tiff_ifd()' function in LibRaw versions before 0.18.2 can be exploited to corrupt memory.
- CVE-2026-88387Medium
LibRaw 0.22.0 contains an incorrect numeric conversion vulnerability in LibRaw::parse_tiff_ifd() when processing TIFF tag 0x00fe (NewSubfileType). A specially crafted RAW, TIFF, or DNG file can supply an attacker-controlled NewSubfileType value outside the range of a signed int. The parser converts this value and narrows it to int without performing range validation. This out-of-range conversion triggers undefined behavior, resulting in process termination and denial of service.
Original NVD description (English source)
LibRaw through 0.22.2 contains a heap-based out-of-bounds read in LibRaw::parseNikonMakernote() that allows attackers to read past a short ShotInfo buffer. Attackers can supply a crafted Nikon NEF/TIFF with a 5-byte ShotInfo tag declaring version 243 to crash applications decoding the image.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

