Soumettre #758690: libvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Errorinformation

Titrelibvips 8.19.0(7fab325d2) Signed to Unsigned Conversion Error
DescriptionIn `libvips/foreign/matrixload.c`, function `vips_foreign_load_matrix_file_is_a()`, the return value of `vips__get_bytes()` (signed, may be `-1`) is stored in `guint64 bytes`. On read error, `-1` is converted to a very large unsigned value, and `line[bytes] = '\0'` performs a stack underflow write. The bug is reachable from the `vips` CLI loader detection path and is reproducible with ASAN as `stack-buffer-overflow`.
La source⚠️ https://github.com/libvips/libvips/issues/4876
Utilisateur
 Niebelungen (UID 95430)
Soumission15/02/2026 10:47 (il y a 4 mois)
Modérer24/02/2026 20:54 (9 days later)
StatutAccepté
Entrée VulDB347651 [libvips jusqu’à 8.18.0 matrixload.c buffer overflow]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!