{"id":"CVE-2025-5702","state":"PUBLISHED","title":"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 cal","description":"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.","publishedAt":"2025-06-05T18:23:57.872Z","updatedAt":"2025-06-05T20:21:44.764Z","severity":{"score":5.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"glibc","products":["The GNU C Library glibc"],"affected":[{"vendor":"The GNU C Library","product":"glibc","defaultStatus":"unaffected","versions":[{"version":"2.39","status":"affected","versionType":"custom"}],"platforms":["Power10"]}],"references":["https://sourceware.org/bugzilla/show_bug.cgi?id=33056"],"weaknesses":["CWE-665"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5702.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5702","state":"PUBLISHED","datePublished":"2025-06-05T18:23:57.872Z","dateUpdated":"2025-06-05T20:21:44.764Z","assignerShortName":"glibc","assignerOrgId":"3ff69d7a-14f2-4f67-a097-88dee7810d18","dateReserved":"2025-06-04T21:57:13.818Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"The GNU C Library","product":"glibc","defaultStatus":"unaffected","versions":[{"version":"2.39","status":"affected","versionType":"custom"}],"platforms":["Power10"]}],"references":[{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=33056"}],"providerMetadata":{"shortName":"glibc","orgId":"3ff69d7a-14f2-4f67-a097-88dee7810d18","dateUpdated":"2025-06-05T18:23:57.872Z"},"datePublic":"2025-06-05T02:03:00.000Z","workarounds":[{"lang":"en","value":"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:\n\n\n\n\nexport GLIBC_TUNABLES=glibc.cpu.hwcaps=-arch_3_1","supportingMedia":[{"type":"text/html","base64":false,"value":"One may disable the Power10 optimized string routines in glibc to work around this issue, by setting the <code>glibc.cpu.hwcaps</code> tunable. This can be done by exporting the <code>GLIBC_TUNABLES</code> environment variable like so:<br><br>\n\n<code>\nexport GLIBC_TUNABLES=glibc.cpu.hwcaps=-arch_3_1</code>"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.6,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-06-05T20:17:18.849567Z","id":"CVE-2025-5702","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-665","type":"CWE","lang":"en","description":"CWE-665 Improper Initialization"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-05T20:21:44.764Z"}}]}}}