ICO loader BMP header reconstruction · V3: imgproxy has out-of-bounds heap read/write
Affects github.com/imgproxy/imgproxy/v3Source GCVE Database
CVSS 7.5 High : upgrade to 4.0.17 soon.
Data as of 31 Oct 2026, 02:07 UTC
- Patch
- Available – fixed in 4.0.17
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWhat to do
Upgrade github.com/imgproxy/imgproxy/v3 to 4.0.17.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/imgproxy/imgproxy/v3 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in imgproxy version 4.0.17 that fixes this vulnerability. Users should upgrade to version 4.0.17 or later to remediate this issue. Until upgraded, avoid processing untrusted ICO images or disable ICO support if possible.
Description
A heap out-of-bounds write vulnerability exists in imgproxy's ICO loader affecting versions from 3.3.0 up to but not including 4.0.17. The flaw occurs during BMP header reconstruction when processing ICO images with a crafted small data buffer, causing heap corruption and a deterministic worker crash. This results in denial of service by terminating the worker handling the request.
References
- github.com/imgproxy/imgproxy/security/advisories/GHSA-494m-4556-wf5p (opens in a new tab)
- github.com/imgproxy/imgproxy/pull/1726 (opens in a new tab)
- github.com/imgproxy/imgproxy/commit/39fd9e844a8a46084161502e993d5a3c16ccf28d (opens in a new tab)
- github.com/imgproxy/imgproxy (opens in a new tab)
- github.com/imgproxy/imgproxy/releases/tag/v4.0.17 (opens in a new tab)