Database/Kernel, userspace & hypervisor
OpenSSL: CMP servers cache rejected extraCerts forever, letting a client drive the process to OOM
Impact
A server that reuses one OSSL_CMP_CTX for the lifetime of the process never expunges the extraCerts attached to incoming CMP messages, including messages it rejects. A malicious client can repeat requests carrying unique extra certificates and grow that untrusted-certificate stack without bound until the process hits OOM. The blast radius is narrow: this is the Certificate Management Protocol code path only, so ordinary TLS termination, libssl clients and FIPS module users are not affected - OpenSSL states explicitly that CMP lives outside the FIPS boundary. It matters where a fleet runs its own CMP-based certificate issuance service, since that service going OOM stops certificate enrollment and renewal for everything downstream.
Who can reach it
Anyone who can send CMP messages to the CMP server endpoint over the network. No authentication is needed - the messages are the ones the server rejects.
What to do
Update OpenSSL to a build containing the linked fix (rejected messages now drop the added extra certs) and restart every daemon linked against it; the record does not name fixed version numbers, so check your distribution's advisory for the exact release. If you do not operate a CMP server, no action is required. As an interim measure, do not reuse a single long-lived OSSL_CMP_CTX across requests, or disable extraCerts caching on the context.
References
Related entries
- Linux kernel (ALSA usb-audio): Out-of-bounds access for Extigy/Mbox devicesCVE-2024-53197 · Linux kernel (ALSA usb-audio)Medium
- Linux kernel (drivers/pci): Enabling or disabling SR-IOV virtual functions was not serialised against PCI hotplug, soCVE-2025-40219 · Linux kernel (drivers/pci)Medium
- Intel CPU (L1TF / Foreshadow-NG): L1 Terminal Fault: a guest reads any data present in the L1 data cache, includingCVE-2018-3646 · Intel CPU (L1TF / Foreshadow-NG)Medium
- Intel x86-64 CPUs (Ivy Bridge onward); Windows and Linux kernel entry paths: The kernel's syscall/interrupt entry pathCVE-2019-1125 · Intel x86-64 CPUs (Ivy Bridge onward); Windows and Linux kernel entry pathsMedium
- AMD CPU (Branch Type Confusion): Non-Retbleed branch type confusion - speculative cross-domain leakCVE-2022-23825 · AMD CPU (Branch Type Confusion)Medium
- AMD CPU (Retbleed): Retbleed: arbitrary speculative code execution via return instructionsCVE-2022-29900 · AMD CPU (Retbleed)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.