CVE-2026-40493
Linux Debian vulnerability analysis and mitigation

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.


SourceNVD

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40494CRITICAL9.8
  • Linux DebianLinux Debian
  • sail
NoNoApr 18, 2026
CVE-2026-40493CRITICAL9.8
  • Linux DebianLinux Debian
  • sail
NoNoApr 18, 2026
CVE-2026-40492CRITICAL9.8
  • Linux DebianLinux Debian
  • sail
NoNoApr 18, 2026
CVE-2026-40491MEDIUM6.5
  • PythonPython
  • gdown
NoYesApr 18, 2026
CVE-2026-41254MEDIUM4
  • Linux DebianLinux Debian
  • lcms2
NoNoApr 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management