CVSS 3.1
6.2 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HMedium (6.2) in the gnu c library glibc. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2025-0395 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-0395?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-0395?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-0395 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| The GNU C Library glibc | from 2.13 through 2.40 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | glibc | 2.31-13+deb11u12 | DLA-4143-1 |
| Debian | 12 | glibc | 2.36-9+deb12u10 | DEBIAN-CVE-2025-0395 |
| Debian | 13, 14 | glibc | 2.40-6 | DEBIAN-CVE-2025-0395 |
| Ubuntu | 20.04:LTS | glibc | 2.31-0ubuntu9.17 | UBUNTU-CVE-2025-0395 USN-7259-1 |
| Ubuntu | 22.04:LTS | glibc | 2.35-0ubuntu3.9 | UBUNTU-CVE-2025-0395 USN-7259-1 |
| Ubuntu | 24.04:LTS | glibc | 2.39-0ubuntu8.4 | UBUNTU-CVE-2025-0395 USN-7259-1 |
| Ubuntu | Pro:14.04:LTS | eglibc | 2.19-0ubuntu6.15+esm4 | UBUNTU-CVE-2025-0395 USN-7259-3 |
| Ubuntu | Pro:16.04:LTS | glibc | 2.23-0ubuntu11.3+esm8 | UBUNTU-CVE-2025-0395 USN-7259-2 |
| Ubuntu | Pro:18.04:LTS | glibc | 2.27-3ubuntu1.6+esm4 | UBUNTU-CVE-2025-0395 USN-7259-1 |
| Red Hat | enterprise_linux:8::appstream | glibc-utils, nscd-debuginfo, glibc-debuginfo and 10 more | 0:2.28-251.el8_10.16 | RHSA-2025:3828 |
| Red Hat | enterprise_linux:8::baseos | nscd, glibc, libnsl and 216 more | 0:2.28-251.el8_10.16 | RHSA-2025:3828 |
| Red Hat | enterprise_linux:8::crb | nss_hesiod, glibc-static, nscd-debuginfo and 12 more | 0:2.28-251.el8_10.16 | RHSA-2025:3828 |
| Red Hat | enterprise_linux:9::appstream | glibc-doc, glibc-devel, glibc-utils and 12 more | 0:2.34-125.el9_5.8 | RHSA-2025:4244 |
| Red Hat | enterprise_linux:9::baseos | nscd, glibc, libnsl and 212 more | 0:2.34-125.el9_5.8 | RHSA-2025:4244 |
| Red Hat | enterprise_linux:9::crb | nss_db, nss_hesiod, glibc-static and 12 more | 0:2.34-125.el9_5.8 | RHSA-2025:4244 |
| Red Hat | rhel_e4s:9.0::appstream | glibc-doc, glibc-devel, glibc-utils and 12 more | 0:2.34-28.el9_0.8 | RHSA-2025:4242 |
| Red Hat | rhel_e4s:9.0::baseos | nscd, glibc, libnsl and 212 more | 0:2.34-28.el9_0.8 | RHSA-2025:4242 |
| Red Hat | rhel_eus:9.2::appstream | glibc-doc, glibc-devel, glibc-utils and 12 more | 0:2.34-60.el9_2.17 | RHSA-2025:4241 |
| Red Hat | rhel_eus:9.2::baseos | nscd, glibc, libnsl and 212 more | 0:2.34-60.el9_2.17 | RHSA-2025:4241 |
| Red Hat | rhel_eus:9.2::crb | nss_db, nss_hesiod, glibc-static and 12 more | 0:2.34-60.el9_2.17 | RHSA-2025:4241 |
| Red Hat | rhel_eus:9.4::appstream | glibc-doc, glibc-devel, glibc-utils and 12 more | 0:2.34-100.el9_4.10 | RHSA-2025:4243 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 16 more | glibc | 2.31-150300.92.1 | SUSE-SU-2025:0562-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Development Tools 15 SP6 | glibc | 2.38-150600.14.23.1 | SUSE-SU-2025:0582-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | glibc | 2.22-114.40.1 | SUSE-SU-2025:0510-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | glibc | 2.40-160000.3.1 | SUSE-SU-2026:20198-1 |
| SUSE | Linux Micro 6.0 | glibc | 2.38-8.1 | SUSE-SU-2025:20135-1 |
| SUSE | Linux Micro 6.1 | glibc | 2.38-slfo.1.1_3.1 | SUSE-SU-2025:20236-1 |
| SUSE | Linux Micro 6.2 | glibc | 2.40-160000.3.1 | SUSE-SU-2026:20178-1 |
| SUSE | Linux Micro Extras 6.2 | glibc | 2.40-160000.3.1 | SUSE-SU-2026:20563-1 |
| openSUSE | Leap 15.6 | glibc | 2.38-150600.14.23.1 | SUSE-SU-2025:0582-1 |
| openSUSE | Leap 16.0 | glibc, glibc-cross-s390x-src, glibc-cross-aarch64-src and 2 more | 2.40-160000.3.1 | openSUSE-SU-2026:20133-1 |
| openSUSE | Tumbleweed | glibc | 2.41-1.1 | openSUSE-SU-2025:14851-1 |
| AlmaLinux | 8 | nscd, glibc, libnsl and 211 more | 2.28-251.el8_10.16 | ALSA-2025:3828 |
| AlmaLinux | 9 | nscd, glibc, libnsl and 212 more | 2.34-125.el9_5.8.alma.1 | ALSA-2025:4244 |
| Rocky Linux | 8 | glibc | 0:2.28-251.el8_10.16 | RLSA-2025:3828 |
| Rocky Linux | 9 | glibc | 0:2.34-125.el9_5.8 | RLSA-2025:4244 |
| Azure Linux | 2 | glibc | 2.35-9 | AZL-55937 |
| Azure Linux | 3 | glibc | 2.38-11 | AZL-55965 |
| Alpaquita | 23 | glibc | 2.37.0-r17 | BELL-CVE-2025-0395 |
| Alpaquita | stream | glibc | 2.39.0-r1 | BELL-CVE-2025-0395 |
| BellSoft Hardened Containers | 23 | glibc | 2.37.0-r17 | BELL-CVE-2025-0395 |
| BellSoft Hardened Containers | stream | glibc | 2.39.0-r1 | BELL-CVE-2025-0395 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Moderate.
The bug is with glib assert() function that is typically used to identify logic errors in programs. The specific vulnerability stems in not enough being allocated to fit an arbitrary length error statement that is passed to the assert() function. The lack of any check on the string length causes the buffer overflow.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-operator-bundle:26.2.4-2 | Fixed 2025-05-14 | RHBA-2025:7639 |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9:26.2-3 | Fixed 2025-05-14 | RHBA-2025:7639 |
| Red Hat build of Keycloak 26.2 | rhbk/keycloak-rhel9-operator:26.2-3 | Fixed 2025-05-14 | RHBA-2025:7639 |
| Red Hat Enterprise Linux 8 | glibc-0:2.28-251.el8_10.16 | Fixed 2025-04-14 | RHSA-2025:3828 |
| Red Hat Enterprise Linux 9 | glibc-0:2.34-125.el9_5.8 | Fixed 2025-04-28 | RHSA-2025:4244 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | glibc-0:2.34-28.el9_0.8 | Fixed 2025-04-28 | RHSA-2025:4242 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | glibc-0:2.34-60.el9_2.17 | Fixed 2025-04-28 | RHSA-2025:4241 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | glibc-0:2.34-100.el9_4.10 | Fixed 2025-04-28 | RHSA-2025:4243 |
| Red Hat Enterprise Linux 10 | glibc | Not affected | |
| Red Hat Enterprise Linux 6 | compat-glibc | Out of support scope | |
| Red Hat Enterprise Linux 6 | glibc | Out of support scope | |
| Red Hat Enterprise Linux 7 | compat-glibc | Out of support scope | |
| Red Hat Enterprise Linux 7 | glibc | Will not fix | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-0395.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-26-134-16 | Siemens Ruggedcom Rox | 2026-05-12 | Critical Manufacturing | RUGGEDCOM ROX MX5000, RUGGEDCOM ROX MX5000RE, RUGGEDCOM ROX RX1400 and 8 more | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.