CVE-2026-6491
libvips nip2 vips7compat.c im_minpos_vec heap-based overflow
- State
- Published
- Severity
- 4.8 Medium
- Published
- Apr 17, 2026
- Updated
- Apr 18, 2026
- Reserved
- Apr 17, 2026
Description
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".
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:T/RC:C | VulDB |
| 3.0 | 5.3 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:T/RC:C | VulDB |
| 2.0 | 4.3 Medium | AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:TF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
libvipsn/a |
|
References
- VDB-358035 | libvips nip2 vips7compat.c im_minpos_vec heap-based overflowvdb-entrytechnical-description
- VDB-358035 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #786994 | libvips 8.19.0 Out-of-Bounds Readthird-party-advisory
- https://github.com/libvips/libvips/issues/4965issue-tracking
- https://github.com/libvips/libvips/issues/4965#issuecomment-4135003499issue-tracking
- https://github.com/biniamf/pocs/tree/main/libvips_im_minpos_vec_oobexploit
- https://github.com/libvips/libvips/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.