已关闭
fix: CVE-2026-27171 crc32_combine CPU consumption (backport of zlib 1.3.2 fix) [ArkUI-X-7.0-Release] #120
wu-jinpeng981212创建于 8月25日关闭于 17 天前
fix: CVE-2026-27171 crc32_combine CPU consumption (backport of zlib 1.3.2 fix) [ArkUI-X-7.0-Release] #120
已关闭
当前Pull Request已关闭, 关闭人@wu-jinpeng981212
8月25日 关联了issue:[security] CVE-2026-27171: crc32_combine CPU consumption — backport to ArkUI-X-7.0-Release
8月25日 关联了issue:[security] CVE-2026-27171: crc32_combine CPU consumption — backport to ArkUI-X-7.0-Release
wu-jinpeng981212
8月25日 评论:
8月25日 评论:
start build


8月25日 添加了label:waiting_on_author
openharmony_ci
8月25日 评论:
8月25日 评论:
该仓未配置门禁,无法触发构建。如需要检视代码请 pr作者 评论 code review


openharmony_ci
8月25日 评论:
8月25日 评论:
感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "code review" 请求检视 ,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。
Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "code review" comment to trigger the code review process. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.


8月25日 添加了label:dco检查成功
17 天前 关闭了 pull request
closes #239
Backport of the zlib 1.3.2 fix for CVE-2026-27171 onto this branch (vendored 1.3.1).
Vulnerability:
x2nmodp()had no negative-n guard; a negative len2 throughcrc32_combine64()/crc32_combine_gen64()drovewhile(n) n >>= 1without terminating (right-shift of a negative value never reaches zero) → unbounded CPU consumption (7ASECURITY audit).Complete fix shape (1 file):
crc32_combine64()/crc32_combine_gen64():if (len2 < 0) return 0;x2nmodp()returnsuLong; documented "n must not be negative"braid()result cast toz_crc_t;crc32_z()castlasttointReachability: crc32.c ships in libz (BUILD.gn static+shared).
DCO Signed-off-by present. Same fix already proposed for master (see the master PR).
Upstream: https://github.com/madler/zlib/releases/tag/v1.3.2
(generated by ohos-cve-autofix)