Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/imgproxy/imgproxy/v3
  4. ›
  5. GHSA-mmq5-xm89-9pfg

GHSA-mmq5-xm89-9pfg: imgproxy has unbounded memory allocation in ICO loader that allows unauthenticated memory-exhaustion DoS via crafted data_size field

October 30, 2026

Unbounded and unvalidated memory allocation in imgproxy’s ICO loader (vips/icoload.c). An attacker-controlled data_size field (u32) from the ICO directory entry is passed directly to VIPS_MALLOC without any bounds check, so a single crafted 23-byte ICO file makes an imgproxy worker attempt a ~4GB allocation. Present in the latest release (v4.0.15) and the 3.3.x series; confirmed on a live production deployment of imgproxy v4.0.15.

References

  • github.com/advisories/GHSA-mmq5-xm89-9pfg
  • github.com/imgproxy/imgproxy/commit/a821b6a4cb07a1bf2bb9077431d1c1e734d79917
  • github.com/imgproxy/imgproxy/releases/tag/v4.0.16
  • github.com/imgproxy/imgproxy/security/advisories/GHSA-mmq5-xm89-9pfg

Code Behaviors & Features

Detect and mitigate GHSA-mmq5-xm89-9pfg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.3.0 before 4.0.16

Fixed versions

  • 4.0.16

Solution

Upgrade to version 4.0.16 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/imgproxy/imgproxy/v3/GHSA-mmq5-xm89-9pfg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 11 Nov 2026 00:16:03 +0000.