Open
CVE-2026-112403 #107
Funda WangAdd on  15 days ago
Funda Wang
Funda WangCollaborators
15 days ago Create

一、漏洞信息
漏洞编号:CVE-2026-112403
漏洞归属组件:python-pillow
漏洞归属的版本:10.0.0,10.3.0,10.4.0,11.1.0,12.3.0,13.0.0,5.3.0,7.2.0,8.1.1,8.1.2,9.0.1,9.3.0
CVSS评分:
BaseScore:9.8 Critical
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
Pillow is a Python imaging library. Prior to 13.0.0, Pillow s JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg s actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. This issue is fixed in version 13.0.0.
漏洞公开时间:2026-10-20 06:17:07
漏洞创建时间:2026-10-26 15:03:06
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2026-112403

更多参考(点击展开)
参考来源 参考链接 来源链接
https://nvd.nist.gov/vuln/detail/CVE-2026-112403
https://cwe.mitre.org/data/definitions/287.html
https://www.first.org/epss
https://github.com/python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75
https://github.com/secwatch-io/sentinelgit-poc
https://github.com/python-pillow/Pillow/security/advisories/GHSA-8g5g-8vmr-9782
https://github.com/python-pillow/Pillow/releases/tag/13.0.0

漏洞分析指导链接:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
七彩瞬析开源风险感知平台
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/python-pillow/Pillow/commit/242a059aedc1935097d9aa1dc3f099750467ba75 circl

二、漏洞分析结构反馈
影响性分析说明:
Pillow is a Python imaging library. Prior to 13.0.0, Pillow s JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg s actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input.补充说明:issue 的「漏洞归属的版本」为 CPE 字典列表,非官方受影响范围;官方受影响版本为 < 13.0.0(13.0.0 修复,上游修复 commit 242a059aedc1935097d9aa1dc3f099750467ba75,GHSA-8g5g-8vmr-9782;注意利用需构建链接 libjpeg-turbo 3.x,旧版 2.x/IJG 会拒绝 SOF3 输入)。master 分支已经 PR #297 升级至 13.0.0 完成修复;其余分支(9.0.1/10.3.0)在受影响范围内,backport/升级 PR 尚未合入。
openEuler评分:
9.2
Vector:CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
受影响版本排查(受影响/不受影响):
1.master(13.0.0):受影响
2.openEuler-20.03-LTS-SP4(9.0.1):受影响
3.openEuler-22.03-LTS-SP4(9.0.1):受影响
4.openEuler-24.03-LTS-Next(10.3.0):受影响
5.openEuler-24.03-LTS-SP1(10.3.0):受影响
6.openEuler-24.03-LTS-SP3(10.3.0):受影响
7.openEuler-24.03-LTS-SP4(10.3.0):受影响

修复是否涉及abi变化(是/否):
1.master(13.0.0):否
2.openEuler-20.03-LTS-SP4(9.0.1):否
3.openEuler-22.03-LTS-SP4(9.0.1):否
4.openEuler-24.03-LTS-Next(10.3.0):否
5.openEuler-24.03-LTS-SP1(10.3.0):否
6.openEuler-24.03-LTS-SP3(10.3.0):否
7.openEuler-24.03-LTS-SP4(10.3.0):否

原因说明:
1.master(13.0.0):正常修复
2.openEuler-20.03-LTS-SP4(9.0.1):暂不修复-暂无解决方案或补丁
3.openEuler-22.03-LTS-SP4(9.0.1):暂不修复-暂无解决方案或补丁
4.openEuler-24.03-LTS-Next(10.3.0):暂不修复-暂无解决方案或补丁
5.openEuler-24.03-LTS-SP1(10.3.0):暂不修复-暂无解决方案或补丁
6.openEuler-24.03-LTS-SP3(10.3.0):暂不修复-暂无解决方案或补丁
7.openEuler-24.03-LTS-SP4(10.3.0):暂不修复-暂无解决方案或补丁

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
15 days ago Assign shinwell_hu、fundawang、yangzhao_kl as responsible person
openeuler-ci-botopeneuler-ci-botCollaborators
15 days ago Added label: sig/sig-python-modules
openeuler-ci-bot
openeuler-ci-botCollaborators
15 days ago Comments:

Welcome To openEuler Community

Hey @fundawang , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-python-modules ,
and any of the maintainers: @shinwell_hu, @yangzhao_kl ,
and any of the committers: @cherry530, @randy1568, @starlet-dx .

likedislike
yangwei999
13 days ago Comments:

/get-cve

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
13 days ago Comments:

@yangwei999 CVE信息从NVD同步成功, 稍后请重新加载页面.

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
13 days ago changed custom priority from 无优先级 to 无优先级
openeuler-ci-botopeneuler-ci-botCollaborators
13 days ago Modify description of issue
openeuler-ci-botopeneuler-ci-botCollaborators
13 days ago Assign cherry530 as responsible person, remove original responsible person: shinwell_hu、fundawang、yangzhao_kl
openeuler-ci-botopeneuler-ci-botCollaborators
13 days ago Added label: CVE/UNFIXED
Xxu_pingCollaborators
12 days ago Associated pull request
xu_pingCollaborators
12 days ago Comments:

影响性分析说明:
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input.
补充说明:issue 的「漏洞归属的版本」为 CPE 字典列表,非官方受影响范围;官方受影响版本为 < 13.0.0(13.0.0 修复,上游修复 commit 242a059aedc1935097d9aa1dc3f099750467ba75,GHSA-8g5g-8vmr-9782;注意利用需构建链接 libjpeg-turbo 3.x,旧版 2.x/IJG 会拒绝 SOF3 输入)。master 分支已经 PR #297 升级至 13.0.0 完成修复;其余分支(9.0.1/10.3.0)在受影响范围内,backport/升级 PR 尚未合入。

openEuler评分:9.2 Critical
BaseScore: 9.2
Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

受影响版本排查(受影响/不受影响):
1.master(13.0.0): 受影响
2.openEuler-20.03-LTS-SP4(9.0.1): 受影响
3.openEuler-22.03-LTS-SP4(9.0.1): 受影响
4.openEuler-24.03-LTS-Next(10.3.0): 受影响
5.openEuler-24.03-LTS-SP1(10.3.0): 受影响
6.openEuler-24.03-LTS-SP3(10.3.0): 受影响
7.openEuler-24.03-LTS-SP4(10.3.0): 受影响

修复是否涉及abi变化(是/否):
1.master(13.0.0): 否
2.openEuler-20.03-LTS-SP4(9.0.1): 否
3.openEuler-22.03-LTS-SP4(9.0.1): 否
4.openEuler-24.03-LTS-Next(10.3.0): 否
5.openEuler-24.03-LTS-SP1(10.3.0): 否
6.openEuler-24.03-LTS-SP3(10.3.0): 否
7.openEuler-24.03-LTS-SP4(10.3.0): 否

原因说明:
1.master(13.0.0): 正常修复
2.openEuler-20.03-LTS-SP4(9.0.1): 暂不修复-暂无解决方案或补丁
3.openEuler-22.03-LTS-SP4(9.0.1): 暂不修复-暂无解决方案或补丁
4.openEuler-24.03-LTS-Next(10.3.0): 暂不修复-暂无解决方案或补丁
5.openEuler-24.03-LTS-SP1(10.3.0): 暂不修复-暂无解决方案或补丁
6.openEuler-24.03-LTS-SP3(10.3.0): 暂不修复-暂无解决方案或补丁
7.openEuler-24.03-LTS-SP4(10.3.0): 暂不修复-暂无解决方案或补丁

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
12 days ago changed custom priority from 无优先级 to 无优先级
openeuler-ci-botopeneuler-ci-botCollaborators
12 days ago Modify description of issue
openeuler-ci-bot
openeuler-ci-botCollaborators
12 days ago Comments:

@cherry530 经过 cve-manager 解析, 已分析的内容如下表所示:

状态 分析项目 内容
已分析 1.影响性分析说明 Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input.补充说明:issue 的「漏洞归属的版本」为 CPE 字典列表,非官方受影响范围;官方受影响版本为 < 13.0.0(13.0.0 修复,上游修复 commit 242a059aedc1935097d9aa1dc3f099750467ba75,GHSA-8g5g-8vmr-9782;注意利用需构建链接 libjpeg-turbo 3.x,旧版 2.x/IJG 会拒绝 SOF3 输入)。master 分支已经 PR #297 升级至 13.0.0 完成修复;其余分支(9.0.1/10.3.0)在受影响范围内,backport/升级 PR 尚未合入。
已分析 2.openEulerScore 9.2
已分析 3.openEulerVector AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
已分析 4.受影响版本排查 master:受影响,openEuler-20.03-LTS-SP4:受影响,openEuler-22.03-LTS-SP4:受影响,openEuler-24.03-LTS-Next:受影响,openEuler-24.03-LTS-SP1:受影响,openEuler-24.03-LTS-SP3:受影响,openEuler-24.03-LTS-SP4:受影响
已分析 5.是否涉及abi变化 master:否,openEuler-20.03-LTS-SP4:否,openEuler-22.03-LTS-SP4:否,openEuler-24.03-LTS-Next:否,openEuler-24.03-LTS-SP1:否,openEuler-24.03-LTS-SP3:否,openEuler-24.03-LTS-SP4:否
已分析 6.原因说明 master:正常修复,openEuler-20.03-LTS-SP4:暂不修复-暂无解决方案或补丁,openEuler-22.03-LTS-SP4:暂不修复-暂无解决方案或补丁,openEuler-24.03-LTS-Next:暂不修复-暂无解决方案或补丁,openEuler-24.03-LTS-SP1:暂不修复-暂无解决方案或补丁,openEuler-24.03-LTS-SP3:暂不修复-暂无解决方案或补丁,openEuler-24.03-LTS-SP4:暂不修复-暂无解决方案或补丁

请确认分析内容的准确性, 确认无误后, 您可以进行后续步骤, 否则您可以继续分析.

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
12 days ago Comments:

经过cve-manager解析,所有PR均已合入

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
12 days ago changed custom state from 待办的 to 已挂起
openeuler-ci-botopeneuler-ci-botCollaborators
12 days ago changed custom priority from 无优先级 to 严重
openeuler-ci-botopeneuler-ci-botCollaborators
12 days ago Modify description of issue