Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54058— Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)

Quick assessment

Affected
python-pillow Pillow
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

python-pillow Pillow是python-pillow的图像处理库。 python-pillow Pillow 12.3.0之前版本存在缓冲区错误漏洞,该漏洞源于加载未压缩的McIdas AREA图像时,攻击者控制的标头字可将行跨度设置为小于自然行宽度,导致像素访问超出映射区域并泄露相邻进程内存或故障。

AI Predicted 5.3 Difficulty: Easy EPSS 0.68% · P50

Possible ATT&CK Techniques 1 AI

T1115 · Clipboard Data

Affected Version Matrix 1

VendorProduct Version RangeStatus
python-pillow Pillow < 12.3.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54058

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIdas AREA files)
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5
Vulnerability Title
python-pillow Pillow 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
python-pillow Pillow是python-pillow的图像处理库。 python-pillow Pillow 12.3.0之前版本存在缓冲区错误漏洞,该漏洞源于加载未压缩的McIdas AREA图像时,攻击者控制的标头字可将行跨度设置为小于自然行宽度,导致像素访问超出映射区域并泄露相邻进程内存或故障。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
python-pillow Pillow < 12.3.0 -

II. Public POCs for CVE-2026-54058

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54058

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-54058 (2)

Vendor Advisories for CVE-2026-54058 (1)

Vendor Pages for CVE-2026-54058 (1)

Same Patch Batch · python-pillow · 2026-07-14 · 8 CVEs total

CVE-2026-59197 8.2 HIGH Pillow: Heap out-of-bounds write in Pillow `ImageFilter.RankFilter` via integer overflow i
CVE-2026-59199 7.5 HIGH Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate ov
CVE-2026-59205 7.5 HIGH Pillow: Controlled heap out-of-bounds write in `ImageCmsTransform.apply()` via output mode
CVE-2026-59200 7.5 HIGH Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
CVE-2026-59198 6.5 MEDIUM Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated ima
CVE-2026-59203 5.3 MEDIUM Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of ser
CVE-2026-59204 Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial o

IV. Related Vulnerabilities

V. Comments for CVE-2026-54058

No comments yet


Leave a comment