Soumettre #758863: libvips 8.19.0(7fab325d2) Integer Overflow or Wraparoundinformation

Titrelibvips 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`).
La source⚠️ https://github.com/libvips/libvips/issues/4880
Utilisateur
 Niebelungen (UID 95430)
Soumission15/02/2026 16:02 (il y a 4 mois)
Modérer26/02/2026 17:33 (11 days later)
StatutAccepté
Entrée VulDB348012 [libvips 8.19.0 extract.c vips_extract_band_build extract_band divulgation d'information]
Points20

Do you know our Splunk app?

Download it now for free!