# CVE-2026-6491: libvips nip2 vips7compat.c im_minpos_vec heap-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-17T13:45:11.506Z
- Modified: 2026-06-17T11:00:52.837Z
- Weaknesses: CWE-119, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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".

(As written by CVE List.)

## Affected

- libvips: 8.18.0; 8.18.1; 8.18.2

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:TF/RC:C`

## References

- <https://github.com/biniamf/pocs/tree/main/libvips_im_minpos_vec_oob> (exploit)
- <https://vuldb.com/vuln/358035> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/358035/cti> (permissions-required, signature)
- <https://vuldb.com/submit/786994> (third-party-advisory)
- <https://github.com/libvips/libvips/issues/4965> (issue-tracking)
- <https://github.com/libvips/libvips/issues/4965#issuecomment-4135003499> (issue-tracking)
- <https://github.com/libvips/libvips/> (product)

## Sources

- CVE List: [CVE-2026-6491](https://www.cve.org/CVERecord?id=CVE-2026-6491), CVE Terms of Use, modified 2026-04-18
- NVD: [CVE-2026-6491](https://nvd.nist.gov/vuln/detail/CVE-2026-6491), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-6491 · Whole record: https://cve.day/CVE-2026-6491.json · Rebuilt by cve.day 2026-11-25T22:59:18.946Z
