Caller crash via truncated custom-source allocation
Published Feb 22, 2026 · Updated Feb 22, 2026
Heap-based buffer overflow in libvips up to 8.19.0 allows local users to crash a calling process via a custom seekable source. vips_source_read_to_memory passes a 64-bit source length to the 32-bit g_byte_array_set_size, truncating allocations above UINT_MAX while its read loop uses the full length. Reachability requires local code to supply a custom seekable source larger than 4 GiB; the demonstrated overflow crashes in the caller's read callback.
Summary
What happened
Heap-based buffer overflow in libvips up to 8.19.0 allows local users to crash a calling process via a custom seekable source. vips_source_read_to_memory passes a 64-bit source length to the 32-bit g_byte_array_set_size, truncating allocations above UINT_MAX while its read loop uses the full length. Reachability requires local code to supply a custom seekable source larger than 4 GiB; the demonstrated overflow crashes in the caller's read callback.
The record
- CVE
- CVE-2026-2913
- Published
- Feb 22, 2026
- Updated
- Feb 22, 2026
- Vendor
- libvips
- Product
- libvips
- Classifications
- CWE-119, CWE-122
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 22, 2026CVE publishedPublication date reported by the CVE source.
- Feb 22, 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.0
- Affected versionversion=8.1
- Affected versionversion=8.10
- Affected versionversion=8.11
- Affected versionversion=8.12
- Affected versionversion=8.13
- Affected versionversion=8.14
- Affected versionversion=8.15
- Affected versionversion=8.16
- Affected versionversion=8.17
- Affected versionversion=8.18
- Affected versionversion=8.19.0
- Affected versionversion=8.2
- Affected versionversion=8.3
- Affected versionversion=8.4
- Affected versionversion=8.5
- Affected versionversion=8.6
- Affected versionversion=8.7
- Affected versionversion=8.8
- Affected versionversion=8.9
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
- Upstream custom-source heap-overflow 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