CVE-2026-35590

Possible out-of-bounds read leading to crash when decoding well-crafted EXIF metadata

Published Jul 20, 2026 CVSS 4.0 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
libvips is a fast image processing library with low memory needs. The EXIF decoder within libvips versions before and including 8.18.1 was not verifying the range of EXIF tag groups before passing data to libexif, leading to a possible null pointer dereference and crash. This has been patched in version 8.18.2.

Analysis

AI-generated

Technical impact

The vulnerability originates from the EXIF decoder in libvips, which passes EXIF tag data to libexif without verifying the tag group range. This omission can produce a null pointer dereference that crashes the library, resulting in a denial-of-service condition for any service that uses libvips to decode image files. The weakness is a classic out-of-bounds buffer read described by CWE‑122.

Affected Systems

The affected product is the libvips image processing library. All releases of libvips prior to and including version 8.18.1 are vulnerable. The security patch is incorporated in libvips 8.18.2 and later releases.

Risk and Exploitability

The CVSS score of 6.8 indicates moderate severity. The EPSS score, reported as < 1%, signifies a very low but non‑zero probability of exploitation in the current landscape. The vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw by delivering a crafted image that contains malicious EXIF metadata to an application that uses libvips for decoding. Because the flaw leads to a crash rather than arbitrary code execution, the principal impact is a denial-of-service condition affecting the process or service that relies on libvips.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade libvips to version 8.18.2 or newer.
  • If an upgrade cannot be performed immediately, disable or remove EXIF support in the application so that libvips does not process the offending tag groups.
  • Validate and sanitize any EXIF metadata before passing it to libvips, ensuring that only known, safe tag ranges are allowed.

Generated by OpenCVE AI on July 30, 2026 at 19:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6552-1 vips security update
Ubuntu USN Ubuntu USN USN-8994-1 libvips vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:libvips:libvips:*:*:*:*:*:*:*:*
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Libvips
Libvips libvips
Vendors & Products Libvips
Libvips libvips
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 libvips is a fast image processing library with low memory needs. The EXIF decoder within libvips versions before and including 8.18.1 was not verifying the range of EXIF tag groups before passing data to libexif, leading to a possible null pointer dereference and crash. This has been patched in version 8.18.2.
Title Possible out-of-bounds read leading to crash when decoding well-crafted EXIF metadata
Weaknesses CWE-122
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 20, 2026, 7:03 PM
Reserved
Apr 3, 2026, 8:09 PM
Status
Analyzed
Published
Jul 20, 2026, 5:17 PM
Modified
Aug 19, 2026, 7:17 PM