Skip to content

Get notified

Get an email when a new major security incident drops. No spam, unsubscribe any time.

Only used for pwn.watch incident emails. Protected by Cloudflare Turnstile.

Become a sponsor

One slot: pwn.watch, gifs.so, flavors.design, kitze.io, every kitze repo, and an X shout-out.

Secure checkout on Polar. Right after paying you set up your ad on kitze.io.

LivePatchedPatch now

imgproxy ICO loader: unauthenticated integer overflow may allow RCE, plus heap OOB and memory-exhaustion DoS (GHSA-hff9-5pqw-6w9f / 494m / mmq5)

imgproxy

Brought to you byTinkerer Club

The private club for people who own their servers, run their own AI, and pay $0/month for software.

imgproxy's ICO loader (vips/icoload.c) has three related flaws reachable with a crafted image. GHSA-hff9-5pqw-6w9f is a critical unauthenticated integer overflow: an attacker-controlled 32-bit data_size wraps when BMP_FILE_HEADER_LEN is added, so the process allocates a few bytes then writes far past the buffer — GitHub rates it CVSS 3.1 9.8 and says the heap overflow can cause denial of service or remote code execution. GHSA-mmq5-xm89-9pfg (high, CVSS 7.5) passes the same data_size to VIPS_MALLOC without a bound, so a tiny ICO can force a multi-gigabyte allocation. GHSA-494m-4556-wf5p (high, CVSS 7.5) reconstructs a BMP header from unvalidated fields and can write out of bounds, crashing the worker. Fixed in v4.0.16 (overflow + unbounded alloc) and v4.0.17 (OOB heap R/W). Also tracked as GO-2026-6897, GO-2026-6898 and GO-2026-6895.

Why this severity: GHSA-hff9-5pqw-6w9f Critical CVSS 3.1 9.8 (unauth integer overflow → possible RCE); sibling ICO-loader DoS advisories GHSA-mmq5-xm89-9pfg and GHSA-494m-4556-wf5p High CVSS 7.5

Started
Oct 30, 2026

Follow this incident

Discuss on X ↗

Affected

  • imgproxy >= 4.0.0, < 4.0.16 (integer overflow / unbounded alloc; also github.com/imgproxy/imgproxy{,/v2,/v3})
  • imgproxy >= 3.3.0, < 4.0.17 (OOB heap R/W in ICO BMP header reconstruction; GHSA-494m-4556-wf5p)

Fixed in

  • imgproxy 4.0.16 (GHSA-hff9-5pqw-6w9f, GHSA-mmq5-xm89-9pfg)
  • imgproxy 4.0.17 (GHSA-494m-4556-wf5p)

Timeline1

  1. imgproxy publishes GHSA-hff9-5pqw-6w9f (critical ICO loader integer overflow → DoS/possible RCE), GHSA-mmq5-xm89-9pfg (unbounded ICO data_size allocation DoS), and GHSA-494m-4556-wf5p (ICO BMP header OOB heap R/W DoS), fixed in v4.0.16 and v4.0.17.

Advisories11

Get an email when a new major security incident drops. No spam, unsubscribe any time.