Excessive time spent checking DSA keys and parameters
Issue summary: Checking excessively long DSA keys or parameters may be very slow. Impact summary: Applications that use the functions EVP_PKEY_param_check() or EVP_PKEY_public_check() to check a DSA public key or DSA parameters may experience long delays. Where the key or parameters that are being checked have been obtained from an untrusted source this may lead to a Denial of Service. The functions EVP_PKEY_param_check() or EVP_PKEY_public_check() perform various checks on DSA parameters. Some of those computations take a long time if the modulus (`p` parameter) is too large. Trying to use a very large modulus is slow and OpenSSL will not allow using public keys with a modulus which is over 10,000 bits in length for signature verification. However the key and parameter check functions do not limit the modulus size when performing the checks. An application that calls EVP_PKEY_param_check() or EVP_PKEY_public_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. These functions are not called by OpenSSL itself on untrusted DSA keys so only applications that directly call these functions may be vulnerable. Also vulnerable are the OpenSSL pkey and pkeyparam command line applications when using the `-check` option. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.
- Published
- May 16, 2024
- Updated
- Jun 17, 2026
- EPSS
- 1.1% · 65th percentile
- CWE
- CWE-606
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| openssl | openssl | cpe:2.3:a:openssl:openssl |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (openssl). Independent of NVD's CPE analysis and usually ahead of it.
OpenSSL OpenSSL
- 3.0.0 and later · before 3.0.14affected · semver
- 3.1.0 and later · before 3.1.6affected · semver
- 3.2.0 and later · before 3.2.2affected · semver
- 3.3.0 and later · before 3.3.1affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | openssl | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| AlmaLinux:9 | openssl-devel | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| AlmaLinux:9 | openssl-libs | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| AlmaLinux:9 | openssl-perl | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Alpine:v3.17 | openssl | before 3.0.13-r0 | 3.0.13-r0 |
| Alpine:v3.18 | openssl | before 3.1.5-r0 | 3.1.5-r0 |
| Alpine:v3.20 | openssl | before 3.3.0-r2 | 3.3.0-r2 |
| Debian:12 | openssl | before 3.0.14-1~deb12u1 | 3.0.14-1~deb12u1 |
| Debian:13 | openssl | before 3.2.2-1 | 3.2.2-1 |
| openSUSE:Tumbleweed | openssl-3 | before 3.1.4-8.1 | 3.1.4-8.1 |
| Red Hat:enterprise_linux:9::appstream | openssl-debuginfo | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9::appstream | openssl-debugsource | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9::appstream | openssl-devel | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9::appstream | openssl-libs-debuginfo | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9::appstream | openssl-perl | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9::baseos | openssl | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Red Hat:enterprise_linux:9::baseos | openssl-libs | before 1:3.2.2-6.el9_5 | 1:3.2.2-6.el9_5 |
| Rocky Linux:9 | openssl | before 1:3.2.2-6.el9_5.1 | 1:3.2.2-6.el9_5.1 |
| Rocky Linux:9 | openssl-fips-provider | before 0:3.0.7-6.el9_5 | 0:3.0.7-6.el9_5 |
| SUSE:Linux Enterprise Micro 5.3 | openssl-3 | before 3.0.8-150400.4.54.1 | 3.0.8-150400.4.54.1 |
| SUSE:Linux Enterprise Micro 5.3 | openssl-3 | before 3.0.8-150400.4.54.1 | 3.0.8-150400.4.54.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | openssl-3 | before 3.0.8-150500.5.33.1 | 3.0.8-150500.5.33.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | openssl-3 | before 3.0.8-150500.5.33.1 | 3.0.8-150500.5.33.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | openssl-3 | before 3.1.4-150600.5.7.1 | 3.1.4-150600.5.7.1 |
+4
Same product
openssl: all recordsOther highest-scoring records for the same primary product.
- CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV90Now
- CVE-2021-3711SM2 Decryption Buffer Overflow65This week
- CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code 65This week
- CVE-2016-2108The ASN.1 implementation in OpenSSL before 1.0.1o and 1.0.2 before 1.0.2c allows remote attackers to execute arbitrary code or cause a denia62This week
- CVE-2016-6309statem/statem.c in OpenSSL 1.1.0a does not consider memory-block movement after a realloc call, which allows remote attackers to cause a den60This week
- CVE-2022-3786X.509 Email Address Variable Length Buffer Overflow58Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| OpenSSL OpenSSL | 3.0.14 | Vendor (CNA) |
| OpenSSL OpenSSL | 3.1.6 | Vendor (CNA) |
| OpenSSL OpenSSL | 3.2.2 | Vendor (CNA) |
| OpenSSL OpenSSL | 3.3.1 | Vendor (CNA) |
| azl3 cloud-hypervisor-cvm 38.0.72-2 on Azure Linux 3.0 | 38.0.72.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 cloud-hypervisor-cvm 38.0.72.2-1 on Azure Linux 3.0 | - · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 edk2 20240524git3e722403cd16-8 on Azure Linux 3.0 | 20240524git3e722403cd16-8 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 nodejs 20.10.0-2 on Azure Linux 3.0 | 20.14.0-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 nodejs 20.14.0-1 on Azure Linux 3.0 | 20.14.0-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 openssl 3.3.0-2 on Azure Linux 3.0 | 3.3.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 openssl 3.3.2-1 on Azure Linux 3.0 | 3.3.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cloud-hypervisor-cvm 38.0.72-1 on CBL Mariner 2.0 | 38.0.72.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 cloud-hypervisor-cvm 38.0.72.2-1 on CBL Mariner 2.0 | - · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 hvloader 1.0.1-5 on CBL Mariner 2.0 | 1.0.1-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 hvloader 1.0.1-6 on CBL Mariner 2.0 | 1.0.1-6 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:openssl | 1:3.2.2-6.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:openssl-devel | 1:3.2.2-6.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:openssl-libs | 1:3.2.2-6.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:openssl-perl | 1:3.2.2-6.el9_5 · AlmaLinux:9 | Package registry (OSV) |
| alpine:openssl | 3.0.13-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:openssl | 3.0.14-1~deb12u1 · Debian:12 | Package registry (OSV) |
| opensuse:openssl-3 | 3.0.8-150500.5.33.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| red hat:openssl | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:openssl-debuginfo | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:openssl-debugsource | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:openssl-devel | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:openssl-libs | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::baseos | Package registry (OSV) |
| red hat:openssl-libs-debuginfo | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:openssl-perl | 1:3.2.2-6.el9_5 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| rocky linux:openssl | 1:3.2.2-6.el9_5.1 · Rocky Linux:9 | Package registry (OSV) |
+4
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Tomas Mrazremediation developer
- OSS-Fuzzfinder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2023-623721 days apartExcessive time spent checking invalid RSA public keys24Monitor
- CVE-2023-3446302 days apartExcessive time spent checking DH keys and parameters23Monitor
- CVE-2023-5678192 days apartExcessive time spent in DH check / generation with large Q parameter value22Monitor
- CVE-2023-3817290 days apartExcessive time spent checking DH q parameter value22Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-606 · Unchecked Input for Loop ConditionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/openssl/openssl/commit/3559e868e58005d15c6013a0c1fd832e51c73397
- github.com/openssl/openssl/commit/53ea06486d296b890d565fb971b2764fcd826e7e
- github.com/openssl/openssl/commit/9c39b3858091c152f52513c066ff2c5a47969f0d
- github.com/openssl/openssl/commit/da343d0605c826ef197aceedc67e8e04f065f740
- www.openssl.org/news/secadv/20240516.txt
- www.openwall.com/lists/oss-security/2024/05/16/2
- security.netapp.com/advisory/ntap-20240621-0001/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.