CVE-2025-46407 Integer overflow in SAIL Image Decoding Library

High 8.8 Published Updated

An integer overflow in the SAIL Image Decoding Library allows remote code execution when processing 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-46407?

CVE-2025-46407 is a high-severity 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 Palette Decoding functionality of the SAIL Image Decoding Library v0.9.8. When loading a specially crafted .bmp file, an integer overflow can be made to occur which will cause a heap-based buffer to overflow when reading the palette from the image. These conditions can allow 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-46407?

It affects 1 product.

Products include Sail Sail.

How do I fix CVE-2025-46407?

Upgrade to a fixed version.

Is CVE-2025-46407 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46407 exists.

Sources

Also known as DEBIAN-CVE-2025-46407, GHSA-wcgr-3chc-fg24, UBUNTU-CVE-2025-46407.

Is CVE-2025-46407 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free