CVE-2025-5702

The strcmp implementation optimized for the Power10 processor in the GNU C Library version 2.39 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
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*

History

01 Oct 2025, 15:37

Type Values Removed Values Added
Summary
  • (es) La implementación de strcmp optimizada para el procesador Power10 en GNU C Library versión 2.39 y posteriores escribe en los registros vectoriales v20 a v31 sin guardar el contenido del llamador (esos registros están definidos como registros no volátiles por la ABI powerpc64le), lo que da como resultado la sobrescritura de su contenido y la posible alteración del flujo de control del llamador o la filtración de las cadenas de entrada a la función a otras partes del programa.
CPE cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
First Time Gnu
Gnu glibc
References () https://sourceware.org/bugzilla/show_bug.cgi?id=33056 - () https://sourceware.org/bugzilla/show_bug.cgi?id=33056 - Issue Tracking

05 Jun 2025, 21:15

Type Values Removed Values Added
CWE CWE-665
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.6

05 Jun 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-05 19:15

Updated : 2025-10-01 15:37


NVD link : CVE-2025-5702

Mitre link : CVE-2025-5702

CVE.ORG link : CVE-2025-5702


JSON object : View

Products Affected

gnu

  • glibc
CWE
CWE-665

Improper Initialization