{"id":"CVE-2025-5745","published":"2025-06-05T19:20:23Z","modified":"2025-06-05T20:13:51Z","title":"The strncmp implementation optimized for the Power10 processor in the GNU C Library version 2.40 and later writes to…","vendor":"The GNU C Library","product":"glibc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00265,"percentile":0.18753,"provenance":"source"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=33060","tags":[]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.75},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"the-gnu-c-library","affectedVersions":[{"vendor":"The GNU C Library","product":"glibc","versions":["2.40"]}],"workarounds":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-05T20:11:39.550335Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-17018","exploited":false,"provenance":"source"}}