JLSEC-2026-1755: Verifying a maliciously crafted CMS or PKCS#7 SignedData message with CRL checking enabled may...
Issue summary: Verifying a maliciously crafted CMS or PKCS#7 SignedData message with CRL checking enabled may consume excessive CPU time, growing with the square of the message size.
Impact summary: An attacker who can submit a CMS or PKCS#7 SignedData message to an application that verifies it with CRL checking enabled can occupy a CPU core for seconds to minutes, causing Denial of Service. Applications that leave CRL checking disabled are not affected.
CWE: CWE-407: Inefficient Algorithmic Complexity
Description: With CRL checking enabled, OpenSSL compares each CRL distribution point of a certificate against the issuing distribution point of every candidate CRL. For a nameRelativeToCRLIssuer distribution point, the full name is the CRL issuer name with the relative name appended. Since the change that deferred this computation, crlcrldpcheck() rebuilds that full name for each candidate CRL and frees it again.
CMSverify() and PKCS7verify() take both the distribution points and the candidate CRLs from the message, and this scoring runs before any signature is checked. An application is exposed only if it sets X509VFLAGCRLCHECK on the store and does not pass CMSNOCRL or PKCS7NOCRL; CRL checking is off by default. In TLS the CRLs come from the local store, so a peer controls only the distribution point count.
The cost grows with the product of the distribution point count, the CRL count and the issuer name length, all chosen by the message author; a few hundred kilobytes can occupy a CPU core for tens of seconds. Verification still fails as it should, with no crash, no incorrect result and no memory growth. Requiring CRL checking is what limits the severity.
FIPS impact: no The affected code is outside the FIPS module boundary.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/AppBundlerto a version that resolves this vulnerability.Fixed in 1.0.1 - Upgrade
Upgrade
julia/OpenSSL_jllto a version that resolves this vulnerability.Fixed in 3.5.10+0 - Configuration
Leave CRL checking disabled; do not set X509_V_FLAG_CRL_CHECK.
OpenSSL X509_V_FLAG_CRL_CHECK = disabled
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which applications are exposed?
An application is exposed only when it verifies CMS or PKCS#7 SignedData messages, enables CRL checking by setting X509_V_FLAG_CRL_CHECK on its certificate store, and accepts attacker-supplied messages for verification.
Does an attacker need a valid signature or prior authentication to trigger the issue?
No valid signature is required because the expensive CRL distribution-point processing occurs before signature verification. An attacker needs only to be able to submit a maliciously crafted CMS or PKCS#7 SignedData message to the affected verification path.
Are applications using the default CRL-checking behavior affected?
Applications that leave CRL checking disabled are not affected. The issue requires CRL checking to be explicitly enabled for the verification store.
What is the practical impact of exploitation?
A crafted message can consume CPU time proportional to the square of the message size and occupy a CPU core for seconds to minutes. This can be used to cause denial of service.