CVE-2026-40493 in Platform products
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 res...
Affects 0 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Platform | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40493 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-152275-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-04-18 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
CVE-2026-40493 affects the SAIL library's PSD codec, where the bytes-per-pixel (bpp) calculation can lead to a buffer overflow due to a mismatch between the computed bpp and the allocated pixel buffer size for certain pixel formats, such as LAB mode with 3 channels and 16-bit depth.
An attacker can exploit this vulnerability by crafting a malicious PSD file with specific header values that cause the PSD codec to allocate an insufficiently sized pixel buffer. When the codec attempts to write data to this buffer, it can overflow, potentially leading to arbitrary code execution or other memory corruption issues.
Questions
What is CVE-2026-40493?
CVE-2026-40493 affects the SAIL library's PSD codec, where the bytes-per-pixel (bpp) calculation can lead to a buffer overflow due to a mismatch between the computed bpp and the allocated pixel buffer size for certain pixel formats, such as LAB mode with 3 channels and 16-bit depth.
What is the CVSS score for CVE-2026-40493?
CVE-2026-40493 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2026-40493 actively exploited?
No confirmed active exploitation of CVE-2026-40493 as of 2026-11-03.
How do I remediate CVE-2026-40493?
Priority: IMMEDIATE.
What systems are affected by CVE-2026-40493?
CVE-2026-40493 affects Platform.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Platform","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.