# CVE-2025-0395: 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…

- Severity: Medium 6.2 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2025-01-22T13:11:30.406Z
- Modified: 2026-10-15T01:01:52.824Z
- Weaknesses: CWE-131
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- The GNU C Library glibc: from 2.13 up to 2.40

## References

- <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>

## Sources

- CVE List: [CVE-2025-0395](https://www.cve.org/CVERecord?id=CVE-2025-0395), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-0395](https://nvd.nist.gov/vuln/detail/CVE-2025-0395), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-0395 · Whole record: https://cve.day/CVE-2025-0395.json · Rebuilt by cve.day 2026-11-25T22:58:53.504Z
