CVE-2023-31127: libspdm is a sample implementation that follows the DMTF SPDM specifications
CVE-2023-31127 is a critical-severity flaw (CVSS 9.0) affecting libspdm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
libspdm is a sample implementation that follows the DMTF SPDM specifications. A vulnerability has been identified in SPDM session establishment in libspdm prior to version 2.3.1. If a device supports both DHE session and PSK session with mutual authentication, the attacker may be able to establish the session with `KEY_EXCHANGE` and `PSK_FINISH` to bypass the mutual authentication. This is most likely to happen when the Requester begins a session
Why this priority
- Critical severity
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-31127?
libspdm: upgrade to 2.3.2. Exact commands for each OS are on this page.
Is CVE-2023-31127 being exploited?
CVE-2023-31127 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-31127 affect?
CVE-2023-31127 affects libspdm. Severity is critical (CVSS 9.0). libspdm is a sample implementation that follows the DMTF SPDM specifications. A vulnerability has been identified in SPDM session establishment in libspdm prior to version 2.3.1. If a device supports both DHE session and PSK session with mu
How urgent is CVE-2023-31127?
Priority 47/100. Critical severity
Related CVEs
- CVE-2023-32690 MEDIUM 5.7 UPGRADE libspdm is a sample implementation that follows the DMTF SPDM specifications