Description
Passing too large an alignment to the memalign suite of functions (memalign, posix_memalign, aligned_alloc) in the GNU C Library version 2.30 to 2.42 may result in an integer overflow, which could consequently result in a heap corruption.
Note that the attacker must have control over both, the size as well as the alignment arguments of the memalign function to be able to exploit this. The size parameter must be close enough to PTRDIFF_MAX so as to overflow size_t along with the large alignment argument. This limits the malicious inputs for the alignment for memalign to the range [1<<62+ 1, 1<<63] and exactly 1<<63 for posix_memalign and aligned_alloc.
Typically the alignment argument passed to such functions is a known constrained quantity (e.g. page size, block size, struct sizes) and is not attacker controlled, because of which this may not be easily exploitable in practice. An application bug could potentially result in the input alignment being too large, e.g. due to a different buffer overflow or integer overflow in the application or its dependent libraries, but that is again an uncommon usage pattern given typical sources of alignments.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| The GNU C Library | glibc | 2.30 – ≤ 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.42-8 | — |
| Debian 13 | glibc | 2.41-12+deb13u2 | — |
| Debian 12 | glibc | 2.36-9+deb12u14 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | glibc | 2.42-0ubuntu3.1 | — |
| Ubuntu 24.04 LTS | glibc | 2.39-0ubuntu8.7 | — |
| Ubuntu 22.04 LTS | glibc | 2.35-0ubuntu3.13 | — |
Show 1 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 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | glibc +220 | 2.39-58.el10_1.7 | RHSA-2026:1334 |
| RHEL 9 | glibc +1 | 2.34-231.el9_7.10 | RHSA-2026:2786 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | glibc +223 | 2.42-11.1.hum1 | RHSA-2026:7316 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | glibc-doc | 2.39-58.el10_1.7.alma.1 | ALSA-2026:1334 |
| AlmaLinux 9 | nscd +214 | 2.34-231.el9_7.10 | ALSA-2026:2786 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | glibc | 2.39-58.el10_1.7 | RLSA-2026:1334 |
| Rocky Linux 9 | glibc | 2.34-231.el9_7.10 | RLSA-2026:2786 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | glibc | 2.38-150600.14.40.1 | SUSE-SU-2026:0371-1 |
| SLES 15 SP6 | glibc | 2.38-150600.14.40.1 | SUSE-SU-2026:0371-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 |
Show 18 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | glibc | 2.40-160000.3.1 | SUSE-SU-2026:20198-1 |
| SLES for SAP 15 SP6 | glibc | 2.38-150600.14.40.1 | SUSE-SU-2026:0371-1 |
| 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 |
| SLES 16.0 | glibc | 2.40-160000.3.1 | SUSE-SU-2026:20198-1 |
| SLE Micro 6.2 | glibc | 2.40-160000.3.1 | SUSE-SU-2026:20563-1, SUSE-SU-2026:20178-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 Live Patching 15 SP7 | glibc-livepatches | 0.3-150700.10.4.1 | SUSE-SU-2026:0827-1 |
| SLE Live Patching 15 SP6 | glibc-livepatches | 0.3-150600.8.2.1 | SUSE-SU-2026:0499-1 |
| SLE Live Patching 15 SP5 | glibc-livepatches | 0.3-150400.3.11.1 | SUSE-SU-2026:0347-1 |
| SLE Live Patching 15 SP4 | glibc-livepatches | 0.3-150400.3.11.1 | SUSE-SU-2026:0347-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.43-1.1 | openSUSE-SU-2026:10662-1 |
| openSUSE Leap 16.0 | glibc +4 | 2.40-160000.3.1 | openSUSE-SU-2026:20133-1 |
| openSUSE Leap 15.6 | glibc | 2.38-150600.14.40.1 | SUSE-SU-2026:0371-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | glibc | 2.38-18 | — |
| Azure Linux 2 (CBL-Mariner) | glibc | 2.35-9 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | glibc +220 | 2.39-58.0.1.el10_1.7 | ELSA-2026-1334 |
| Oracle Linux 9 | nscd +214 | 2.34-231.0.1.el9_7.10 | ELSA-2026-2786 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | glibc +54 | 2.42-r6 | — |
Advisories 28
- WID-SEC-2026-2189 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 2, 2026
- ALSA-2026:1334 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:2786 Moderate: glibc security update AlmaLinux Security Advisories · Oct 29, 2026
- WID-SEC-2026-1007 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2026
- WID-SEC-2026-2437 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 22, 2026
- RHSA-2026:7316 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:2786 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2026:1334 Red Hat Security Advisory: glibc security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- WID-SEC-2026-3038 Meinberg LANTIME: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 26, 2026
- SUSE-SU-2026:20563-1 Security update for glibc SUSE / openSUSE Security Updates · Jul 9, 2026
- WID-SEC-2026-0118 GNU libc: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Jun 7, 2026
- WID-SEC-2026-0778 Dell Secure Connect Gateway Policy Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- openSUSE-SU-2026:10662-1 glibc-2.43-1.1 on GA media SUSE / openSUSE Security Updates · May 1, 2026
- WID-SEC-2026-1194 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- openSUSE-SU-2026:20133-1 Security update for glibc 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:20198-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20178-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0499-1 Security update for glibc-livepatches 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:0827-1 Security update for glibc-livepatches SUSE / openSUSE Security Updates · Mar 6, 2026
- SUSE-SU-2026:20536-1 Security update for glibc SUSE / openSUSE Security Updates · Mar 4, 2026
- RLSA-2026:2786 Moderate: glibc security update Rocky Linux Security Advisories · Feb 24, 2026
- ELSA-2026-2786 Moderate: glibc security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Feb 17, 2026
- SUSE-SU-2026:0371-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2026:0347-1 Security update for glibc-livepatches SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2026:1334 Moderate: glibc security update Rocky Linux Security Advisories · Jan 30, 2026
- ELSA-2026-1334 Moderate: glibc security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jan 27, 2026