CVE-2025-52930 Memory corruption in SAIL Image Decoding Library
A heap-based buffer overflow in the SAIL Image Decoding Library allows remote code execution via a specially crafted BMP file.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-52930?
CVE-2025-52930 is a high-severity memory corruption vulnerability in SAIL Image Decoding Library, published on 25 Aug 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A memory corruption vulnerability exists in the BMPv3 RLE Decoding functionality of the SAIL Image Decoding Library v0.9.8. When decompressing the image data from a specially crafted .bmp file, a heap-based buffer overflow can occur which allows for remote code execution. An attacker will need to convince the library to read a file to trigger this vulnerability.
Weakness: CWE-680
Which versions are affected by CVE-2025-52930?
It affects 1 product.
Products include Sail Sail.
How do I fix CVE-2025-52930?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-52930 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-52930 exists.
Other vulnerabilities in SAIL Image Decoding Library
- CVE-2026-27168 SAIL: Heap-based Buffer Overflow in Sail-codecs-xwd
- CVE-2025-32468 Integer overflow in SAIL Image Decoding Library
- CVE-2025-35984 Memory corruption in SAIL Image Decoding Library
- CVE-2025-46407 Integer overflow in SAIL Image Decoding Library
- CVE-2025-50129 Memory corruption in SAIL Image Decoding Library
Sources
Also known as DEBIAN-CVE-2025-52930, GHSA-43rq-98qh-8hx4, UBUNTU-CVE-2025-52930.