Summary
CVE-2026-123614 is a critical heap-based buffer overflow (CWE-122) in imgproxy, caused by an integer overflow in its ICO image loader. Remote, unauthenticated attackers can trigger it with a crafted ICO file. It affects imgproxy 4.0.0 through 4.0.15 and is rated CVSS 9.8 (CVSS v3.1) / 9.3 (CVSS v4.0).
Technical details
- Root cause: The ICO loader reads an attacker-controlled 32-bit
data_sizevalue and adds the 14-byte BMP file header length to it before allocating memory. Ifdata_sizeis greater thanUINT32_MAX - 14, the addition wraps and far less memory is allocated than needed. - Trigger conditions: imgproxy processes a crafted ICO file whose directory entry carries a large
data_size, for example0xfffffff5. The advisory’s example wraps to a 3-byte allocation, and the loader then writes 64 or more bytes into it. - Attack vector: Network. No authentication or user interaction is required.
- Impact: Heap memory corruption. The advisory lists remote denial of service (process crash) and potential remote code execution.
Affected software
- imgproxy (Go module
github.com/imgproxy/imgproxy/v4) versions 4.0.0 through 4.0.15
Severity
- CVSS v3.1 base score: 9.8 (Critical),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS v4.0 base score: 9.3 (Critical),
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
Mitigation and recommended actions
- Immediate: Upgrade imgproxy to 4.0.16 or later.
- If no patch is possible: The vendor advisory documents no workarounds. As general hardening, limit who can reach imgproxy and which image sources it can fetch. This is not a vendor-documented mitigation.
- Related ICO loader issues exist: CVE-2026-123615 (out-of-bounds write) is reported as fixed in 4.0.17. Consider upgrading to 4.0.17 or later to cover both.

