Home › Intelligence › Brief
VULNERABILITY BRIEF 🟠 High Vulnerability

Heap‑Based Buffer Overflow in GIMP JP2 Parsing (CVE‑2026‑4152) Enables Remote Code Execution

A heap‑based buffer overflow in GIMP's JP2 file parser (CVE‑2026‑4152) allows remote code execution when a crafted image is opened. The vulnerability scores 7.8 on CVSS and requires user interaction, posing a significant risk to organizations that use GIMP in design or content pipelines.

Verisq™ Intelligence · 📅 March 20, 2026 · 📰 zerodayinitiative.com
🟠
Severity
High
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
3 sector(s)
✅
Actions
4 recommended
📰
Source
zerodayinitiative.com

Heap‑Based Buffer Overflow in GIMP JP2 Parsing (CVE‑2026‑4152) Enables Remote Code Execution

What It Is — A heap‑based buffer overflow in the JP2 file parser of the GNU Image Manipulation Program (GIMP) permits remote attackers to execute arbitrary code when a victim opens a crafted JP2 image. The flaw arises from missing length validation before copying user‑supplied data to a heap buffer.

Exploitability — CVSS 7.8 (High). Exploits require user interaction (opening a malicious JP2 file or visiting a malicious page) and a proof‑of‑concept has been released. No widespread active exploitation reported yet.

Affected Products — GIMP (all versions prior to the March 2026 security update).

TPRM Impact —

  • Vendors that embed GIMP in internal tools or content pipelines inherit the execution risk.
  • Organizations that rely on GIMP‑generated assets for marketing, design, or documentation may see compromised workstations, enabling lateral movement.
  • Supply‑chain exposure if malicious JP2 images are distributed to customers or partners.

Recommended Actions —

  1. Apply the GIMP patch released on 2026‑03‑19 (commit f64c9c23).
  2. Block JP2 MIME type (image/jp2) at email gateways and web proxies until patched.
  3. Scan endpoints for unexpected processes launched by GIMP.
  4. Update asset inventories to flag GIMP as a critical application requiring timely patching.

Source: Zero Day Initiative Advisory ZDI‑26‑219

📰 Original Source
http://www.zerodayinitiative.com/advisories/ZDI-26-219/ ↗

This Verisq Intelligence Brief is an independent analysis. Read the original reporting at the link above.

Vulnerability exposure

Is this CVE in your supply chain?

Verisq matches published vulnerabilities against the software your vendors run, so you know which relationships this touches before the next review.

See vendor exposure →