CVE Explorer
CVE-2026-40492
SAIL is a cross-platform library for loading and saving images with support for animation, metadata, and ICC profiles. Prior to commit 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02, the XWD codec resolves pixel format based on `pixmap_depth` but the byte-swap code uses `bits_per_pixel` independently. When `pixmap_depth=8` (BPP8_INDEXED, 1 byte/pixel buffer) but `bits_per_pixel=32`, the byte-swap loop accesses memory as `uint32_t*`, reading/writing 4x the allocated buffer size. This is a different vul
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"sail","vendor":"HappySeaFox","versions":[{"status":"affected","version":"< 36aa5c7ec8a2bb35f6fb867a1177a6f141156b02"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1430112882a968dcc69b7d273128548cbad53dc098e9e1b2b560a4b2fce6007f · sha256:f28219741d75effc… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1430112882a968dcc69b7d273128548cbad53dc098e9e1b2b560a4b2fce6007f · sha256:f28219741d75effc… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1430112882a968dcc69b7d273128548cbad53dc098e9e1b2b560a4b2fce6007f · sha256:f28219741d75effc… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/HappySeaFox/sail/commit/36aa5c7ec8a2bb35f6fb867a1177a6f141156b02","tags":["x_refsource_MISC"],"url":"https://github.com/HappySeaFox/sail/commit/36aa5c7ec8a2bb35f6fb867a1177a6f141156b02"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1430112882a968dcc69b7d273128548cbad53dc098e9e1b2b560a4b2fce6007f · sha256:f28219741d75effc… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-526v-vm72-4v64"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1430112882a968dcc69b7d273128548cbad53dc098e9e1b2b560a4b2fce6007f · sha256:f28219741d75effc… · /containers/adp/0/references/0
{"name":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-526v-vm72-4v64","tags":["x_refsource_CONFIRM"],"url":"https://github.com/HappySeaFox/sail/security/advisories/GHSA-526v-vm72-4v64"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1430112882a968dcc69b7d273128548cbad53dc098e9e1b2b560a4b2fce6007f · sha256:f28219741d75effc… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.