Home / OpenSSL / OpenSSL / CVE-2021-4044
CVE-2021-4044: is it exploited, and which versions of OpenSSL are affected and fixed?
CVE-2021-4044 is an infinite loop (denial of service) vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: openssl-src from 300.0.0 before 300.0.4 (GitHub advisory GHSA-mmjf-f5jw-w72q). Fixed in 300.0.4 (GitHub advisory GHSA-mmjf-f5jw-w72q). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:52 UTC.
What is CVE-2021-4044?
Invalid handling of X509_verify_cert() internal errors in libssl
Internally libssl in OpenSSL calls X509_verify_cert() on the client side to verify a certificate supplied by a server. That function may return a negative return value to indicate an internal error (for example out of memory). Such a negative return value is mishandled by OpenSSL and will cause an IO function (such as SSL_connect() or SSL_do_handshake()) to not indicate success and a subsequent call to SSL_get_error() to return the value SSL_ERROR_WANT_RETRY_VERIFY. This return value is only supposed to be returned by OpenSSL if the application has previously called SSL_CTX_set_cert_verify_callback(). Since most applications do not do this the SSL_ERROR_WANT_RETRY_VERIFY return value from SSL_get_error() will be totally unexpected and applications may not behave correctly as a result. The exact behaviour will depend on the application but it could result in crashes, infinite loops or other similar incorrect responses. This issue is made more serious in combination with a separate bug in OpenSSL 3.0 that will cause X509_verify_cert() to indicate an internal error when processing a certificate chain. This will occur where a certificate does not include the Subject Alternative Name extension but where a Certificate Authority has enforced name constraints. This issue can occur even with valid chains. By combining the two issues an attacker could induce incorrect, application dependent behaviour. Fixed in OpenSSL 3.0.1 (Affected 3.0.0).
From the CVE record by openssl, last updated September 17, 2024, 03:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 3.0.1 (Affected 3.0.0) |
As the CVE record by openssl states it, last updated September 17, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| crates.io | openssl-src | >= 300.0.0, < 300.0.4 | 300.0.4 | GHSA-mmjf-f5jw-w72q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 19, 2022. Summary: Invalid handling of `X509_verify_cert()` internal errors in libssl.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openssl | openssl | before 1.0.2 | application |
| openssl | openssl | 1.1.0 | application |
| openssl | openssl | 3.0.0 | application |
| netapp | cloud backup | all versions | application |
| netapp | e-series performance analyzer | all versions | application |
| netapp | ontap select deploy administration utility | all versions | application |
| netapp | snapcenter | all versions | application |
| netapp | a250 firmware | all versions | operating system |
| netapp | 500f firmware | all versions | operating system |
| netapp | h500s firmware | all versions | operating system |
| netapp | h700s firmware | all versions | operating system |
| netapp | h300e firmware | all versions | operating system |
| netapp | h500e firmware | all versions | operating system |
| netapp | h700e firmware | all versions | operating system |
| netapp | h410s firmware | all versions | operating system |
| netapp | h410c firmware | all versions | operating system |
| netapp | h300s firmware | all versions | operating system |
| nodejs | node.js | from 17.0.0 before 17.3.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:18 UTC.
How severe is CVE-2021-4044?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-4044 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 50.1% probability of exploitation activity in the next 30 days, percentile 98.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- https://www.openssl.org/news/secadv/20211214.txt x_refsource_CONFIRM
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=758754966791c537ea95241438454aa86f91f256 x_refsource_CONFIRM
- https://security.netapp.com/advisory/ntap-20211229-0003/ x_refsource_CONFIRM
Who found and reported it?
- Tobias Nießen (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 2, 2021
- Published
- December 14, 2021, 18:40 UTC
- CVE record updated
- September 17, 2024, 03:17 UTC by openssl
- NVD
- Modified, last modified June 17, 2026, 04:18 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:52 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OpenSSL?
- Apr 7, 2014CVE-2014-0160 Openssl: out-of-bounds read exploited
- Dec 1, 2026CVE-2026-123780 OpenSSL: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-120667 OpenSSL: out-of-bounds write (memory corruption)
- Dec 1, 2026CVE-2026-120666 OpenSSL: data authenticity not verified
- Dec 1, 2026CVE-2026-120665 OpenSSL: improper certificate validation
- Nov 24, 2026CVE-2026-84785 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-95690 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-84786 OpenSSL: NULL pointer dereference (crash)
Questions about CVE-2021-4044
Is CVE-2021-4044 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 50.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenSSL are affected by CVE-2021-4044?
openssl-src from 300.0.0 before 300.0.4, per the GitHub advisory GHSA-mmjf-f5jw-w72q. The tables above give every range the sources list.
Which version fixes CVE-2021-4044?
300.0.4, per the GitHub advisory GHSA-mmjf-f5jw-w72q. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-4044?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-4044?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.