AnimatedGIF CVE-2026-30141
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint accepting GIF input
-
DeliveryCraft malformed LZW-encoded GIF
-
ExploitDeliver via upload or URL fetch
-
ExecutionTrigger buffer overflow in DecodeLZW
-
PersistCorrupt heap and hijack control flow
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
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
Lifecycle Timeline
6DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB