CVE-2026-111272

LibRaw through 0.22.2 Heap Out-of-Bounds Read via parseNikonMakernote ShotInfo

Published Oct 15, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

LibRaw, a widely used library for reading raw image files, contains a heap-based out-of-bounds read in the parseNikonMakernote() function. The flaw allows a carefully crafted Nikon NEF/TIFF file to read past the bounds of a short ShotInfo buffer, which can cause the application that performs the decoding to crash. The vulnerability does not grant code execution or compromise confidentiality; its primary effect is to interrupt normal operation. The weakness is identified as CWE-125.

Affected Systems

The affected vendor is LibRaw, with all releases up to and including version 0.22.2 susceptible to the issue. No specific sub‑versions are listed, so any occurrence of the library within that range that parses Nikon metadata may be impacted.

Risk and Exploitability

The CVSS score of 6.8 classifies the vulnerability as moderate, and the EPSS score is < 1%, indicating a very low exploitation probability. The point of attack is a malicious Nikon NEF/TIFF file supplied to an application that uses LibRaw to decode the image. Since the vulnerability only causes a crash, exploitation conditions are limited to environments where image files are processed from untrusted sources. The vulnerability is not listed in the CISA KEV catalog, further suggesting limited current exploitation in the wild. Nevertheless, a crash can lead to denial of service, impacting availability of the affected application or system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibRaw to a version newer than 0.22.2 where the parseNikonMakernote out‑of‑bounds read is fixed.
  • Configure the application to reject or skip processing Nikon NEF/TIFF files that contain a ShotInfo tag specifying version 243.
  • Add application‑level input validation to verify that metadata tags do not exceed expected sizes before passing them to LibRaw.

Generated by OpenCVE AI on October 16, 2026 at 16:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title LibRaw through 0.22.2 Heap Out-of-Bounds Read via parseNikonMakernote ShotInfo
First Time appeared Libraw
Libraw libraw
Weaknesses CWE-125
CPEs cpe:2.3:a:libraw:libraw:*:*:*:*:*:*:*:*
Vendors & Products Libraw
Libraw libraw
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 16, 2026, 5:09 PM
Reserved
Oct 15, 2026, 7:33 PM
Status
Deferred
Published
Oct 15, 2026, 10:19 PM
Modified
Oct 16, 2026, 6:25 PM
Severity
Moderate
Public date
Oct 15, 2026, 9:43 PM