SAIL Image Decoding Library Heap-Based Buffer Overflow Vulnerability Allowing Remote Code Execution

Vulnerability

A memory corruption vulnerability has been identified in the SAIL Image Decoding Library version 0.9.8, specifically within the PSD RLE Decoding functionality. This vulnerability arises when the library decompresses image data from a specially crafted .psd file, leading to a heap-based buffer overflow that can be exploited for remote code execution. The vulnerability is triggered by convincing the library to read a file containing the malicious .psd data.

Impact

Exploitation of this vulnerability causes a heap-based buffer overflow, which can lead to memory corruption and potentially allow for arbitrary code execution in the context of the application using the SAIL Image Decoding Library.

Reproduction

The vulnerability can be reproduced by using the SAIL Image Decoding Library to open a crafted .psd file that exploits the buffer overflow in the RLE decoding process. The proof-of-concept .psd file must be prepared to trigger the vulnerability by overflowing the buffer allocated for image data decoding.

Remediation

Users are advised to update to the patched version of the SAIL Image Decoding Library. The latest version can be obtained from the official SAIL website.

Added: Sep 1, 2025, 7:22 PM
Updated: Sep 1, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
8.7
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.