Home / The GNU C Library / glibc / CVE-2025-5745
CVE-2025-5745: is it exploited, and which versions of The GNU C Library glibc are affected and fixed?
CVE-2025-5745 is an improper initialization vulnerability in The GNU C Library glibc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: glibc 2.40 (CVE record by glibc). Fixed in 2.40-136 and 2.41-57 (NVD). Severity: Medium (5.6, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-5745?
The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2.40 and later writes to vector registers v20 to v31 without saving contents from the caller (those registers are defined as non-volatile registers by the powerpc64le ABI), resulting in overwriting of its contents and potentially altering control flow of the caller, or leaking the input strings to the function to other parts of the program.
From the CVE record by glibc, last updated June 5, 2025, 20:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| The GNU C Library | glibc Power10 | 2.40 |
As the CVE record by glibc states it, last updated June 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gnu | glibc | from 2.40 before 2.40-136 | application |
| gnu | glibc | from 2.41 before 2.41-57 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 09:48 UTC.
How severe is CVE-2025-5745?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-5745 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, June 5, 2025)
- EPSS
- 0.27% probability of exploitation activity in the next 30 days, percentile 19.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-665 Improper Initialization
Is there a workaround? (from the CVE record)
One may disable the Power10 optimized string routines in glibc to work around this issue, by setting the glibc.cpu.hwcaps tunable. This can be done by exporting the GLIBC_TUNABLES environment variable like so: export GLIBC_TUNABLES=glibc.cpu.hwcaps=-arch_3_1
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- June 5, 2025
- Published
- June 5, 2025, 19:20 UTC
- CVE record updated
- June 5, 2025, 20:13 UTC by glibc
- NVD
- Analyzed, last modified June 17, 2026, 09:48 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect glibc?
- Nov 19, 2026CVE-2026-126765 The GNU C Library glibc: double free
- Nov 17, 2026CVE-2026-124024 The GNU C Library glibc: buffer Over-read
- Nov 17, 2026CVE-2026-121758 The GNU C Library glibc: buffer Over-read
- Nov 17, 2026CVE-2026-121757 The GNU C Library glibc: buffer Over-read
- Nov 11, 2026CVE-2026-100290 The GNU C Library glibc: double free
- Nov 11, 2026CVE-2026-115819 The GNU C Library glibc: off-by-one Error
- Nov 4, 2026CVE-2026-122054 The GNU C Library glibc: infinite loop (denial of service)
- Oct 30, 2026CVE-2026-84243 The GNU C Library glibc: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2025-5745
Is CVE-2025-5745 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.27% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of The GNU C Library glibc are affected by CVE-2025-5745?
glibc 2.40, per the CVE record by glibc. The tables above give every range the sources list.
Which version fixes CVE-2025-5745?
2.40-136 and 2.41-57, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-5745?
Medium (5.6, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-5745?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.