
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-107891 is a multiple integer overflow vulnerability in the regcomp function of musl libc that can lead to incorrect memory allocation sizes and out-of-bounds heap writes. It affects musl libc versions 0.5.0 through 1.2.6 (all versions before 1.2.7). The vulnerability was initially reported privately by Julien Voisin, with subsequent analysis by Szabolcs Nagy and Rich Felker; it was publicly disclosed on October 21, 2026, and formally published on November 5, 2026. It carries a CVSS v3.1 base score of 8.1 (High) (Openwall musl list, GitHub Advisory).
The root cause is classified as CWE-190 (Integer Overflow or Wraparound) and CWE-787 (Out-of-bounds Write). The overflow conditions are triggered by the size and complexity of the regular expression passed to regcomp — not by the data being matched — meaning an attacker must be able to supply an untrusted regex to a vulnerable application. When integer arithmetic overflows during internal size calculations, the resulting heap allocation is undersized, and subsequent writes can extend beyond the allocated buffer. The vulnerability is network-exploitable (CVSS Attack Vector: Network) but requires high attack complexity, as exploitation depends on application-specific heap layout and concurrency conditions (Openwall oss-security, GitHub Advisory). A patch commit is publicly available at the musl-libc git repository (GitHub Advisory).
Successful exploitation can result in at minimum a predictable denial-of-service crash of the affected application. Depending on the application's heap layout and use of concurrent execution, arbitrary code execution may also be achievable, potentially leading to full compromise of confidentiality, integrity, and availability of the affected service. Any application linked against musl libc that processes regular expressions from untrusted sources is at risk, which includes a broad range of software deployed on Alpine Linux and other musl-based systems (Openwall musl list, Red Hat Bugzilla).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at the time of disclosure (Feedly). The NVD SSVC assessment classifies exploitation as "none" and notes the attack is not automatable, reflecting the high complexity required. The EPSS score is approximately 0.549% (47th percentile), indicating a relatively low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
regcomp function.regcomp processing. The overflow is triggered by the size/complexity of the regex itself, not the data being matched.regcomp to allocate an undersized heap buffer; subsequent writes overflow the buffer, corrupting adjacent heap memory.regcomp-related stack frames.The primary remediation is to upgrade musl libc to version 1.2.7 or later, which includes the fix committed at 7813e9119eb5fe681b6750b8a033a0490bca0941 (GitHub Advisory). For systems where patching is not immediately possible, the musl maintainers recommend applying the patch 0001-regex-avoid-int-overflow-in-regcomp.patch directly. As a workaround, applications should be configured to prevent processing of regular expressions from untrusted sources, and sandboxing of applications that handle untrusted regex input should be considered (Openwall musl list). Alpine Linux users should apply the security releases that bundle the musl 1.2.7 fix.
The vulnerability was disclosed by musl libc maintainer Rich Felker on the musl and oss-security mailing lists on October 21, 2026, crediting Julien Voisin for the initial private report and Szabolcs Nagy for subsequent analysis (Openwall musl list). The disclosure generated discussion on Lobste.rs, Hacker News, and Bluesky/Mastodon, with community commentary noting the broad impact on musl-based distributions such as Alpine Linux. A blog post on xeiaso.net and a Hacker News thread further amplified community awareness. Alpine Linux issued security releases (3.21.9, 3.22.7, 3.23.7, and 3.24.3) that included patches addressing this and related issues.
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
musl
devel
musl
focal (esm-apps)
musl
jammy
musl
jammy (esm-apps)
musl
noble
musl
noble (esm-apps)
musl
resolute
musl
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."