All vulnerabilities

Servers and applications

CVE-2024-12797

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…

Severity
High 7.4
Published
11 Feb 2025
Last changed
6 Nov 2026
Added to UpHeron
7 Nov 2026
Fixed in
3.2.4, 3.3.3, 3.4.1
Exploit chance
1.8% in the next 30 daysHigher than 79% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-392
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Sources
NVD

Description

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…

From NVD. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenSSLServers and applications · cpe:a:openssl:openssl
  • From 3.2.0 before 3.2.4
  • From 3.3.0 before 3.3.3
  • From 3.4.0 before 3.4.1

About OpenSSL

open-source implementation of the SSL and TLS protocols

From Wikidata, CC0 1.0.
GitHub stars
31,449GitHub, 15 Nov 2026
Forks
11,615GitHub, 15 Nov 2026
Latest release
openssl-4.1.0GitHub, 15 Nov 2026
Released
23 Oct 2026GitHub
Developer
Richard LevitteWikidata
License
Apache Software License 2.0Wikidata
Written in
C, assembly language, PerlWikidata
First released
1998Wikidata
First published on GitHub
15 Jan 2013GitHub

Release lines

ReleaseLatestSecurity fixes
4.14.1.0Until 23 Nov 2027
4.04.0.3Until 14 May 2027
3.63.6.5Ended 1 Nov 2026
3.5 (LTS)LTS3.5.9Until 8 Apr 2030
3.43.4.8Ended 22 Oct 2026
3.33.3.7Ended 9 Apr 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-12797
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-12797