Buffer overflow in Libvips
CVE-2026-6491
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 5.6th percentile
- Published
- 2026-04-17
A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function im_minpos_vec of the file libvips/deprecated/vips7compat.c of the component nip2 Handler. Such manipulation of the argument n leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed publicly and may be used. The vendor confirms that they will "be removing the deprecated area in libvips 8.19".
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.002, 5.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libvips — versions 8.18.0, 8.18.1, 8.18.2
Weakness classification (CWE)
References
- VDB-358035 | libvips nip2 vips7compat.c im_minpos_vec heap-based overflow (technical-description, vdb-entry)
- VDB-358035 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #786994 | libvips 8.19.0 Out-of-Bounds Read (third-party-advisory)
- github.com/libvips/libvips/issues/4965 (issue-tracking)
- github.com/libvips/libvips/issues/4965 (issue-tracking)
- github.com/biniamf/pocs/tree/main/libvips_im_minpos_vec_oob (exploit)
- github.com/libvips/libvips/ (product)