# CVE-2024-4603: Excessive time spent checking DSA keys and parameters

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.79% (percentile 79, 2026-11-26)
- **CWE:** CWE-606
- **Published:** 2024-05-16T15:21:20.050Z
- **Modified:** 2026-11-09T16:20:11.160Z

## Who should check

- Anyone running OpenSSL \>= 3.0.0, \< 3.0.14; \>= 3.1.0, \< 3.1.6; \>= 3.2.0, \< 3.2.2; \>= 3.3.0, \< 3.3.1

## Description

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.

## Affected and fixed versions

- OpenSSL: \>= 3.0.0, \< 3.0.14; \>= 3.1.0, \< 3.1.6; \>= 3.2.0, \< 3.2.2; \>= 3.3.0, \< 3.3.1 (cvelist)

## Mitigation

- Upgrade OpenSSL to 3.3.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-4603. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-4603.md
Affected: OpenSSL >= 3.0.0, < 3.0.14; >= 3.1.0, < 3.1.6; >= 3.2.0, < 3.2.2; >= 3.3.0, < 3.3.1
Fixed in: OpenSSL 3.0.14, OpenSSL 3.1.6, OpenSSL 3.2.2, OpenSSL 3.3.1

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-4603 being exploited?

There is no confirmed exploitation: CVE-2024-4603 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.79% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-4603?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-4603?

OpenSSL \>= 3.0.0, \< 3.0.14; \>= 3.1.0, \< 3.1.6; \>= 3.2.0, \< 3.2.2; \>= 3.3.0, \< 3.3.1.

### Is there a fix for CVE-2024-4603?

Yes. Fixed in OpenSSL 3.0.14, OpenSSL 3.1.6, OpenSSL 3.2.2, OpenSSL 3.3.1. Upgrade OpenSSL to 3.3.1 or later.

### How do I check if I'm affected by CVE-2024-4603?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.openssl.org/news/secadv/20240516.txt>
- patch: <https://github.com/openssl/openssl/commit/3559e868e58005d15c6013a0c1fd832e51c73397>
- patch: <https://github.com/openssl/openssl/commit/9c39b3858091c152f52513c066ff2c5a47969f0d>
- patch: <https://github.com/openssl/openssl/commit/da343d0605c826ef197aceedc67e8e04f065f740>
- patch: <https://github.com/openssl/openssl/commit/53ea06486d296b890d565fb971b2764fcd826e7e>
- other: <http://www.openwall.com/lists/oss-security/2024/05/16/2>
- other: <https://security.netapp.com/advisory/ntap-20240621-0001/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-4603>

HTML: <https://flawdb.com/CVE-2024-4603> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-4603>
