imgproxy has out-of-bounds heap read/write in ICO loader BMP header reconstruction that allows unauthenticated remote worker crash
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| go:github.com/imgproxy/imgproxy/v3 | >= 3.3.0, < 4.0.17 | 4.0.17 |
Out-of-bounds heap write in imgproxy's ICO loader (vips/icoload.c): when the ICO entry's image data buffer is small, the loader's BMP-header-reconstruction writes land past the allocation, corrupting the size field of the following heap chunk. The worker then aborts deterministically (glibc munmap_chunk(): invalid pointer → SIGABRT → Go panic, exit code 2). Details In vips_foreign_load_ico_header in vips/icoload.c, after the ICO entry's image data is read into a heap buffer of data_size + 14 by…
Read on GitHub Advisory Database
On 10/31/2026, 07:56 AM, GitHub Advisory Database published "imgproxy has out-of-bounds heap read/write in ICO loader BMP header reconstruction that allows unauthenticated remote worker crash" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub, C / C++.