Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-4044

published

Invalid handling of X509_verify_cert() internal errors in libssl

Published
14 Dec 2021, 18:40:11 UTC
Updated
17 Sep 2024, 03:17:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSSL — OpenSSLFixed in OpenSSL 3.0.1 (Affected 3.0.0) Affected Not stated openssl
Alpine Linux edge openssl Fixed 3.0.1-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-develaarch64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
Alpine Linux v3.15 openssl3 Fixed 3.0.2-r0 Package fix record
Alpine Linux v3.16 openssl3 Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.17 openssl Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.18 openssl Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.19 openssl Fixed 3.0.1-r0 Package fix record
Show 28 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.20 openssl Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.21 openssl Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.22 openssl Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.23 openssl Fixed 3.0.1-r0 Package fix record
Alpine Linux v3.24 openssl Fixed 3.0.1-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-develppc64le Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devels390x Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-develx86_64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bitaarch64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bitppc64le Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bits390x Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bitx86_64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3aarch64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3ppc64le Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3s390x Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3x86_64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bitaarch64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bitppc64le Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bits390x Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bitx86_64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3aarch64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3ppc64le Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3s390x Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3x86_64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3-docaarch64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3-docppc64le Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3-docs390x Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1
SUSE / openSUSE openSUSE-Tumbleweed openssl-3-docx86_64 Advisory build 3.0.1-1.1 OPENSUSE-SU-2024:11797-1

Description

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).

en · openssl · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSSL OpenSSL Fixed in OpenSSL 3.0.1 (Affected 3.0.0) (affected) openssl · cna

Weaknesses

1
  • Invalid error handling (openssl · cna)

References

3

Provider assertions

2

openssl · cna

Invalid handling of X509_verify_cert() internal errors in libssl

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c099b87613310beeaa2f850f4bf165a53e0c608e9526192c4af784688a98b7ef
Ingested
23 Sep 2026, 07:57:18 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected