Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/imgproxy/imgproxy
  4. ›
  5. GHSA-hff9-5pqw-6w9f

GHSA-hff9-5pqw-6w9f: imgproxy has integer overflow in imgproxy ICO loader that causes denial of service and may permit remote code execution

October 30, 2026

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.

References

  • github.com/advisories/GHSA-hff9-5pqw-6w9f
  • github.com/imgproxy/imgproxy/commit/a821b6a4cb07a1bf2bb9077431d1c1e734d79917
  • github.com/imgproxy/imgproxy/releases/tag/v4.0.16
  • github.com/imgproxy/imgproxy/security/advisories/GHSA-hff9-5pqw-6w9f

Code Behaviors & Features

Detect and mitigate GHSA-hff9-5pqw-6w9f 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 4.0.0 before 4.0.16

Fixed versions

  • 4.0.16

Solution

Upgrade to version 4.0.16 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-122: Heap-based Buffer Overflow
  • CWE-190: Integer Overflow or Wraparound

Source file

go/github.com/imgproxy/imgproxy/GHSA-hff9-5pqw-6w9f.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 16 Nov 2026 00:18:05 +0000.