Vulnerability Description: - Potential vulnerability in function cloned from zlib but did not receive the security patch. - Original issue reported and fixed under madler/zlib@6a04314. - This PR applies the same patch to eliminate the vulnerability. References: - CVE-2016-9840 - madler/zlib@6a04314 Test Results: - 2731 tests: 2703 passed, 28 failed. - 47713 runs: 47685 passed, 28 failed. Milestone: 6.36.00 Comments: - Fixes potential vulnerable cloned functions in . - The issue was assigned to , , and . - PR merged on May 5, 2025. - The contributor plans to report this as a CVE. Related Pull Request: - Misc backport for zlib #18822