Skip to content
OpenAdvisories
Medium · 6.2 CVE-2025-0395 EUVD-2025-1642GHSA-4xpw-6594-8f5m

When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure me…

Published Jan 22, 2025 · Updated Oct 15, 2026 · Assigned by glibc

Description

When the assert() function in the GNU C Library versions 2.13 to 2.40 fails, it does not allocate enough space for the assertion failure message string and size information, which may lead to a buffer overflow if the message string size aligns to page size.

Affected products

VendorProductAffectedFixed
The GNU C Library glibc 2.13 – ≤ 2.40 —

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.

ReleasePackageFixed inAdvisory
Debian 14 glibc 2.40-6 —
Debian 13 glibc 2.40-6 —
Debian 12 glibc 2.36-9+deb12u10 —
Debian 11 glibc 2.31-13+deb11u12 DLA-4143-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS glibc 2.39-0ubuntu8.4 USN-7259-1
Ubuntu 22.04 LTS glibc 2.35-0ubuntu3.9 USN-7259-1
Ubuntu 20.04 LTS glibc 2.31-0ubuntu9.17 USN-7259-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS glibc 2.27-3ubuntu1.6+esm4 USN-7259-1
Ubuntu Pro 16.04 LTS glibc 2.23-0ubuntu11.3+esm8 USN-7259-2
Ubuntu Pro 14.04 LTS eglibc 2.19-0ubuntu6.15+esm4 USN-7259-3
ReleasePackageFixed inAdvisory
RHEL 9 nscd +214 2.34-125.el9_5.8 RHSA-2025:4244
RHEL 8 nscd +213 2.28-251.el8_10.16 RHSA-2025:3828
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS nscd +214 2.34-100.el9_4.10 RHSA-2025:4243
RHEL 9.2 EUS nscd +214 2.34-60.el9_2.17 RHSA-2025:4241
RHEL 9.0 E4S nscd +209 2.34-28.el9_0.8 RHSA-2025:4242

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 nscd +214 2.34-125.el9_5.8.alma.1 ALSA-2025:4244
AlmaLinux 8 nscd +213 2.28-251.el8_10.16 ALSA-2025:3828

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 glibc 2.34-125.el9_5.8 RLSA-2025:4244
Rocky Linux 8 glibc 2.28-251.el8_10.16 RLSA-2025:3828
ReleasePackageFixed inAdvisory
SLES 15 SP6 glibc 2.38-150600.14.23.1 SUSE-SU-2025:0582-1
SLES 15 SP5 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLES 15 SP4 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLES 15 SP3 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLES 12 SP5 glibc 2.22-114.40.1 SUSE-SU-2025:0510-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 glibc 2.40-160000.3.1 SUSE-SU-2026:20198-1
SLES for SAP 15 SP5 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLES for SAP 15 SP4 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLES for SAP 15 SP3 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-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_3.1 SUSE-SU-2025:20236-1
SLE Micro 6.0 glibc 2.38-8.1 SUSE-SU-2025:20135-1
SLE Micro 5.5 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE Micro 5.4 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE Micro 5.3 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE Micro 5.2 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE Micro 5.1 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE HPC 15 SP5 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE HPC 15 SP4 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SLE HPC 15 SP3 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SUSE Manager Server 4.3 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SUSE Manager Proxy 4.3 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
SUSE Enterprise Storage 7.1 glibc 2.31-150300.92.1 SUSE-SU-2025:0562-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed glibc 2.41-1.1 openSUSE-SU-2025:14851-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.23.1 SUSE-SU-2025:0582-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nscd +217 2.34-181.amzn2023.0.1 ALAS2023-2025-988
Amazon Linux 2 nscd +199 2.26-64.amzn2.0.4 ALAS2-2025-2828

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 glibc 2.38-11 —
Azure Linux 2 (CBL-Mariner) glibc 2.35-9 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 nscd +214 2.34-125.0.1.el9_5.8 ELSA-2025-4244
Oracle Linux 8 nscd +213 2.28-251.0.3.el8_10.16 ELSA-2025-3828

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling glibc 2.40-r6 —

Advisories 37

References