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-2022-3358

published

Using a Custom Cipher with NID_undef may lead to NULL encryption

Published
11 Oct 2022, 15:00:14 UTC
Updated
16 Sep 2024, 16:33:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSSL — OpenSSLFixed in OpenSSL 3.0.6 (Affected 3.0.0-3.0.5) Affected Not stated openssl
Amazon Linux AL2023 Release evaluationALAS2023-2023-054 Fixed Not stated Amazon Linux assessment
AlmaLinux 9 openssl Advisory build 1:3.0.7-6.el9_2 ALSA-2023:2523
Alpine Linux edge openssl Fixed 3.0.6-r0 Package fix record
Oracle Linux 9 opensslaarch64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Red Hat Enterprise Linux RHEL-9 opensslaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
SUSE / openSUSE SLE-15-SP4 libopenssl-3-develaarch64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
AlmaLinux 9 openssl-devel Advisory build 1:3.0.7-6.el9_2 ALSA-2023:2523
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 openssl-libs Advisory build 1:3.0.7-6.el9_2 ALSA-2023:2523
AlmaLinux 9 openssl-perl Advisory build 1:3.0.7-6.el9_2 ALSA-2023:2523
Alpine Linux v3.15 openssl3 Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.16 openssl3 Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.17 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.18 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.19 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.20 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.21 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.22 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.23 openssl Fixed 3.0.6-r0 Package fix record
Alpine Linux v3.24 openssl Fixed 3.0.6-r0 Package fix record
Oracle Linux 9 opensslx86_64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Oracle Linux 9 openssl-develaarch64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Oracle Linux 9 openssl-develx86_64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Oracle Linux 9 openssl-libsaarch64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Oracle Linux 9 openssl-libsx86_64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Oracle Linux 9 openssl-perlaarch64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Oracle Linux 9 openssl-perlx86_64 Advisory build 1:3.0.7-6.0.1.el9_2 ELSA-2023-2523
Red Hat Enterprise Linux RHEL-9 opensslppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssls390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 opensslsrc Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 opensslx86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debuginfoaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debuginfoi686 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debuginfoppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debuginfos390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debuginfox86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debugsourceaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debugsourcei686 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debugsourceppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debugsources390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-debugsourcex86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-develaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-develi686 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-develppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-devels390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-develx86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libsaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libsi686 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libsppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libss390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libsx86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libs-debuginfoaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libs-debuginfoi686 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libs-debuginfoppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libs-debuginfos390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-libs-debuginfox86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-perlaarch64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-perlppc64le Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-perls390x Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
Red Hat Enterprise Linux RHEL-9 openssl-perlx86_64 Advisory build 1:3.0.7-6.el9_2 RHSA-2023:2523
SUSE / openSUSE SLE-15-SP4 libopenssl-3-develppc64le Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 libopenssl-3-devels390x Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 libopenssl-3-develx86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 libopenssl3aarch64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 libopenssl3ppc64le Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 libopenssl3s390x Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 libopenssl3x86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 openssl-3aarch64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 openssl-3ppc64le Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 openssl-3s390x Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE SLE-15-SP4 openssl-3x86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl-3-develaarch64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl-3-develppc64le Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl-3-devels390x Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl-3-develx86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl-3-devel-32bitx86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl3aarch64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl3ppc64le Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl3s390x Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl3x86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 libopenssl3-32bitx86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 openssl-3aarch64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 openssl-3ppc64le Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 openssl-3s390x Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 openssl-3x86_64 Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Leap-15.4 openssl-3-docnoarch Advisory build 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-develaarch64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-develppc64le Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devels390x Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-develx86_64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bitaarch64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bitppc64le Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bits390x Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl-3-devel-32bitx86_64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3aarch64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3ppc64le Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3s390x Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3x86_64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bitaarch64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bitppc64le Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bits390x Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1
SUSE / openSUSE openSUSE-Tumbleweed libopenssl3-32bitx86_64 Advisory build 3.0.7-1.1 OPENSUSE-SU-2024:12475-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

OpenSSL supports creating a custom cipher via the legacy EVP_CIPHER_meth_new() function and associated function calls. This function was deprecated in OpenSSL 3.0 and application authors are instead encouraged to use the new provider mechanism in order to implement custom ciphers. OpenSSL versions 3.0.0 to 3.0.5 incorrectly handle legacy custom ciphers passed to the EVP_EncryptInit_ex2(), EVP_DecryptInit_ex2() and EVP_CipherInit_ex2() functions (as well as other similarly named encryption and decryption initialisation functions). Instead of using the custom cipher directly it incorrectly tries to fetch an equivalent cipher from the available providers. An equivalent cipher is found based on the NID passed to EVP_CIPHER_meth_new(). This NID is supposed to represent the unique NID for a given cipher. However it is possible for an application to incorrectly pass NID_undef as this value in the call to EVP_CIPHER_meth_new(). When NID_undef is used in this way the OpenSSL encryption/decryption initialisation function will match the NULL cipher as being equivalent and will fetch this from the available providers. This will succeed if the default provider has been loaded (or if a third party provider has been loaded that offers this cipher). Using the NULL cipher means that the plaintext is emitted as the ciphertext. Applications are only affected by this issue if they call EVP_CIPHER_meth_new() using NID_undef and subsequently use it in a call to an encryption/decryption initialisation function. Applications that only use SSL/TLS are not impacted by this issue. Fixed in OpenSSL 3.0.6 (Affected 3.0.0-3.0.5).

en · openssl · cna

Vendor advisories explicitly linked to this CVE.

19

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.6 (Affected 3.0.0-3.0.5) (affected) openssl · cna

Weaknesses

1
  • NULL encryption (openssl · cna)

References

5

Provider assertions

2

openssl · cna

Using a Custom Cipher with NID_undef may lead to NULL encryption

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
82fc6fd44809f977d3d015acce458a9e68c6c1577a13375de897db0b6a280ae3
Ingested
23 Sep 2026, 08:02:10 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