CVE-2026-27171
MySQL vulnerability analysis and mitigation

Overview

CVE-2026-27171 is an infinite loop vulnerability in the zlib compression library affecting versions before 1.3.2. The flaw exists in the crc32_combine64 and crc32_combine_gen64 functions, where the internal x2nmodp function can perform right shifts within a loop that has no termination condition when provided with specially crafted input (e.g., a value of 0xffffffffffffffff). This causes excessive CPU consumption, resulting in a local denial-of-service condition. It was publicly disclosed on February 18, 2026, with a fix released in zlib 1.3.2 on February 17, 2026. The vulnerability carries a CVSS v3.1 base score of 5.5 (Medium) (Red Hat Advisory, zlib GitHub Issue).

Technical details

The root cause is classified under CWE-835 (Loop with Unreachable Exit Condition / Infinite Loop) and CWE-1284 (Improper Validation of Specified Quantity in Input). The x2nmodp function, used internally by crc32_combine_gen64 and crc32_combine64, performs iterative right-shift operations in a loop that lacks a proper termination condition when the input length argument is an extreme value such as 0xffffffffffffffff (e.g., returned by gzoffset64() on a NULL file handle). The attack vector is local, requiring low privileges and no user interaction. A proof-of-concept fuzzer harness demonstrating the issue was published in the upstream zlib GitHub issue tracker (zlib GitHub Issue).

Impact

Successful exploitation causes the affected process to consume CPU resources indefinitely, resulting in a denial-of-service condition on the local system. The impact is limited to availability — there is no confidentiality or integrity impact. Because zlib is a widely embedded library used across operating systems, language runtimes (e.g., Perl's Compress::Raw::Zlib), and applications, the vulnerability has a broad potential footprint, though exploitation requires local access and the ability to supply crafted input to an application using the affected API (Red Hat Advisory, zlib GitHub Issue).

Exploitability

A proof-of-concept fuzzer-based exploit is publicly available on the zlib GitHub issue tracker, demonstrating the infinite loop condition (zlib GitHub Issue). There is no evidence of active in-the-wild exploitation at this time, and no threat actor attribution has been reported. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.006% (0.000060), indicating a very low probability of exploitation in the near term (Red Hat Advisory).

Exploitation steps

  1. Identify a vulnerable target: Locate a system or application running zlib versions prior to 1.3.2 that exposes the crc32_combine_gen64 or crc32_combine64 API to local user input.
  2. Craft a triggering input: Prepare an input that causes the length argument passed to crc32_combine_gen64 to be 0xffffffffffffffff. One method is to open a gzip file with an invalid/empty mode string via gzopen(), causing it to return NULL, then pass the result of gzoffset64(NULL) (which returns 0xffffffffffffffff) directly to crc32_combine_gen64().
  3. Trigger the infinite loop: Execute the crafted program or input against the vulnerable application. The x2nmodp function enters a loop with no valid exit condition, causing the process to spin indefinitely and consume 100% of a CPU core.
  4. Achieve denial of service: The targeted process becomes unresponsive, starving other processes of CPU resources and causing a local denial-of-service condition (zlib GitHub Issue).

Indicators of compromise

  • Process: A process consuming 100% CPU for an extended, unexplained period, particularly one linked to zlib, gzip processing, or applications using Compress::Raw::Zlib (Perl).
  • Logs: Application logs showing a hung or unresponsive state during CRC32 computation or gzip offset operations; absence of expected output or progress from zlib-dependent processes.
  • System: System-level monitoring (e.g., top, htop, ps) showing a single process pegged at maximum CPU utilization with no I/O activity, consistent with an infinite loop rather than legitimate computation.

Mitigation and workarounds

The primary remediation is to upgrade zlib to version 1.3.2 or later, which was released on February 17, 2026, and addresses this vulnerability as part of a broader security audit (zlib 1.3.2 Release). Downstream consumers — including Linux distributions (openSUSE, Amazon Linux 2023), Microsoft Azure Linux, Perl's Compress::Raw::Zlib, and embedded products from Dell, Meinberg, IBM, and Splunk — should apply their respective vendor patches. Red Hat has published patch details via Bugzilla (bug #2440530) (Red Hat Advisory). No configuration-based workaround is available; upgrading is the only effective fix. Given the medium severity and low EPSS score, this can be addressed within regular patching cycles.

Community reactions

Microsoft acknowledged the vulnerability and published an advisory through the MSRC portal for their Azure Linux (AZL3) package (Microsoft MSRC). Red Hat, openSUSE, Amazon Linux, Dell, Meinberg, IBM, and Splunk have all issued downstream advisories or security bulletins addressing the vulnerability in their respective products. The Yocto Project security mailing list discussed the issue across multiple threads. Community reaction has been measured, consistent with the medium severity rating and absence of active exploitation.

Additional resources


SourceThis report was generated using AI

Related MySQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-61109MEDIUM6.5
  • MySQL logoMySQL
  • mysql8.4-debuginfo
NoYesJul 21, 2026
CVE-2026-61108MEDIUM6.5
  • MySQL logoMySQL
  • mysql-test
NoYesJul 21, 2026
CVE-2026-61144MEDIUM4.9
  • MySQL logoMySQL
  • cpe:2.3:a:oracle:mysql_cluster
NoYesJul 21, 2026
CVE-2026-61128MEDIUM4.9
  • MySQL logoMySQL
  • mysql-shell-fips
NoYesJul 21, 2026
CVE-2026-61096LOW2.9
  • MySQL logoMySQL
  • mysql:8.4::mysql-errmsg
NoYesJul 21, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management