Enviar #758863: libvips 8.19.0(7fab325d2) Integer Overflow or Wraparoundinformación

Títulolibvips 8.19.0(7fab325d2) Integer Overflow or Wraparound
DescripciónIn `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`).
Fuente⚠️ https://github.com/libvips/libvips/issues/4880
Usuario
 Niebelungen (UID 95430)
Sumisión2026-02-15 16:02 (hace 4 meses)
Moderación2026-02-26 17:33 (11 days later)
EstadoAceptado
Entrada de VulDB348012 [libvips 8.19.0 extract.c vips_extract_band_build extract_band divulgación de información]
Puntos20

Do you want to use VulDB in your project?

Use the official API to access entries easily!