Skip to content
NewA calmer, faster ZeroHour
Vulnerability1 · 1 read

CVE-2026-107891

Integer overflows in musl libc regcomp before 1.2.7

CVSS 3.1
8.1 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-107891 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

musl libc before 1.2.7 has multiple integer overflows in regcomp when an untrusted regular expression is compiled. A remote attacker who can supply that expression, without authentication or user interaction, may trigger incorrect allocation sizes and out-of-bounds heap writes. Attack complexity is high. Systems and applications that pass untrusted patterns to musl regcomp are affected.

What to do: Upgrade musl libc to 1.2.7. No workaround is stated.

ProductAffectedFixed in
musl libcbefore 1.2.71.2.7
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

musl libc before 1.2.7, when an untrusted regular expression is used with regcomp, has multiple integer overflows, possibly leading to incorrect allocation sizes and out-of-bounds heap writes.

Weakness
CWE-190
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

2 stories