CVE-2024-12797 | RFC7250 handshakes with unauthenticated servers don't abort as expected

Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a server may fail to notice that the server was not authenticated, because handshakes don't abort as expected when the SSL_VERIFY_PEER verification mode is set. Impact summary: TLS and DTLS connections using raw public keys may be vulnerable to man-in-middle attacks when server authentication failure is not detected by clients. RPKs are disabled by default in both TLS clients and TLS servers. The issue only arises when TLS clients explicitly enable RPK use by the server, and the server, likewise, enables sending of an RPK instead of an X.509 certificate chain. The affected clients are those that then rely on the handshake to fail when the server's RPK fails to match one of the expected public keys, by setting the verification mode to SSL_VERIFY_PEER. Clients that enable server-side raw public keys can still find out that raw public key verification failed by calling SSL_get_verify_result(), and those that do, and take appropriate action, are not affected. This issue was introduced in the initial implementation of RPK support in OpenSSL 3.2. The FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.

Published: 2025-02-11 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-12797 is rated Moderate Risk (55.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.36%). Core evidence: EPSS rose +1.56% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-12797

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.80% 2.36% +1.56%
2 2026-05-23 0.58% 0.80% +0.22%
3 2026-05-22 0.58%

Full EPSS history (37 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-12797

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.8 3.4 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-12797

GitHub Security Advisory for CVE-2024-12797

GHSA-79v4-65xg-pq4g · Severity: low · Ecosystem: pip — Vulnerable OpenSSL included in cryptography wheels

OS Trackers for CVE-2024-12797

vendor priority summary link
alpine CVE-2024-12797: 1 source package rows (openssl); 40 state rows across 4 repos (3.20-main, 3.21-main, 3.22-main, edge-main); fixed 4, open 36. https://security.alpinelinux.org/vuln/CVE-2024-12797
debian unimportant CVE-2024-12797 unimportant priority: Debian including 1 source packages (openssl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-12797
redhat high https://access.redhat.com/security/cve/CVE-2024-12797
suse high CVE-2024-12797 severity important: SUSE including 327 source package names (1.1.0-1.1:libopenssl3-3.2.3-150700.5.5.1, 1.1.0-1.1:openssl-3-3.2.3-150700.5.5.1, …), 794 product×package rows across 120 product lines (Container bci/kiwi, Container private-registry/harbor-core, … (120 product lines)): Known Not Affected 370, Known Affected 231, Fixed 193. https://www.suse.com/security/cve/CVE-2024-12797/
ubuntu high CVE-2024-12797 high priority: Ubuntu including 4 source packages (edk2, nodejs, openssl, openssl1.0), 33 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, trusty, upstream, xenial): not-affected 22, DNE 5, needs-triage 3, released 3. https://ubuntu.com/security/CVE-2024-12797

Affected software / configurations for CVE-2024-12797

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2024-12797

cvelogic Threat Intelligence