Buffer overflow in Libvips

CVE-2026-6491

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

EPSS: 0.002 (5.6th percentile) — read the EPSS interpretation.

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.

Affected products

  • N/a Libvips — versions 8.18.0, 8.18.1, 8.18.2

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-6491?
CVE-2026-6491 is a medium-severity vulnerability in Libvips, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.3/10. Published 2026-04-17.
How severe is CVE-2026-6491?
Medium severity. CVSS v3 base score is 5.3 out of 10.