Skip to main content
CVE-2025-5745VulnerabilityPublished

CVE-2025-5745: The GNU C Library glibc · Vulnerability

Affects The GNU C Library glibcSource CVE Database V5

0

Not known to be exploited · CVSS 5.6 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
5.6Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Debiandebian/glibcpkg:deb/debian/glibcOther threatsAffected
  • =2.40
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should prioritize identifying systems running on Power10 processors with glibc version 2.40 or later. Since no official patches are currently linked, organizations should monitor glibc project communications for updates or security advisories providing fixes. In the interim, mitigation can include: 1) Restricting network access to vulnerable systems to trusted sources only, reducing exposure to remote attacks. 2) Employing application-level input validation and memory protection mechanisms to limit the impact of corrupted control flow. 3) Utilizing compiler or runtime options that enforce stricter register preservation or enable additional runtime checks if available. 4) Conducting thorough code audits and testing on affected systems to detect anomalous behavior caused by register corruption. 5) Considering temporary architectural workarounds such as disabling the optimized strncmp implementation for Power10 if feasible, or using alternative string comparison functions. 6) Enhancing monitoring and logging around affected systems to detect potential exploitation attempts early. 7) Planning for rapid deployment of patches once released by glibc maintainers. These steps go beyond generic advice by focusing on architecture-specific mitigations and proactive system hardening tailored to the vulnerability's nature.

Description

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.

References

Community reviews

Loading reviews…