CVE-2026-63074: CMP Indefinite Cache Growth of ExtraCerts
A flaw was found in OpenSSL. The OpenSSL Certificate Management Protocol (CMP) caches additional certificates (extraCerts) sent in a CMP message, but never expunges them (for instance if they are invalid). If a server reuses an OSSLCMPCTX frequently, this cache of extraCerts may grow unboundedly, and a malicious client may flood a CMP server with requests driving this growth.
Users utilizing a CMP server that reuses a single OSSLCMPCTX for the lifetime of a server process may observe unbounded memory growth in the event a malicious client repeatedly sends requests containing unique extra certificates, which may lead to OOM conditions.
If a remote user sends CMP messages to a server with a list of extraCerts and the message is rejected, the extraCerts from the message remains in the server contexts untrusted certificate stack. This exposes servers with long lived ctx objects to Denial of Service attacks in which an attacker sends messages intending to be rejected with a large list of additional certificates repeatedly, forcing the server to store them indefinitely.
The issue was fixed by removing the added extra certs if the message is rejected, using the same method as when the context is configured to not do caching at all.
As the CMP code lives outside the FIPS module boundary, no FIPS modules are affected by this CVE.
OpenSSL 4.0, 3.6, 3.5, 3.4, and 3.0 are vulnerable to this issue. OpenSSL 1.1.1 and 1.0.2 are not affected by this issue. OpenSSL 4.0 users should upgrade to OpenSSL 4.0.2. OpenSSL 3.6 users should upgrade to OpenSSL 3.6.4. OpenSSL 3.5 users should upgrade to OpenSSL 3.5.8. OpenSSL 3.4 users should upgrade to OpenSSL 3.4.7. OpenSSL 3.0 users should upgrade to OpenSSL 3.0.22.
Other sources
CMP Indefinite Cache Growth of ExtraCerts
— Microsoft
Issue summary: The OpenSSL Certificate Management Protocol (CMP) caches additional certificates (extraCerts) sent in a CMP message, but never expunges them (for instance if they are invalid). If a server reuses an OSSLCMPCTX frequently, this cache of extraCerts may grow unboundedly, and a malicious client may flood a CMP server with requests driving this growth.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.3.7-6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 20240524git3e722403cd16-19 - Upgrade
Upgrade
alpine/opensslto a version that resolves this vulnerability.Fixed in 3.5.8-r0 - Upgrade
Upgrade
debian/opensslto a version that resolves this vulnerability.Fixed in 3.0.22-1~deb12u1Fixed in 3.5.7-1~deb13u2Fixed in 3.6.4-1 - Upgrade
Upgrade
azurelinux/opensslto a version that resolves this vulnerability.Fixed in 1:3.5.9-13.azl4 - Upgrade
Upgrade
azurelinux/edk2to a version that resolves this vulnerability.Fixed in 20240524git3e722403cd16-19 - Upgrade
Upgrade
azurelinux/opensslto a version that resolves this vulnerability.Fixed in 3.3.7-6 - Upgrade
Upgrade
ubuntu/opensslto a version that resolves this vulnerability.Fixed in 3.0.2-0ubuntu1.29 - Upgrade
Upgrade
ubuntu/opensslto a version that resolves this vulnerability.Fixed in 3.0.2-0ubuntu1.29+Fips1 - Upgrade
Upgrade
ubuntu/opensslto a version that resolves this vulnerability.Fixed in 3.0.13-0ubuntu3.15 - Upgrade
Upgrade
ubuntu/openssl-fipsto a version that resolves this vulnerability.Fixed in 3.0.13-0ubuntu3.15+Fips1 - Upgrade
Upgrade
ubuntu/opensslto a version that resolves this vulnerability.Fixed in 3.5.5-1ubuntu3.4 - Upgrade
Upgrade
OpenSSL 3.0to a version that resolves this vulnerability.Fixed in 3.0.22 - Upgrade
Upgrade
OpenSSL 3.4to a version that resolves this vulnerability.Fixed in 3.4.7 - Upgrade
Upgrade
OpenSSL 3.5to a version that resolves this vulnerability.Fixed in 3.5.8 - Upgrade
Upgrade
OpenSSL 3.6to a version that resolves this vulnerability.Fixed in 3.6.4 - Upgrade
Upgrade
OpenSSL 4.0to a version that resolves this vulnerability.Fixed in 4.0.2
Event History
Frequently Asked Questions
Which CMP server deployments are exposed to this denial-of-service condition?
Servers that reuse a single OSSL_CMP_CTX for the lifetime of the server process are exposed. The risk is unbounded memory growth when that long-lived context retains certificates from repeated requests.
What does an attacker need to do to trigger memory growth?
A remote attacker must repeatedly send CMP messages containing unique additional certificates (extraCerts), with messages intended to be rejected. The rejected messages leave their extraCerts in the server context's untrusted certificate stack.
What is the practical impact of exploitation?
Repeated requests can cause the extraCerts cache to grow indefinitely, consuming process memory. This can eventually lead to an out-of-memory condition and denial of service.
Is a server affected if it does not keep an OSSL_CMP_CTX for a long time?
The described exposure is specifically for servers with long-lived context objects, particularly one OSSL_CMP_CTX reused for the process lifetime. The provided information does not identify short-lived or non-reused contexts as affected.