OpenSSL: Excessive Memory Allocation in Relative CRLDP Processing
What fixes it
- 4.0.3OpenSSLCVE List
- 3.6.5OpenSSLCVE List
- 3.5.9OpenSSLCVE List
- 3.4.8OpenSSLCVE List
- 3.0.23OpenSSLCVE List
- 1.1.1zjOpenSSLCVE List
Show all 7 fixed versions
- 1.0.2zsOpenSSLCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Issue summary: A certificate with many nameRelativeToCRLIssuer CRL distribution points causes disproportionate heap growth when OpenSSL caches X.509 extensions.
Impact summary: Receiving a crafted certificate from a malicious peer can lead to significant memory pressure and possible Denial of Service in clients or in servers that solicit client certificates.
CWE: CWE-770: Allocation of Resources Without Limits or Throttling
Description: A certificate or a set of certificates that fits under the limit for size of certificates accepted from the peer (~100 KiB) can result in allocation of several hundred MiB of resident memory on the receiving side during a normal TLS handshake. This may be enough to crash the client or server, if multiple concurrent connections lead to similarly large memory allocations.
The fix postpones processing of the CRL distribution points extensions in certificates to the time when the processed value is required for CRL processing. This avoids keeping large memory allocations for a long time when such certificates are received.
FIPS impact: no The affected code is outside the FIPS module boundary.
Text from CVE List
Affected versions 7
- OpenSSLaffected: 4.0.0 before 4.0.3CVE List
- OpenSSLaffected: 3.6.0 before 3.6.5CVE List
- OpenSSLaffected: 3.5.0 before 3.5.9CVE List
- OpenSSLaffected: 3.4.0 before 3.4.8CVE List
- OpenSSLaffected: 3.0.0 before 3.0.23CVE List
- OpenSSLaffected: 1.1.1 before 1.1.1zjCVE List
- OpenSSLaffected: 1.0.2 before 1.0.2zsCVE List
References 5
- github.com/openssl/openssl/commit/2b93c73b2c70ddc4c61c5e4bfaaa6bd71379eb84Fixvia CVE List
- github.com/openssl/openssl/commit/8e0efc7549b7ff8246d40e585e3fd604f728473fFixvia CVE List
- github.com/openssl/openssl/commit/3842516cc15e8b2cf55747011045e77547e71d89Fixvia CVE List
- github.com/openssl/openssl/commit/c72ae182cac17a82e4246c6ecd4e9c4ec3586ec9Fixvia CVE List
- openssl-library.org/news/secadv/20260929.txtAdvisoryvia CVE List