CVE-2026-123614 — imgproxy has integer overflow in...
imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.94%). Schedule for your next planned update.
Does your project use an affected github.com/imgproxy/imgproxy/v2 version?
Paste your go.sum to check it for CVE-2026-123614 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
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.
Technical details
The vulnerable path is in vips/icoload.c at commit f4fedbb:
uint32_t data_size = GUINT32_FROM_LE(largest_image_header.data_size);
VipsPel *data = (VipsPel *) VIPS_MALLOC(NULL, data_size + BMP_FILE_HEADER_LEN);
void *actual_data = data + BMP_FILE_HEADER_LEN;
if (vips_foreign_load_read_full(ico->source, actual_data, data_size) <= 0) {
vips_error("vips_foreign_load_ico_header", "unable to read ICO image data from the source");
return -1;
}
The crafted directory entry contains:
data_size = 0xfffffff5 (4294967285)
data_offset = 22
BMP header size = 14
32-bit result = (0xfffffff5 + 14) mod 2^32 = 3
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:
- Attacker-controlled bytes begin with the ICO magic
00 00 01 00. - imgproxy identifies the source as ICO and dispatches it to
vips_icoload_source_go. vips_foreign_load_ico_headerreads the attacker-controlleddata_size.- The 32-bit addition wraps, and
VIPS_MALLOCreceives the value three. vips_foreign_load_read_fullpasses the originaldata_sizeto the Go source callback.- The callback writes the available source bytes through the invalid pointer, corrupting the process heap.
Impact
A crafted image can terminate the imgproxy process handling it or potentially lead to remote code execution due to heap corruption.
Advisory Timeline
- First published October 30, 2026 (27 days ago).
- Last revised November 8, 2026 — 8 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/imgproxy/imgproxy/v2@v4.0.16
go get github.com/imgproxy/imgproxy/v3@v4.0.16
go get github.com/imgproxy/imgproxy@v4.0.16
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Go (3).
| Package | Fixed In |
|---|---|
| github.com/imgproxy/imgproxy/v2 Go · Affected: All versions | 4.0.16 |
| github.com/imgproxy/imgproxy/v3 Go · Affected: All versions | 4.0.16 |
| github.com/imgproxy/imgproxy Go · Affected: All versions | 4.0.16 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-122
- CWE-190Integer OverflowMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-123614?
- imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2026-123614?
- CVE-2026-123614 affects github.com/imgproxy/imgproxy/v2, github.com/imgproxy/imgproxy/v3 and github.com/imgproxy/imgproxy. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-123614 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 59.3% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-104099CRITICAL
Fabio: Access-control bypass through unnormalized request paths
- CVE-2026-77369CRITICAL
Daptin: Broken Access Control (IDOR) in the generic YJS collaboration endpoint