Go
CVE-2026-123615
imgproxy has out-of-bounds heap read/write in ICO loader BMP header reconstruction that allows unauthenticated remote worker crash
- Severity
- High 7.5
- Published
- 30 Oct 2026
- Last changed
- 8 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.0.17
- Exploit chance
- 0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Also known as
- GHSA-494m-4556-wf5p, GO-2026-6895
- Sources
- OSV.dev and GitHub
Description
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).
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 bytes, the loader reconstructs a BMP file header in front of it using fields read from the ICO's internal BITMAPINFOHEADER:
With a crafted entry declaring a tiny data_size (e.g. 1 byte), all of these reads (offsets +8, +14, +32) go past the allocation, and the reconstructed-header writes land past the end of the buffer — specifically a 32-bit height/2-derived value at alloc+22..+25, overwriting the LSBs of the size field of the physically following heap chunk.
Affected software
| Software | Affected versions |
|---|---|
github.com/imgproxy/imgproxy/v3Go · osv:Go:github.com/imgproxy/imgproxy/v3 |
|
About github.com/imgproxy/imgproxy/v3
Vulnerabilities in github.com/imgproxy/imgproxy/v3
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 1
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-123614imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code executionCritical 9.3 30 Oct 2026
- CVE-2026-123616imgproxy has unbounded memory allocation in ICO loader that allows unauthenticated memory-exhaustion DoS via crafted data_size fieldHigh 7.5 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-123615
- GitHub Advisory Database https://github.com/advisories/GHSA-494m-4556-wf5p