Description
stdlib/canonicalize.c in the GNU C Library (aka glibc or libc6) 2.27 and earlier, when processing very long pathname arguments to the realpath function, could encounter an integer overflow on 32-bit architectures, leading to a stack-based buffer overflow and, potentially, arbitrary code execution.
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.27-4 | — |
| Debian 13 | glibc | 2.27-4 | — |
| Debian 12 | glibc | 2.27-4 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | glibc | 2.27-3ubuntu1.2 | USN-4416-1 |
| Ubuntu 16.04 LTS | glibc | 2.23-0ubuntu11.2 | USN-4416-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | glibc | 2.27-3ubuntu1.6+esm2 | USN-6762-1 |
| Ubuntu Pro 16.04 LTS | glibc | 2.23-0ubuntu11.3+esm6 | USN-6762-1 |
| Ubuntu Pro 14.04 LTS | eglibc | 2.19-0ubuntu6.15+esm3 | USN-6762-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | nscd +7 | 2.17-260.el7 | RHSA-2018:3092 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | glibc | 2.26-13.3.1 | SUSE-SU-2018:1991-1 |
| SLES 12 SP3 | glibc | 2.22-62.13.2 | SUSE-SU-2018:1562-1 |
| SLES 12 SP2 | glibc | 2.22-62.13.2 | SUSE-SU-2018:1562-2, SUSE-SU-2018:1562-1 |
| SLES 12 SP1 | glibc | 2.19-40.16.950 | SUSE-SU-2018:2185-1 |
| SLES 12 | glibc | 2.19-22.27.958 | SUSE-SU-2018:2187-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | glibc | 2.11.3-17.110.14.1 | SUSE-SU-2018:2302-1 |
| SLES 11 SP3 | glibc | 2.11.3-17.110.14.1 | SUSE-SU-2018:2302-1 |
| SLES for SAP 12 SP3 | glibc | 2.22-62.13.2 | SUSE-SU-2018:1562-1 |
| SLES for SAP 12 SP2 | glibc | 2.22-62.13.2 | SUSE-SU-2018:1562-1 |
| SLES for SAP 12 SP1 | glibc | 2.19-40.16.950 | SUSE-SU-2018:2185-1 |
| SLES for SAP 11 SP4 | glibc | 2.11.3-17.110.14.1 | SUSE-SU-2018:2302-1 |
| SUSE OpenStack Cloud 7 | glibc | 2.22-62.13.2 | SUSE-SU-2018:1562-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | glibc | 2.11.3-17.110.14.1 | SUSE-SU-2018:2302-1 |
| SUSE Enterprise Storage 4 | glibc | 2.22-62.13.2 | SUSE-SU-2018:1562-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | glibc | 2.34-1.2 | openSUSE-SU-2024:10792-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | nscd +199 | 2.26-28.amzn2.0.1 | ALAS2-2018-1048 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | nscd +6 | 2.17-260.0.9.el7 | ELSA-2018-3092 |
Advisories 13
- USN-6762-1 eglibc, glibc vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- RHSA-2018:3092 Red Hat Security Advisory: glibc security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 27, 2026
- USN-4416-1 glibc vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2018:1991-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10792-1 glibc-2.34-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2185-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2187-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1562-2 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1562-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2302-1 Security update for glibc SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2025-1212 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 2, 2025
- ELSA-2018-3092 Moderate: glibc security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 5, 2018
- ALAS2-2018-1048 Moderate: glibc security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 8, 2018
References
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=5460617d1567657621107d895ee2dd83bc1f88f2
- 104255 vdb-entry
- https://sourceware.org/bugzilla/show_bug.cgi?id=22786
- RHSA-2018:3092 vendor-advisory
- https://security.netapp.com/advisory/ntap-20190329-0001/
- https://security.netapp.com/advisory/ntap-20190401-0001/
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- RHBA-2019:0327 vendor-advisory
- USN-4416-1 vendor-advisory