CVE-2025-0395 Affecting glibc package, versions <2.40-r6


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.34% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-GLIBC-15387701
  • published4 Mar 2026
  • disclosed22 Jan 2025

Introduced: 22 Jan 2025

CVE-2025-0395  (opens in a new tab)

How to fix?

Upgrade Wolfi glibc to version 2.40-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream glibc package and not the glibc package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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

version 3.1