Executive brief
Samsung's rlottie is an open-source animation rendering library used in many applications to display Lottie animations. An integer overflow vulnerability can lead to a buffer overflow when processing specially crafted animation files with large dimensions, potentially allowing an attacker to crash the application or execute arbitrary code.
Technical details
An integer overflow vulnerability exists in Samsung's rlottie library when calculating bitmap buffer sizes for animation rendering. The vulnerability occurs during stride and buffer size computation, where large dimension values in animation files can overflow integer calculations and result in undersized buffer allocation. An attacker can craft a malicious Lottie animation file with extremely large dimensions to trigger the overflow; no authentication or user interaction is required beyond processing the file. The fix, merged in August 2026, caps bitmap dimensions to reject requests larger than 128 MB and uses 64-bit arithmetic for calculations to prevent overflow.
Affected products
- Samsung rlottie <= prior to August 2026 patch
Timeline
- 2026-08-12: disclosed
- 2026-08-11: patched: Fix merged in GitHub pull request #600