CVE-2025-5745: Medium severity gnu c library vulnerability

Published Jun 5, 2025
·
Updated

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.

Affected Software

3 affected components
GNU C Library>=2.40
GNU glibc>=2.40<2.40-136
GNU glibc>=2.41<2.41-57

Event History

Jun 5, 2025
CVE Published
via MITRE·07:20 PM
Data Sourced
via MITRE·07:20 PM
Description
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-5745?

CVE-2025-5745 is considered to have a high severity due to the potential for data corruption and unexpected behavior in applications using the affected GNU C Library.

2

How do I fix CVE-2025-5745?

To fix CVE-2025-5745, upgrade the GNU C Library to version 2.41 or later where the issue has been resolved.

3

Which versions of the GNU C Library are affected by CVE-2025-5745?

CVE-2025-5745 affects GNU C Library version 2.40 and later.

4

What type of applications are vulnerable to CVE-2025-5745?

Applications that depend on the strncmp implementation in the GNU C Library version 2.40 or later on Power10 processors are vulnerable to CVE-2025-5745.

5

Is CVE-2025-5745 specific to any hardware architecture?

Yes, CVE-2025-5745 is specifically related to the Power10 processor architecture.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203