Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-95179 Overview
CVE-2026-95179 is a denial of service vulnerability in Airbnb's lottie-android library affecting versions 6.7.1 and earlier, including the master branch. A remote attacker can trigger uncontrolled recursion [CWE-674] by supplying a crafted Lottie animation JSON file. The malicious payload contains a cyclic precomposition reference graph that causes infinite recursion in the BaseLayer.forModel and CompositionLayer code paths. Successful exploitation exhausts stack resources and crashes the host application. The vulnerability requires no authentication or user interaction and is exploitable over the network wherever applications parse untrusted Lottie assets.
Critical Impact
Remote attackers can crash any Android application that renders attacker-supplied Lottie JSON animations, with no authentication required.
Affected Products
- Airbnb lottie-android versions 6.7.1 and earlier
- lottie-android master branch (pre-patch)
- Android applications embedding vulnerable lottie-android releases
Discovery Timeline
- 2026-10-15 - CVE-2026-95179 published to the National Vulnerability Database
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-95179
Vulnerability Analysis
The flaw resides in how lottie-android resolves precomposition layers inside Lottie animation JSON. Precompositions allow one composition to reference another, enabling nested animation structures. The library resolves these references recursively through BaseLayer.forModel and CompositionLayer without tracking visited nodes or enforcing a recursion depth limit.
An attacker crafts a JSON document where precomposition A references B, and B references A, forming a cycle. When the parser walks the reference graph, each resolution step pushes a new stack frame. The call stack grows without bound until the Java Virtual Machine throws a StackOverflowError, terminating the rendering thread or the entire application process.
Root Cause
The root cause is missing cycle detection in the composition reference resolver. The code assumes a directed acyclic graph (DAG) of precompositions, which holds for well-formed Lottie files produced by legitimate tooling. Untrusted input violates that assumption. The absence of a visited-set or depth counter maps directly to CWE-674 (Uncontrolled Recursion).
Attack Vector
Exploitation requires delivering a malicious Lottie JSON to an application that loads and renders remote animation content. Common vectors include chat clients, social media feeds, advertising SDKs, and any mobile app that fetches animations from user-controlled URLs or user-uploaded files. The attacker needs no credentials and no victim interaction beyond opening the view that renders the animation.
No verified public proof-of-concept code is available at the time of writing. Technical detail is published in the GitHub Security Advisory and a related fix is tracked in Samsung rlottie Pull Request 603.
Detection Methods for CVE-2026-95179
Indicators of Compromise
- Repeated StackOverflowError entries in Android application crash logs referencing BaseLayer.forModel or CompositionLayer frames
- Application Not Responding (ANR) reports correlated with inbound Lottie animation downloads
- Lottie JSON payloads containing self-referential or mutually referential refId values across the assets precomposition array
Detection Strategies
- Perform static scanning of Lottie JSON for cycles in the assets precomposition graph before rendering
- Monitor mobile crash analytics for a spike in stack overflow faults in com.airbnb.lottie package frames
- Inspect network traffic for Lottie files whose precomposition graph depth or refId references exceed expected bounds
Monitoring Recommendations
- Instrument Lottie-rendering code paths with timing and recursion depth telemetry forwarded to centralized logging
- Alert on repeated crashes from a single user session or inbound asset URL that correlate with Lottie parsing
- Track the lottie-android dependency version across the mobile application portfolio using software composition analysis
How to Mitigate CVE-2026-95179
Immediate Actions Required
- Inventory all Android applications and SDKs that bundle lottie-android version 6.7.1 or earlier
- Block or sandbox the loading of Lottie animations fetched from untrusted sources until a fixed release is deployed
- Validate incoming Lottie JSON server-side to reject documents containing cyclic precomposition references
Patch Information
Monitor the Airbnb lottie-android repository for an upstream release that addresses CWE-674 in the precomposition resolver. A parallel fix pattern for the Samsung rlottie library is tracked in Pull Request 603 and illustrates the cycle-detection approach. Rebuild and redistribute affected Android applications once a patched lottie-android version is published.
Workarounds
- Add a pre-parse validator that walks the assets array and rejects any precomposition graph containing a cycle
- Enforce a maximum recursion depth or maximum total layer count on inbound Lottie JSON
- Render untrusted Lottie animations in an isolated process so a crash does not terminate the main application
# Example dependency pin and server-side size cap pending an upstream patch
# build.gradle - pin and audit the Lottie dependency
implementation 'com.airbnb.android:lottie:6.7.1' # audit for update
# Reject oversized or deeply nested Lottie uploads at the edge (nginx)
client_max_body_size 256k;
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

