Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| musl -libc | musl | 0.5.0 – < 1.2.7 | 1.2.7 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | musl | 1.2.6-2 | — |
| Debian 13 | musl | No fix yet | — |
| Debian 12 | musl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | musl | No fix yet | — |
| Ubuntu 26.04 LTS | musl | No fix yet | — |
| Ubuntu 24.04 LTS | musl | No fix yet | — |
| Ubuntu 22.04 LTS | musl | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | musl | No fix yet | — |
| Ubuntu Pro 18.04 LTS | musl | No fix yet | — |
| Ubuntu Pro 16.04 LTS | musl | No fix yet | — |
| Ubuntu Pro 14.04 LTS | musl | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | musl | 1.2.6-r3 | — |
| Alpine v3.23 | musl | 1.2.5-r24 | — |
| Alpine v3.22 | musl | 1.2.5-r13 | — |
| Alpine v3.21 | musl | 1.2.5-r12 | — |
| Alpine v3.20 | musl | 1.2.5-r4 | — |