إرسال #758863: libvips 8.19.0(7fab325d2) Integer Overflow or Wraparoundالمعلومات

عنوانlibvips 8.19.0(7fab325d2) Integer Overflow or Wraparound
الوصفIn `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`).
المصدر⚠️ https://github.com/libvips/libvips/issues/4880
المستخدم
 Niebelungen (UID 95430)
ارسال15/02/2026 04:02 PM (4 أشهر منذ)
الاعتدال26/02/2026 05:33 PM (11 days later)
الحالةتمت الموافقة
إدخال VulDB348012 [libvips 8.19.0 extract.c vips_extract_band_build extract_band الكشف عن المعلومات]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!