Local memory disclosure via unchecked position-array copy
Published Apr 17, 2026 · Updated Apr 17, 2026
Heap-buffer over-read in libvips 8.18.0 through 8.18.2 allows local users to read adjacent process memory through im_minpos_vec. The deprecated compatibility function asks vips_min for n positions, receives arrays sized to the image's actual pixel count, and then copies n elements without checking the returned lengths. A caller must invoke the nip2-compatible handler with n greater than the image's pixel count; this can disclose adjacent heap data or crash the process, although upstream disputes treating the bug as a security vulnerability.
Summary
What happened
Heap-buffer over-read in libvips 8.18.0 through 8.18.2 allows local users to read adjacent process memory through im_minpos_vec. The deprecated compatibility function asks vips_min for n positions, receives arrays sized to the image's actual pixel count, and then copies n elements without checking the returned lengths. A caller must invoke the nip2-compatible handler with n greater than the image's pixel count; this can disclose adjacent heap data or crash the process, although upstream disputes treating the bug as a security vulnerability.
The record
- CVE
- CVE-2026-6491
- Published
- Apr 17, 2026
- Updated
- Apr 17, 2026
- Vendor
- libvips
- Product
- libvips
- Classifications
- CWE-122, CWE-119
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 17, 2026CVE publishedPublication date reported by the CVE source.
- Apr 17, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=8.18.0
- Affected versionversion=8.18.1
- Affected versionversion=8.18.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- libvips im_minpos_vec out-of-bounds-read proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo