Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify imgproxy endpoint processing images
-
DeliverySupply crafted ICO with tiny data_size
-
ExploitTrigger OOB reads of BMP header fields (+8/+14/+32)
-
ExecutionReconstructed-header write corrupts adjacent chunk size
-
Persistglibc munmap_chunk(): invalid pointer abort
-
ImpactWorker process crashes (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The deployment must process an attacker-influenced image through imgproxy's ICO loader - i.e., imgproxy fetches/renders an image from an attacker-controlled URL or upload. ICO support exists from the 3.3.x series through v4.0.15, so any version in >=3.3.0,<4.0.17 that handles untrusted images is affected in default configuration (no authentication, no user interaction, no special feature flag required for the vulnerable code path). The trigger is a malformed ICO whose entry declares a tiny data_size so that header-field reads (offsets +8/+14/+32) and the reconstructed-header write fall past the data_size+14-byte allocation. Limiting factors: imgproxy must actually be reachable and willing to process the attacker's image source; the demonstrated impact is confined to crashing the worker (per-request DoS), not code execution or data access; the local-files PoC used IMGPROXY_ENABLE_LOCAL_FILES for convenience, but that flag is not a prerequisite - any image-source configuration that reaches the ICO loader suffices. |
| Impact | This is a high-severity but single-impact (denial-of-service) issue, and the signals are internally consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated, no-interaction trigger, and the impact metrics confirm availability-only harm (VC:N/VI:N/VA:H) - matching the description, which demonstrates a deterministic worker crash rather than code execution or data disclosure. Despite CWE-787 (out-of-bounds write), the vendor advisory explicitly scopes the demonstrated impact to DoS; there is no evidence in the provided sources that the OOB write is steerable into RCE, so treating this as availability-only is appropriate. There is no CISA KEV entry and no EPSS score in the input, so widespread active exploitation is not confirmed; the vuln.today priority label is 'this_week' (not act_now/emergency). However, a complete, production-verified PoC generator is published in the GHSA advisory, which materially lowers the barrier to opportunistic abuse and argues for prompt patching rather than deferral. Net: a real, prioritize-this-week DoS risk against any imgproxy instance that processes attacker-supplied images - not a theoretical high-CVSS-only item, but also not a confirmed-in-the-wild emergency. |
| Exploit ScenarioDerived | An unauthenticated remote attacker supplies a crafted ICO image (directly uploaded or hosted at a URL that the imgproxy deployment is asked to fetch and process). The ICO loader reconstructs a BMP header using unvalidated fields read past a tiny undersized allocation, corrupting the following heap chunk's size field and causing a deterministic glibc munmap_chunk abort that kills the worker on the triggering request. A complete, byte-exact PoC generator is published in the vendor advisory, so no exploit development is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
Malformed ICO images crash imgproxy workers in versions 3.3.0 through 4.0.15 (fixed in 4.0.17): an ICO directory entry declaring a one-byte image buffer drives libvips' ICO loader to read BMP header fields and write a reconstructed header past a 15-byte heap allocation, corrupting the next chunk's size metadata so that glibc's allocator aborts the process on free. Unauthenticated remote attackers only need a request that routes an attacker-controlled image into the ICO loader, and a production-verified 23-byte proof-of-concept published with the upstream advisory kills a worker with SIGABRT / exit code 2 on a single request. The demonstrated impact is per-request denial of service confined to worker crashes; code execution and data disclosure were not shown, and the supplied intelligence does not report active exploitation.
RemediationAI
Upgrade to imgproxy 4.0.17 or later, the first release containing the fix (Go module go/github.com/imgproxy/imgproxy/v3 is fixed in 4.0.17); the upstream change is PR https://github.com/imgproxy/imgproxy/pull/1726, commit 39fd9e844a8a46084161502e993d5a3c16ccf28d, documented in https://github.com/imgproxy/imgproxy/security/advisories/GHSA-494m-4556-wf5p, and the current priority signal places this in the this-week remediation window. The supplied advisory documents no workaround, only the 4.0.17 fix, so interim measures are exposure reduction and resilience rather than removal of the defect: restrict imgproxy's image sources to origins you control or explicitly allowlist, which reduces who can route crafted ICO content into the loader at the cost of losing proxy functionality for untrusted sources, and run enough replicated workers behind the load balancer that a crashed worker is replaced automatically, which restores availability but does not prevent the crash or the failed request. Treating the local-files flag used in the public proof-of-concept as the only vector would be insufficient, since the same ICO loader is reached from URL-based image sources; given that the published trigger is a 23-byte file, any instance left on a version below 4.0.17 that processes untrusted images should be assumed reachable.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 5 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
imgproxy decodes images through libvips, a C library reached from the Go service over cgo, so a memory-safety defect in an image codec corrupts the worker process's own heap rather than a sandboxed child. In vips/icoload.c, vips_foreign_load_ico_header honours an ICO directory entry's declared data_size, allocates data_size + 14 bytes, and reconstructs a BMP file header in front of that buffer. Three BITMAPINFOHEADER fields are read from the buffer without verifying that the allocation is large enough to contain them: height at offset +8, bpp at +14 and num_colors at +32. With data_size = 1 the allocation is 15 bytes, so all three reads are out of bounds, and pix_offset is computed from the resulting unvalidated num_colors/bpp before the reconstructed header fields are written back. The critical write is a 32-bit value derived from height/2 at alloc+22..+25, which lands on the size field of the physically following heap chunk: the corrupted size becomes original_size >> 1, and in cgo thread arenas the NON_MAIN_ARENA bit ends up in the IS_MMAPPED position, so the next free() of that chunk deterministically reaches glibc's munmap_chunk() abort path. The defect class is CWE-787 (out-of-bounds write) with an accompanying CWE-125 (out-of-bounds read), and it is reachable with a 23-byte file because the loader never cross-checks the declared entry size against the header fields it dereferences.
Know when Imgproxy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated network-delivered crafted image with a deterministic low-complexity trigger (AV:N/AC:L/PR:N/UI:N); impact is worker crash only, so A:H with C:N/I:N and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
imgproxy 3.3.0 before 4.0.17 contains an out-of-bounds heap read and write in the ICO loader's BMP header reconstruction (vips_foreign_load_ico_header in vips/icoload.c) when an ICO entry declares a tiny data size, causing unvalidated header fields to be read and written past the allocated buffer. Unauthenticated remote attackers can supply a crafted ICO image to corrupt adjacent heap chunk metadata, triggering a glibc abort that crashes the worker.
Technical POC Analysis
CWE-787 out-of-bounds write (the advisory also tags CWE-125) in vipsforeignloadicoheader in vips/icoload.c, the ICO loader in imgproxy's imaging path.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in imgproxy versions 3.3.0 through 4.0.15 allows unauthenticated attackers to crash image processing workers with a single malformed ICO image request, causing a denial of service. This impacts the availability of image serving for any service relying on imgproxy, potentially disrupting customer-facing experiences and internal operations. Leadership should be concerned about service outages and the need to patch or mitigate promptly.
Vendor-released patch: 4.0.17. Until patched, block ICO file uploads or requests to imgproxy, restrict public access, and monitor for worker crashes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Related Vulnerabilities in imgproxy ICO Loader Memory Corruption Flaws
View all 3Cross-site Scripting (XSS) - Reflected in GitHub repository imgproxy/imgproxy prior to 3.14.0. Rated medium severity (CV
imgproxy <=3.14.0 is vulnerable to Server-Side Request Forgery (SSRF) due to a lack of sanitization of the imageURL para
Cross-site scripting in imgproxy up to 4.0.17 allows remote, unauthenticated attackers to submit crafted SVG content tha
EUVD-2026-119374
GHSA-c4x5-qr47-7gw4
NVD
CVE.org
EPSS
Exploit-DB