AnimatedGIF CVE-2026-30141
CRITICALSeverity 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
8DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allShare
External POC / Exploit Code
Leaving vuln.today