Vulnerability · GHSA-hff9-5pqw-6w9f
imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution
Published Oct 30, 2026 · catalog updated Nov 5, 2026 · imgproxy has integer overflow
Last checked Nov 6, 2026. A connected source was read within the last 7 days.
Open the advisory
Exploitation likelihood is not on this record for GHSA-hff9-5pqw-6w9f. A missing EPSS score is not a low risk. Compare imgproxy has integer overflow with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (imgproxy has integer overflow).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- Critical9.8
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Advisory link
- Affected products
- Go github.com/imgproxy/imgproxy · Go github.com/imgproxy/imgproxy/v2 · Go github.com/imgproxy/imgproxy/v3
## Summary The ICO loader allocates bytes after reading a 32-bit attacker-controlled . For , 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 [ at commit ](https://github.com/imgproxy/imgproxy/blob/f4fedbb5c7f6684e7a8e0a9bb7e666773f3c40c0/vips/icoload.c#L154-L164): The crafted directory entry contains: The allocation is therefore three bytes. 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: 1. Attacker-controlled bytes begin with the ICO magic . 2. imgproxy identifies the source as ICO and dispatches it to . 3. reads the attacker-controlled . 4. The 32-bit addition wraps, and receives the value three. 5. passes the original to the Go source callback. 6. 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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- Go github.com/imgproxy/imgproxy4.0.0 → 4.0.16
- Go github.com/imgproxy/imgproxy/v24.0.0 → 4.0.16
- Go github.com/imgproxy/imgproxy/v34.0.0 → 4.0.16
How to fix GHSA-hff9-5pqw-6w9f
Upgrade
GHSA-hff9-5pqw-6w9f lists a fix boundary at 4.0.16. Compare the installed build with that boundary before you change production.
Version check
Seen in 4.0.0 → 4.0.16 · 2 other packages on the advisory
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for GHSA-hff9-5pqw-6w9f. A missing EPSS score is not a low risk. Compare imgproxy has integer overflow with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with 4.0.0 → 4.0.16. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-122: Heap-based Buffer Overflow; CWE-190: Integer Overflow. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 30, 2026 · GitHub Advisory Database
Detected
## Summary The ICO loader allocates bytes after reading a 32-bit attacker-controlled . For , 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 pat
Oct 30, 2026 · GitHub Advisory Database
Fix available
github.com/imgproxy/imgproxy/v3 fixed in 4.0.16; github.com/imgproxy/imgproxy/v2 fixed in 4.0.16; github.com/imgproxy/imgproxy fixed in 4.0.16
Oct 30, 2026 · GitHub Advisory Database
Fix available
github.com/imgproxy/imgproxy/v3 fixed in 4.0.16
Oct 30, 2026 · GitHub Advisory Database
Fix available
github.com/imgproxy/imgproxy/v2 fixed in 4.0.16
Oct 30, 2026 · GitHub Advisory Database
Fix available
github.com/imgproxy/imgproxy fixed in 4.0.16
Oct 30, 2026 · GitHub Advisory Database
Updated
## Summary The ICO loader allocates bytes after reading a 32-bit attacker-controlled . For , 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 pat
Nov 5, 2026 · Go Vulnerability Database
Updated
## Summary The ICO loader allocates bytes after reading a 32-bit attacker-controlled . For , 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 pat
Sources
- GitHub Advisory DatabasePackage advisoryGHSA-hff9-5pqw-6w9f
GitHub Advisory Database record mirrored by OSV.
github.com - Go Vulnerability DatabasePackage advisoryGHSA-hff9-5pqw-6w9f
imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution
osv.dev - OpenSSF OSV / OSV ScannerPackage advisoryGHSA-hff9-5pqw-6w9f
imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution
osv.dev
References
Freshness
Last verified in this catalog Nov 5, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- Go Vulnerability DatabaseNov 6, 2026
- GitHub Advisory DatabaseNov 2, 2026
- OpenSSF OSV / OSV ScannerNov 2, 2026