CVE-2026-70653: libvips: Possible heap-based buffer read overflow when decoding a well-crafted RLE Radiance image

Published Aug 20, 2026
·
Updated

libvips is a fast image processing library with low memory needs. Prior to version 8.18.3, the old-style Radiance RLE decoder in libvips/foreign/radiance.c can process a repeat marker at the beginning of a scanline in scanlinereadold and read q[-1] before any prior pixel exists. A crafted Radiance image loaded through VipsForeignLoadRad can therefore disclose four bytes of adjacent heap data, most likely other image data. This issue is fixed in version 8.18.3.

Affected Software

1 affected component
libvips libvips<8.18.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade libvips to a version that resolves this vulnerability.

    Fixed in 8.18.3

Event History

Aug 20, 2026
CVE Published
via MITRE·09:06 PM
Data Sourced
via MITRE·09:06 PM
DescriptionWeakness

Frequently Asked Questions

1

What input path is vulnerable?

The issue is reachable when a crafted Radiance image is loaded through VipsForeignLoadRad. It affects the old-style Radiance RLE decoder in libvips/foreign/radiance.c.

2

What must an attacker control to exploit this issue?

An attacker needs to supply a specially crafted Radiance image containing a repeat marker at the beginning of a scanline. That condition causes the decoder to read before a prior pixel exists.

3

What information can be exposed?

The out-of-bounds read can disclose four bytes of adjacent heap memory. The disclosed data is most likely other image data.

4

Which versions should be remediated?

Versions before 8.18.3 are affected. Upgrade to libvips 8.18.3 or later to obtain the fix.

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