Vulnerabilities 3.4

If you think you have found a security bug in OpenSSL, please report it to us.

Show issues fixed only in OpenSSL 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 1.1.1, 1.1.0, 1.0.2, 1.0.1, 1.0.0, 0.9.8, 0.9.7, 0.9.6, or all versions.

CVE-2025-9230

Severity
Moderate
Published at
30 September 2025
Title
Out-of-bounds read & write in RFC 3211 KEK Unwrap
Found by
Stanislav Fort (Aisle Research)
Fix developed by
Stanislav Fort (Aisle Research) and Viktor Dukhovni
Affected
  • from 3.5.0 before 3.5.4
  • from 3.4.0 before 3.4.3
  • from 3.3.0 before 3.3.5
  • from 3.2.0 before 3.2.6
  • from 3.0.0 before 3.0.18
  • from 1.1.1 before 1.1.1zd
  • from 1.0.2 before 1.0.2zm
References

Issue summary: An application trying to decrypt CMS messages encrypted using password based encryption can trigger an out-of-bounds read and write.

Impact summary: This out-of-bounds read may trigger a crash which leads to Denial of Service for an application. The out-of-bounds write can cause a memory corruption which can have various consequences including a Denial of Service or Execution of attacker-supplied code.

Although the consequences of a successful exploit of this vulnerability could be severe, the probability that the attacker would be able to perform it is low. Besides, password based (PWRI) encryption support in CMS messages is very rarely used. For that reason the issue was assessed as Moderate severity according to our Security Policy.

The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as the CMS implementation is outside the OpenSSL FIPS module boundary.

CVE-2025-9231

Severity
Moderate
Published at
30 September 2025
Title
Timing side-channel in SM2 algorithm on 64 bit ARM
Found by
Stanislav Fort (Aisle Research)
Fix developed by
Stanislav Fort (Aisle Research) and Tomas Mraz
Affected
  • from 3.5.0 before 3.5.4
  • from 3.4.0 before 3.4.3
  • from 3.3.0 before 3.3.5
  • from 3.2.0 before 3.2.6
References

Issue summary: A timing side-channel which could potentially allow remote recovery of the private key exists in the SM2 algorithm implementation on 64 bit ARM platforms.

Impact summary: A timing side-channel in SM2 signature computations on 64 bit ARM platforms could allow recovering the private key by an attacker..

While remote key recovery over a network was not attempted by the reporter, timing measurements revealed a timing signal which may allow such an attack.

OpenSSL does not directly support certificates with SM2 keys in TLS, and so this CVE is not relevant in most TLS contexts. However, given that it is possible to add support for such certificates via a custom provider, coupled with the fact that in such a custom provider context the private key may be recoverable via remote timing measurements, we consider this to be a Moderate severity issue.

The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as SM2 is not an approved algorithm.

CVE-2025-9232

Severity
Low
Published at
30 September 2025
Title
Out-of-bounds read in HTTP client no_proxy handling
Found by
Stanislav Fort (Aisle Research)
Fix developed by
Stanislav Fort (Aisle Research)
Affected
  • from 3.5.0 before 3.5.4
  • from 3.4.0 before 3.4.3
  • from 3.3.3 before 3.3.5
  • from 3.2.4 before 3.2.6
  • from 3.0.16 before 3.0.18
References

Issue summary: An application using the OpenSSL HTTP client API functions may trigger an out-of-bounds read if the ’no_proxy’ environment variable is set and the host portion of the authority component of the HTTP URL is an IPv6 address.

Impact summary: An out-of-bounds read can trigger a crash which leads to Denial of Service for an application.

The OpenSSL HTTP client API functions can be used directly by applications but they are also used by the OCSP client functions and CMP (Certificate Management Protocol) client implementation in OpenSSL. However the URLs used by these implementations are unlikely to be controlled by an attacker.

In this vulnerable code the out of bounds read can only trigger a crash. Furthermore the vulnerability requires an attacker-controlled URL to be passed from an application to the OpenSSL function and the user has to have a ’no_proxy’ environment variable set. For the aforementioned reasons the issue was assessed as Low severity.

The vulnerable code was introduced in the following patch releases: 3.0.16, 3.1.8, 3.2.4, 3.3.3, 3.4.0 and 3.5.0.

The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue, as the HTTP client implementation is outside the OpenSSL FIPS module boundary.

CVE-2024-12797

Severity
High
Published at
11 February 2025
Title
RFC7250 handshakes with unauthenticated servers don't abort as expected
Found by
Apple Inc.
Fix developed by
Viktor Dukhovni
Affected
  • from 3.4.0 before 3.4.1
  • from 3.3.0 before 3.3.3
  • from 3.2.0 before 3.2.4
References

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.

CVE-2024-13176

Severity
Low
Published at
20 January 2025
Title
Timing side-channel in ECDSA signature computation
Found by
George Pantelakis (Red Hat) and Alicja Kario (Red Hat)
Fix developed by
Tomáš Mráz
Affected
  • from 3.4.0 before 3.4.1
  • from 3.3.0 before 3.3.3
  • from 3.2.0 before 3.2.4
  • from 3.1.0 before 3.1.8
  • from 3.0.0 before 3.0.16
  • from 1.1.1 before 1.1.1zb
  • from 1.0.2 before 1.0.2zl
References

Issue summary: A timing side-channel which could potentially allow recovering the private key exists in the ECDSA signature computation.

Impact summary: A timing side-channel in ECDSA signature computations could allow recovering the private key by an attacker. However, measuring the timing would require either local access to the signing application or a very fast network connection with low latency.

There is a timing signal of around 300 nanoseconds when the top word of the inverted ECDSA nonce value is zero. This can happen with significant probability only for some of the supported elliptic curves. In particular the NIST P-521 curve is affected. To be able to measure this leak, the attacker process must either be located in the same physical computer or must have a very fast network connection with low latency. For that reason the severity of this vulnerability is Low.

The FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are affected by this issue.