CVE-2026-40493: Vulnerability in HappySeaFox Sail
Critical. SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to commit c930284445ea3ff94451ccd7a57c999eca3bc979, the PSD codec computes bytes-per-pixel (bpp) from raw header fields channels * depth, but the pixel buffer is allocated based on the resolved pixel format. For LAB mode with channels=3, depth=16, bpp = (3*16+7)/8 = 6, but the format...
CWE-787
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-787
- Published
- 18 Apr 2026
- Last change
- 26 Oct 2026
Affected products
Affected versions and the first fixed release
- HappySeaFox Sail Version < c930284445ea3ff94451ccd7a57c999eca3bc979. No fixed version recorded
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
Related
- Sail vulnerabilities Recent advisories, watch this product