Summary
CVE-2026-123615 is an out-of-bounds heap read and write (CWE-787) in the ICO loader of imgproxy. It affects imgproxy 3.3.0 through 4.0.16. An unauthenticated remote attacker can use a crafted ICO image to corrupt heap metadata and crash the worker process. The CVSS v4.0 score is 8.7 (High).
Technical details
- Root cause: The ICO loader’s BMP header reconstruction reads and writes past the allocated buffer. The advisory identifies the function as
vips_foreign_load_ico_headerinvips/icoload.c. - Trigger conditions: The loader processes an ICO image whose entry declares a very small data size.
- Attack vector: Network. The attacker needs no authentication and no user interaction. They only need imgproxy to process a crafted ICO image.
- Impact: Heap metadata corruption crashes the worker process, which causes a denial of service.
Affected software
- imgproxy 3.3.0 through 4.0.16 (inclusive)
Severity
- CVSS v4.0: 8.7 (High) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: upgrade imgproxy to version 4.0.17 or later.
- The sources reviewed do not describe any workaround. Until you can patch, limit who can reach imgproxy instances and who can submit source image URLs to them.

