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

Published Apr 17, 2026
·
Updated

A security vulnerability has been detected in libvips up to 8.18.2. The affected element is the function imminposvec 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".

Affected Software

1 affected component
libvips libvips<=8.18.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libvips nip2 (vips7compat.c / im_minpos_vec) to a version that resolves this vulnerability.

    Fixed in 8.19
  2. Upgrade

    Upgrade libvips (deprecated area: vips7compat.c) to a version that resolves this vulnerability.

    Fixed in 8.19
  3. Compensating control

    Approach/mitigate the attack locally (the vulnerability requires a local attack path per the report).

Event History

Apr 17, 2026
CVE Published
via MITRE·01:45 PM
Data Sourced
via MITRE·01:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-6491?

CVE-2026-6491 is classified as a high-severity vulnerability due to its potential to cause a heap-based overflow.

2

How do I fix CVE-2026-6491?

To fix CVE-2026-6491, update the libvips software to version 8.18.3 or later.

3

What versions of libvips are affected by CVE-2026-6491?

All versions of libvips up to and including 8.18.2 are affected by CVE-2026-6491.

4

What component of libvips is impacted by CVE-2026-6491?

CVE-2026-6491 impacts the nip2 Handler in the im_minpos_vec function within vips7compat.c.

5

What type of vulnerability is CVE-2026-6491 classified as?

CVE-2026-6491 is classified as a heap-based overflow vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203