CVE-2025-0395
CVE-2025-0395
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.2 · Medium · EPSS 0.4% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
glibc
- Versions
- ≥ 2.13, ≤ 2.40: Affected (custom)
No fix published
glibc Debian:12
- Versions
- 2.36-9
- 2.36-9+deb12u1
- 2.36-9+deb12u2
- 2.36-9+deb12u3
- 2.36-9+deb12u4
- 2.36-9+deb12u5
- 2.36-9+deb12u6
- 2.36-9+deb12u7
- 2.36-9+deb12u8
- 2.36-9+deb12u9
- Affected ranges
- ECOSYSTEM: < 2.36-9+deb12u10
Update to 2.36-9+deb12u10
glibc Debian:13
- Affected ranges
- ECOSYSTEM: < 2.40-6
Update to 2.40-6
glibc Debian:14
- Affected ranges
- ECOSYSTEM: < 2.40-6
Update to 2.40-6
eglibc Ubuntu:Pro:14.04:LTS
- Versions
- 2.17-93ubuntu4
- 2.18-0ubuntu1
- 2.18-0ubuntu2
- 2.18-0ubuntu4
- 2.18-0ubuntu5
- 2.18-0ubuntu6
- 2.18-0ubuntu7
- 2.19-0ubuntu2
- 2.19-0ubuntu3
- 2.19-0ubuntu4
- 2.19-0ubuntu5
- 2.19-0ubuntu6
- 2.19-0ubuntu6.1
- 2.19-0ubuntu6.3
- 2.19-0ubuntu6.4
- 2.19-0ubuntu6.5
- 2.19-0ubuntu6.6
- 2.19-0ubuntu6.7
- 2.19-0ubuntu6.8
- 2.19-0ubuntu6.9
- 2.19-0ubuntu6.10
- 2.19-0ubuntu6.11
- 2.19-0ubuntu6.13
- 2.19-0ubuntu6.14
- 2.19-0ubuntu6.15
- 2.19-0ubuntu6.15+esm1
- 2.19-0ubuntu6.15+esm2
- 2.19-0ubuntu6.15+esm3
- Affected ranges
- ECOSYSTEM: < 2.19-0ubuntu6.15+esm4
Update to 2.19-0ubuntu6.15+esm4
glibc Ubuntu:Pro:16.04:LTS
- Versions
- 2.21-0ubuntu4
- 2.21-0ubuntu5
- 2.21-0ubuntu6
- 2.23-0ubuntu1
- 2.23-0ubuntu2
- 2.23-0ubuntu3
- 2.23-0ubuntu4
- 2.23-0ubuntu5
- 2.23-0ubuntu6
- 2.23-0ubuntu7
- 2.23-0ubuntu9
- 2.23-0ubuntu10
- 2.23-0ubuntu11
- 2.23-0ubuntu11.2
- 2.23-0ubuntu11.3
- 2.23-0ubuntu11.3+esm1
- 2.23-0ubuntu11.3+esm2
- 2.23-0ubuntu11.3+esm3
- 2.23-0ubuntu11.3+esm5
- 2.23-0ubuntu11.3+esm6
- 2.23-0ubuntu11.3+esm7
- Affected ranges
- ECOSYSTEM: < 2.23-0ubuntu11.3+esm8
Update to 2.23-0ubuntu11.3+esm8
glibc Ubuntu:Pro:18.04:LTS
- Versions
- 2.26-0ubuntu2
- 2.26-0ubuntu2.1
- 2.27-0ubuntu2
- 2.27-0ubuntu3
- 2.27-3ubuntu1
- 2.27-3ubuntu1.2
- 2.27-3ubuntu1.3
- 2.27-3ubuntu1.4
- 2.27-3ubuntu1.5
- 2.27-3ubuntu1.6
- 2.27-3ubuntu1.6+esm1
- 2.27-3ubuntu1.6+esm2
- 2.27-3ubuntu1.6+esm3
- Affected ranges
- ECOSYSTEM: < 2.27-3ubuntu1.6+esm4
Update to 2.27-3ubuntu1.6+esm4
glibc Ubuntu:20.04:LTS
- Versions
- 2.30-0ubuntu2
- 2.30-0ubuntu3
- 2.31-0ubuntu5
- 2.31-0ubuntu6
- 2.31-0ubuntu7
- 2.31-0ubuntu9
- 2.31-0ubuntu9.1
- 2.31-0ubuntu9.2
- 2.31-0ubuntu9.3
- 2.31-0ubuntu9.7
- 2.31-0ubuntu9.9
- 2.31-0ubuntu9.12
- 2.31-0ubuntu9.14
- 2.31-0ubuntu9.15
- 2.31-0ubuntu9.16
- Affected ranges
- ECOSYSTEM: < 2.31-0ubuntu9.17
Update to 2.31-0ubuntu9.17
glibc Ubuntu:22.04:LTS
- Versions
- 2.34-0ubuntu3
- 2.35-0ubuntu1
- 2.35-0ubuntu3
- 2.35-0ubuntu3.1
- 2.35-0ubuntu3.3
- 2.35-0ubuntu3.4
- 2.35-0ubuntu3.5
- 2.35-0ubuntu3.6
- 2.35-0ubuntu3.7
- 2.35-0ubuntu3.8
- Affected ranges
- ECOSYSTEM: < 2.35-0ubuntu3.9
Update to 2.35-0ubuntu3.9
glibc Ubuntu:24.04:LTS
- Versions
- 2.38-1ubuntu6
- 2.38-3ubuntu1
- 2.39-0ubuntu1
- 2.39-0ubuntu2
- 2.39-0ubuntu6
- 2.39-0ubuntu8
- 2.39-0ubuntu8.1
- 2.39-0ubuntu8.2
- 2.39-0ubuntu8.3
- Affected ranges
- ECOSYSTEM: < 2.39-0ubuntu8.4
Update to 2.39-0ubuntu8.4
Original sources
- https://www.openwall.com/lists/oss-security/2025/01/22/4
- https://sourceware.org/bugzilla/show_bug.cgi?id=32582
- https://sourceware.org/git/?p=glibc.git;a=blob;f=advisories/GLIBC-SA-2025-0001
- https://sourceware.org/pipermail/libc-announce/2025/000044.html
- http://www.openwall.com/lists/oss-security/2025/01/22/4
- http://www.openwall.com/lists/oss-security/2025/01/23/2
- https://security.netapp.com/advisory/ntap-20250228-0006/
- http://www.openwall.com/lists/oss-security/2025/04/13/1
- http://www.openwall.com/lists/oss-security/2025/04/24/7
- https://lists.debian.org/debian-lts-announce/2025/04/msg00039.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-577017.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-0395