Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2026-40493 β€” AI Deep Analysis Summary

CVSS 9.8 Β· Critical

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: SAIL (open-source image decoding library) has a critical flaw in its PSD codec. <br>⚠️ **Consequences**: Inconsistent byte-per-pixel calculation vs. buffer allocation leads to **Heap Buffer Overflow**.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **CWE**: CWE-787 (Out-of-bounds Write). <br>πŸ” **Flaw**: The logic calculating bytes per pixel does not match the actual pixel buffer allocation size in the PSD encoder/decoder.…

Q3Who is affected? (Versions/Components)

πŸ“¦ **Vendor**: HappySeaFox. <br>πŸ“¦ **Product**: SAIL. <br>πŸ“… **Affected**: All versions prior to the fix commit `c930284445ea3ff94451ccd7a57c999eca3bc979`.…

Q4What can hackers do? (Privileges/Data)

πŸ‘‘ **Privileges**: High. CVSS 3.1 Score indicates **Complete** impact on Confidentiality, Integrity, and Availability.…

Q5Is exploitation threshold high? (Auth/Config)

πŸ”“ **Threshold**: **Low**. <br>πŸ“ **Auth/Config**: CVSS Vector `AV:N/AC:L/PR:N/UI:N` means: <br>- **Network** accessible. <br>- **Low** complexity. <br>- **No** privileges required. <br>- **No** user interaction needed.…

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ§ͺ **Public Exp?**: No specific PoC code is listed in the `pocs` array. <br>🌐 **Status**: However, the vulnerability is confirmed via GitHub Advisory (GHSA-rcqx-gc76-r9mv).…

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: <br>1. Scan for usage of **SAIL** library in your codebase. <br>2. Check if you process **PSD** (Photoshop) files. <br>3. Verify SAIL version against the fix commit hash. <br>4.…

Q8Is it fixed officially? (Patch/Mitigation)

βœ… **Fixed?**: **Yes**. <br>πŸ”§ **Patch**: The vendor has released a fix. <br>πŸ”— **Reference**: See commit `c930284445ea3ff94451ccd7a57c999eca3bc979` on GitHub. Update to the latest version immediately.

Q9What if no patch? (Workaround)

🚧 **No Patch Workaround**: <br>1. **Disable PSD support**: If SAIL is used only for other formats, disable the PSD codec module. <br>2. **Input Validation**: Strictly validate file headers before passing to SAIL. <br>3.…

Q10Is it urgent? (Priority Suggestion)

πŸ”₯ **Urgency**: **CRITICAL**. <br>πŸ“Œ **Priority**: **P0**. <br>With CVSS High severity, Network access, and Low complexity, this is a high-risk vulnerability.…