CVE Explorer
CVE-2026-54058
Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":"< 12.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.3,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/6a8de891fb00968e5ea79bfa84368ed90b3cfc1d"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9719","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9719"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/references/1
{"name":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/references/3
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-62p4-gmf7-7g93"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d123b32aa20176e8ba628d1570d1a099240c8559ed5f8474f6df4f94452e78b1 · sha256:aabca0f8c2a5c3dd… · /containers/adp/0/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.