{"id":"CVE-2025-46407","details":"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.","modified":"2026-07-15T01:49:19.216151950Z","published":"2025-08-25T14:17:47.494Z","database_specific":{"cwe_ids":["CWE-680"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46407.json","unresolved_ranges":[{"extracted_events":[{"introduced":"v0.9.8"},{"last_affected":"v0.9.8"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"talos"},"references":[{"type":"WEB","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2025-2215"},{"type":"WEB","url":"https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2215"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46407.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46407"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/happyseafox/sail","events":[{"introduced":"e73922273e04ef37ac50b0118960b756548a2d06"},{"last_affected":"e73922273e04ef37ac50b0118960b756548a2d06"}],"database_specific":{"cpe":"cpe:2.3:a:sail:sail:0.9.8:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.9.8"},{"last_affected":"0.9.8"}],"source":"CPE_STRING"}}],"versions":["0.9.8","v0.9.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46407.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}