Skip to main content

AnimatedGIF CVE-2026-30141

CRITICAL
Uncontrolled Resource Consumption (CWE-400)
2026-06-09 mitre
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify endpoint accepting GIF input
  2. Delivery
    Craft malformed LZW-encoded GIF
  3. Exploit
    Deliver via upload or URL fetch
  4. Execution
    Trigger buffer overflow in DecodeLZW
  5. Persist
    Corrupt heap and hijack control flow
  6. Impact
    Execute arbitrary code or crash service

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that an application linking AnimatedGIF v2.2.0 reach the DecodeLZW code path with attacker-supplied GIF bytes - in practice, any feature that accepts, fetches, or previews a GIF (file upload, image proxy, embedded display fetching remote assets, messaging attachment rendering). No authentication or user interaction is required at the library boundary (CVSS PR:N/UI:N), but real-world reachability is gated by the host application exposing GIF input over the network; purely local or trusted-input deployments are not remotely exploitable, and embedded targets without network-fed image input are not exposed.

Impact

Signals conflict and require interpretation. CVSS 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) treats this as a critical network RCE, and SSVC corroborates ease of weaponization (Exploitation: poc, Automatable: yes). However, SSVC Technical Impact is 'partial' - not 'total' - which is more consistent with a memory-corruption DoS or partial control than reliable remote code execution, and the CWE-400 classification points to resource exhaustion rather than a clean control-flow hijack. The library itself has no network listener: 'network' attack vector only applies when a host application (web service, messaging app, embedded firmware exposing image upload) feeds remote GIF data to AnimatedGIF, so real-world exposure depends entirely on the downstream integrator. It is NOT in CISA KEV and EPSS is not provided. Net: prioritize where AnimatedGIF processes untrusted remote GIFs; deprioritize where input is local/trusted.

Exploit ScenarioDerived

An attacker hosts or uploads a malformed GIF whose LZW-compressed image data triggers an out-of-bounds write inside DecodeLZW; when a vulnerable application - for example an ESP32 dashboard, chat client, or web preview service that uses AnimatedGIF - fetches and decodes the file, the process crashes or, with careful heap grooming, control flow is hijacked. Per SSVC, proof-of-concept material is available and the attack is automatable, so mass-scanning of internet-exposed image-handling endpoints is plausible.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jun 09, 2026

Remote code execution and denial-of-service in bitbank2 AnimatedGIF v2.2.0 arises from a buffer overflow in the DecodeLZW function when processing a crafted GIF file. SSVC data indicates a proof-of-concept exists and exploitation is automatable, though it is not listed in CISA KEV; with CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) the vulnerability is network-reachable wherever this library decodes attacker-supplied GIFs.

Earlier versions of this analysis (2)
v2 Jun 09, 2026 - 22:28 cvss changed CVSS 9.8

Remote code execution and denial-of-service in bitbank2 AnimatedGIF v2.2.0 occurs through a buffer overflow in the DecodeLZW function when parsing a maliciously crafted GIF file. SSVC indicates a public proof-of-concept exists and the flaw is automatable, raising concern despite no public exploit being weaponized at scale; no CISA KEV listing has been issued at time of analysis.

v1 Jun 09, 2026 - 21:22 CVSS 7.5

Denial of service and potential code execution in bitbank2 AnimatedGIF v2.2.0 stems from a buffer overflow in the DecodeLZW function reachable by parsing a maliciously crafted GIF file. The SSVC framework rates exploitation as proof-of-concept available and automatable, and publicly available exploit code exists via the upstream GitHub issue tracker, though no CISA KEV listing currently confirms in-the-wild use. CVSS 7.5 (AV:N/AC:L/PR:N/UI:N) reflects an availability-only impact, but the buffer overflow primitive raises the theoretical ceiling to arbitrary code execution.

RemediationAI

No vendor-released patched version has been independently confirmed at the time of analysis; the only public reference is the upstream tracker https://github.com/bitbank2/AnimatedGIF/issues/115, so monitor that issue and the bitbank2/AnimatedGIF repository for a tagged release superseding 2.2.0 and rebuild dependent firmware/binaries once available. Until a fix is published, compensating controls should prevent attacker-controlled GIF bytes from reaching DecodeLZW: validate GIF headers and reject files exceeding expected logical-screen and frame dimensions before invoking the decoder (trade-off: may reject legitimate oversized GIFs), transcode incoming GIFs through a hardened server-side decoder (e.g., ImageMagick or libgd with policy limits) and re-emit a sanitized GIF before passing it downstream (trade-off: added latency and CPU), and on memory-constrained embedded targets disable any network-facing image-upload endpoint that feeds AnimatedGIF (trade-off: feature loss). Where possible, run the decoder in a process or task isolated from privileged code so that a crash or corruption does not pivot to wider compromise.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AnimatedGIF is a lightweight C/C++ library by Larry Bank (bitbank2) widely embedded in microcontroller, embedded display, and Arduino/ESP32 projects for decoding animated GIF images. The DecodeLZW routine implements LZW decompression of the GIF image data stream; CWE-400 (Uncontrolled Resource Consumption) plus the 'buffer overflow' description in issue #115 suggests that malformed LZW code tables or run lengths cause writes beyond a fixed-size decode buffer, corrupting adjacent memory. The CPE is listed as 'n/a:n/a' in NVD, meaning the affected product is not yet formally enumerated in the CPE dictionary - defenders must identify exposure by source-level dependency, not CPE matching.

Know when N A 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

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

6
Analysis Updated
Jun 09, 2026 - 22:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 22:28 vuln.today
v2 - CVSS changed
Severity Changed
Jun 09, 2026 - 22:22 NVD
HIGH CRITICAL
CVSS changed
Jun 09, 2026 - 22:22 NVD
7.5 (HIGH) 9.8 (CRITICAL)
CVSS changed
Jun 09, 2026 - 20:22 NVD
7.5 (HIGH)
CVE Published
Jun 09, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

An issue was discovered in bitbank2 AnimatedGIF v2.2.0. A buffer overflow in the DecodeLZW function allows remote attackers to cause a denial of service (crash) or potentially execute arbitrary code via a crafted GIF file.

Executive ViewAI

Why It Matters

bitbank2 AnimatedGIF v2.2.0 contains a critical vulnerability enabling unauthenticated remote code execution with publicly available exploit code. No vendor patch is available, creating immediate risk for any organization processing untrusted GIF files through this library.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable GIF processing capabilities in user-facing features until patched; (2) Implement strict input validation on GIF file headers and maximum file sizes; (3) Run affected services in isolated network segments with restricted inbound connectivity; (4) Deploy Web Application Firewall rules to detect and block malformed GIF payloads; (5) Restrict file upload and processing permissions to trusted internal systems only.

Threat Intelligence Overview

EPSS Score
0.2%
Top 64% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)CVE.org

cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*:*

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy