Go
CVE-2026-123614
imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution
- Severity
- Critical 9.3
- Published
- 30 Oct 2026
- Last changed
- 9 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 4.0.16
- Exploit chance
- 0.7% in the next 30 daysHigher than 52% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Also known as
- GHSA-hff9-5pqw-6w9f, GO-2026-6897
- Sources
- CVE Program, OSV.dev and GitHub
Description
The ICO loader allocates data_size + BMP_FILE_HEADER_LEN bytes after reading a 32-bit attacker-controlled data_size. For data_size > UINT32_MAX - BMP_FILE_HEADER_LEN, the addition wraps before allocation. imgproxy then writes the ICO prefix and reads up to the original declared size starting 14 bytes into the undersized allocation. A network client can turn this heap overflow into remote denial of service or remote code execution.
The vulnerable path is in vips/icoload.c at commit f4fedbb:
The crafted directory entry contains:
The allocation is therefore three bytes. actual_data points 14 bytes after the allocation base. The fixture contains 64 bytes after the ICO header, so the source callback copies those 64 bytes to an invalid destination before it can report that the declared multi-gigabyte payload is incomplete.
The complete source-to-sink path is:
Affected software
| Software | Affected versions |
|---|---|
github.com/imgproxy/imgproxyGo · osv:Go:github.com/imgproxy/imgproxy |
|
github.com/imgproxy/imgproxy/v2Go · osv:Go:github.com/imgproxy/imgproxy/v2 |
|
github.com/imgproxy/imgproxy/v3Go · osv:Go:github.com/imgproxy/imgproxy/v3 |
|
github.com/imgproxy/imgproxy/v4Go · osv:Go:github.com/imgproxy/imgproxy/v4 |
|
About github.com/imgproxy/imgproxy
This is the only vulnerability in github.com/imgproxy/imgproxy in our list.
About github.com/imgproxy/imgproxy/v2
This is the only vulnerability in github.com/imgproxy/imgproxy/v2 in our list.
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-123615imgproxy has out-of-bounds heap read/write in ICO loader BMP header reconstruction that allows unauthenticated remote worker crashHigh 7.5 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-123614
- GitHub Advisory Database https://github.com/advisories/GHSA-hff9-5pqw-6w9f