Description
The regcomp function in the GNU C library version from 2.4 to 2.41 is
subject to a double free if some previous allocation fails. It can be
accomplished either by a malloc failure or by using an interposed malloc
that injects random malloc failures. The double free can allow buffer
manipulation depending of how the regex is constructed. This issue
affects all architectures and ABIs supported by the GNU C library.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The GNU C Library | glibc | 2.4 – < 2.42 | 2.42 |
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 | glibc | 2.41-11 | — |
| Debian 13 | glibc | 2.41-11 | — |
| Debian 12 | glibc | 2.36-9+deb12u13 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | glibc | 2.39-0ubuntu8.6 | USN-7760-1 |
| Ubuntu 22.04 LTS | glibc | 2.35-0ubuntu3.11 | USN-7760-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | glibc | 2.31-0ubuntu9.18+esm1 | — |
| Ubuntu Pro 18.04 LTS | glibc | 2.27-3ubuntu1.6+esm6 | — |
| Ubuntu Pro 16.04 LTS | glibc | 2.23-0ubuntu11.3+esm9 | — |
| Ubuntu Pro 14.04 LTS | eglibc | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | glibc +220 | 2.39-46.el10_0 | RHSA-2025:13240 |
| RHEL 9 | nscd +214 | 2.34-168.el9_6.23 | RHSA-2025:12748 |
| RHEL 8 | nscd +213 | 2.28-251.el8_10.25 | RHSA-2025:12980 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | glibc-doc | 2.39-46.el10_0.alma.1 | ALSA-2025:13240 |
| AlmaLinux 8 | nscd +213 | 2.28-251.el8_10.25 | ALSA-2025:12980 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | glibc | 2.39-46.el10_0 | RLSA-2025:13240 |
| Rocky Linux 9 | glibc | 2.34-168.el9_6.23 | RLSA-2025:12748 |
| Rocky Linux 8 | glibc | 2.28-251.el8_10.25 | RLSA-2025:12980 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | glibc | 2.38-150600.14.37.1 | SUSE-SU-2025:02964-1 |
| SLES 15 SP6 | glibc | 2.38-150600.14.37.1 | SUSE-SU-2025:02964-1 |
| SLES 15 SP5 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLES 15 SP4 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLES 12 SP5 | glibc | 2.22-114.43.1 | SUSE-SU-2026:0680-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLES for SAP 15 SP4 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLE Micro 6.1 | glibc | 2.38-slfo.1.1_6.1 | SUSE-SU-2026:20536-1 |
| SLE Micro 6.0 | glibc | 2.38-11.1 | SUSE-SU-2026:20527-1 |
| SLE Micro 5.5 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLE Micro 5.4 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLE Micro 5.3 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLE Micro 5.2 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLE HPC 15 SP5 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
| SLE HPC 15 SP4 | glibc | 2.31-150300.98.1 | SUSE-SU-2026:0896-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.42-1.1 | openSUSE-SU-2025:15459-1 |
| openSUSE Leap 15.6 | glibc | 2.38-150600.14.37.1 | SUSE-SU-2025:02964-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nscd +217 | 2.34-231.amzn2023.0.1 | ALAS2023-2025-1179 |
| Amazon Linux 2 | nscd +199 | 2.26-64.amzn2.0.5 | ALAS2-2025-3040 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | glibc | 2.38-15 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | glibc +220 | 2.39-46.0.1.el10_0 | ELSA-2025-13240 |
| Oracle Linux 9 | nscd +214 | 2.34-168.0.1.el9_6.23 | ELSA-2025-12748 |
| Oracle Linux 8 | nscd +213 | 2.28-251.0.3.el8_10.25 | ELSA-2025-12980 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | glibc | 2.41-r56 | — |
Advisories 28
- WID-SEC-2026-2189 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- ALSA-2025:13240 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:12980 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2025-2855 IBM DataPower Gateway: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 17, 2026
- RHSA-2025:13240 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Sep 9, 2026
- RHSA-2025:12980 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Sep 9, 2026
- RHSA-2025:12748 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Sep 9, 2026
- WID-SEC-2025-1637 GNU libc: Schwachstelle ermöglicht unspezifischen Angriff BSI CERT-Bund (WID) · Sep 3, 2026
- USN-7760-1 glibc vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2025:15459-1 glibc-2.42-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20527-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0680-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02964-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0896-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 14, 2026
- SUSE-SU-2026:20536-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 4, 2026
- WID-SEC-2025-2361 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- WID-SEC-2025-2360 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 17, 2025
- ALAS2-2025-3040 Moderate: glibc security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 27, 2025
- NCSC-2025-0330 Kwetsbaarheden verholpen in Oracle Communications producten NCSC-NL (Netherlands) · Oct 23, 2025
- RLSA-2025:12748 Moderate: glibc security update Rocky Linux Security Advisories · Oct 7, 2025
- RLSA-2025:13240 Moderate: glibc security update Rocky Linux Security Advisories · Oct 3, 2025
- ALAS2023-2025-1179 Moderate: glibc security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Sep 15, 2025
- ICSA-25-072-03 Siemens SIMATIC S7-1500 TM MFP CISA ICS & IT advisories · Sep 9, 2025
- SSA-503939 SSA-503939: Vulnerabilities in the BIOS of the SIMATIC S7-1500 TM MFP Siemens ProductCERT · Sep 9, 2025
- RLSA-2025:12980 Moderate: glibc security update Rocky Linux Security Advisories · Sep 8, 2025
- ELSA-2025-13240 Moderate: glibc security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Aug 7, 2025
- ELSA-2025-12748 Moderate: glibc security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 5, 2025
- ELSA-2025-12980 Moderate: glibc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 5, 2025