Submit #758863: libvips 8.19.0(7fab325d2) Integer Overflow or Wraparoundinfo

Titlelibvips 8.19.0(7fab325d2) Integer Overflow or Wraparound
DescriptionIn `libvips/conversion/extract.c`, function `vips_extract_band_build()` validates range using signed addition (`extract->band + extract->n > bands`). Large attacker-controlled values can overflow signed `int` and bypass this check. `vips_extract_band_buffer()` then computes `p = in[0] + extract->band * es` and dereferences the invalid pointer in the copy loop, causing out-of-bounds read and crash. The issue is reachable from normal `vips extract_band` CLI usage (with `--vips-max-coord` set high) and is reproducible with ASAN (`SEGV` at `extract.c:378`).
Source⚠️ https://github.com/libvips/libvips/issues/4880
User
 Niebelungen (UID 95430)
Submission02/15/2026 16:02 (6 months ago)
Moderation02/26/2026 17:33 (11 days later)
StatusAccepted
VulDB entry348012 [libvips 8.19.0 extract.c vips_extract_band_build extract_band out-of-bounds]
Points20

Want to know what is going to be exploited?

We predict KEV entries!