Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessUpload crafted .hdr file
-
DeliveryTrigger VipsForeignLoadRad loader
-
ExploitEnter old-style RLE decoder
-
ExecutionPlace repeat marker at scanline offset 0
-
PersistDereference q[-1] out-of-bounds
-
ImpactLeak 4 bytes of adjacent heap data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application accept and load a Radiance HDR image ( |
| Impact | The official CVSS 4.0 score of 4.8 with AV:L/PR:L reflects a conservative, library-isolated perspective. However, libvips is the rendering engine behind the widely-deployed |
| Exploit ScenarioDerived | An attacker uploads a maliciously crafted Radiance HDR image to a web service that uses libvips or |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Heap out-of-bounds read in libvips before 8.18.3 leaks four bytes of adjacent heap memory when parsing a crafted Radiance HDR image whose first scanline begins with an RLE repeat marker. The old-style decoder in scanline_read_old dereferences q[-1] without confirming a prior pixel exists, disclosing data most likely belonging to adjacent image buffers. No public exploit or active exploitation has been identified; the fix is confirmed in the v8.18.3 release.
RemediationAI
Upgrade libvips to version 8.18.3 or later, which contains the fix from commit dc945573e15d598054e701c65b90a35b16b19304 (https://github.com/libvips/libvips/commit/dc945573e15d598054e701c65b90a35b16b19304). Applications using sharp should upgrade to a version that bundles libvips 8.18.3 or later. For environments where an immediate upgrade is not feasible, reject or discard Radiance HDR (.hdr) image files at the application input-validation boundary before they reach libvips - this eliminates exposure entirely with no trade-off for applications that do not require HDR processing. The GitHub Security Advisory is at https://github.com/libvips/libvips/security/advisories/GHSA-fh99-55jf-5hj3. No workaround is available short of input filtering; disabling the loader at compile time requires building with ENABLE_DEPRECATED undefined in libvips 8.18.3+.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libvips implements Radiance HDR (.hdr) image loading through VipsForeignLoadRad in libvips/foreign/radiance.c. The old-style Radiance RLE decoder scanline_read_old reads 4-byte COLR pixels (RED, GRN, BLU, EXP channels). An RLE repeat marker is signaled by the triplet RED1, GRN1, BLU1, after which the decoder copies from q[-1] to fill repeated pixels. CWE-122 (Heap-based Buffer Overflow) applies because when the repeat marker is the very first element of the scanline, q equals the base pointer of the scanline buffer and q[-1] falls outside the allocation boundary, constituting a heap out-of-bounds read. The fix introduced in PR #5037 adds a guard (if (q scanline) return -1) and additionally deprecates the entire old-style path behind the ENABLE_DEPRECATED compile flag, effectively disabling the vulnerable code path in standard builds.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
libvips is typically invoked by web services processing untrusted uploads; a crafted HDR file alone triggers the flaw with no authentication or special interaction required.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, the old-style Radiance RLE decoder in libvips/foreign/radiance.c can process a repeat marker at the beginning of a scanline in scanline_read_old and read q[-1] before any prior pixel exists. A crafted Radiance image loaded through VipsForeignLoadRad can therefore disclose four bytes of adjacent heap data, most likely other image data. This issue is fixed in version 8.18.3.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
EUVD-2026-63654
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB