All vulnerabilities

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
Weakness
Heap-based buffer overflow (CWE-122)Integer overflow (CWE-190)
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:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/imgproxy/imgproxyGo · osv:Go:github.com/imgproxy/imgproxy
  • From 4.0.0 before 4.0.16
github.com/imgproxy/imgproxy/v2Go · osv:Go:github.com/imgproxy/imgproxy/v2
  • From 4.0.0 before 4.0.16
github.com/imgproxy/imgproxy/v3Go · osv:Go:github.com/imgproxy/imgproxy/v3
  • From 4.0.0 before 4.0.16
github.com/imgproxy/imgproxy/v4Go · osv:Go:github.com/imgproxy/imgproxy/v4
  • From 4.0.0 before 4.0.16

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

References