跳到正文
GitHub 安全公告库 (GHSA)·· 4 小时前AI 评分38

Pillow 12.3.0 原生整数运算可达未定义行为,可致拒绝服务或逻辑完整性受损

Pillow: Reachable undefined behavior in native integer operations, potentially leading to denial of service or logic integrity compromise

AI 导读

Pillow 12.3.0 的 src/_imaging.c 中 xsize += dx 仅校验正向溢出,当 PILfont 字形步进 dx 取 -32768 并重复 65,537 次时触发 C 有符号整数下溢未定义行为。

来源:GitHub 安全公告库 (GHSA) · github.com