CVE-2026-40493 | HappySeaFox sail Field Header out-of-bounds write (GHSA-rcqx-gc76-r9mv)
VulDBArchived Apr 18, 2026✓ Full text saved
A vulnerability classified as critical was found in HappySeaFox sail . This affects an unknown part of the component Field Handler . Executing a manipulation of the argument Header can lead to out-of-bounds write. This vulnerability is tracked as CVE-2026-40493 . The attack can be launched remotely. No exploit exists. A patch should be applied to remediate this issue.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358163 · CVE-2026-40493 · GHSA-RCQX-GC76-R9MV
HAPPYSEAFOX SAIL FIELD HEADER OUT-OF-BOUNDS WRITE
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
8.4 $0-$5k 1.90+
Summaryinfo
A vulnerability, which was classified as critical, has been found in HappySeaFox sail. This vulnerability affects unknown code of the component Field Handler. The manipulation of the argument Header leads to out-of-bounds write. This vulnerability is listed as CVE-2026-40493. The attack may be initiated remotely. There is no available exploit. To fix this issue, it is recommended to deploy a patch.
Detailsinfo
A vulnerability was found in HappySeaFox sail (affected version unknown). It has been rated as critical. This issue affects an unknown functionality of the component Field Handler. The manipulation of the argument Header with an unknown input leads to a out-of-bounds write vulnerability. Using CWE to declare the problem leads to CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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 `BPP40_CIE_LAB` allocates only 5 bytes per pixel. Every pixel write overshoots, causing a deterministic heap buffer overflow on every row. Commit c930284445ea3ff94451ccd7a57c999eca3bc979 contains a patch.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-40493 since 04/13/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
Applying the patch c930284445ea3ff94451ccd7a57c999eca3bc979 is able to eliminate this problem. The bugfix is ready for download at github.com.
Productinfo
Vendor
HappySeaFox
Name
sail
License
open-source
Website
Product: https://github.com/HappySeaFox/sail/
CPE 2.3info
🔒
CPE 2.2info
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Out-of-bounds write
CWE: CWE-787 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Patch
Status: 🔍
0-Day Time: 🔒
Patch: c930284445ea3ff94451ccd7a57c999eca3bc979
Timelineinfo
04/13/2026 CVE reserved
04/18/2026 +5 days Advisory disclosed
04/18/2026 +0 days VulDB entry created
04/18/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-rcqx-gc76-r9mv
Status: Confirmed
CVE: CVE-2026-40493 (🔒)
GCVE (CVE): GCVE-0-2026-40493
GCVE (VulDB): GCVE-100-358163
Entryinfo
Created: 04/18/2026 09:02
Changes: 04/18/2026 09:02 (66)
Complete: 🔍
Cache ID: 99:8B0:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸