Skip to content
Noroxi
CVE-2022-3358· NVD / CVE Program· CNA openssl

Using a Custom Cipher with NID_undef may lead to NULL encryption

Noroxi assessment

Priority: Monitor (action score 31/100)

  • A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
  • Probability of exploitation in the next 30 days: 4% (FIRST EPSS); higher than 90.4% of all records.
  • 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.
  • Fixed version: openssl (AlmaLinux:9) 1:3.0.7-6.el9_2; openssl-devel (AlmaLinux:9) 1:3.0.7-6.el9_2; openssl-libs (AlmaLinux:9) 1:3.0.7-6.el9_2.

Low priority for now. Upgrade to openssl (AlmaLinux:9) 1:3.0.7-6.el9_2; openssl-devel (AlmaLinux:9) 1:3.0.7-6.el9_2; openssl-libs (AlmaLinux:9) 1:3.0.7-6.el9_2 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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

HighCVSS 7.5 · v3.1—Weaponized Fix available
Published
Oct 11, 2022
Updated
Jun 17, 2026
EPSS
4.0% · 90th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.0%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-3358

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
opensslopenssl

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • openssl openssl3.0.0 and later · before 3.0.6

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

    • Fixed in OpenSSL 3.0.6 (Affected 3.0.0-3.0.5)affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:9opensslbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
AlmaLinux:9openssl-develbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
AlmaLinux:9openssl-libsbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
AlmaLinux:9openssl-perlbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Alpine:v3.15openssl3before 3.0.6-r03.0.6-r0
Alpine:v3.17opensslfrom 3.0.0 · before 3.0.6-r03.0.6-r0
crates.ioopenssl-srcfrom 300.0.0 · before 300.0.10300.0.10
Debian:12opensslbefore 3.0.7-13.0.7-1
openSUSE:Tumbleweedopenssl-3before 3.0.7-1.13.0.7-1.1
Red Hat:enterprise_linux:9::appstreamopenssl-debuginfobefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Red Hat:enterprise_linux:9::appstreamopenssl-debugsourcebefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Red Hat:enterprise_linux:9::appstreamopenssl-develbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Red Hat:enterprise_linux:9::appstreamopenssl-libs-debuginfobefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Red Hat:enterprise_linux:9::appstreamopenssl-perlbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Red Hat:enterprise_linux:9::baseosopensslbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
Red Hat:enterprise_linux:9::baseosopenssl-libsbefore 1:3.0.7-6.el9_21:3.0.7-6.el9_2
SUSE:Linux Enterprise Module for Basesystem 15 SP4openssl-3before 3.0.1-150400.4.11.13.0.1-150400.4.11.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4openssl-3before 3.0.1-150400.4.11.13.0.1-150400.4.11.1

Other 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 remKEV
    90Now
  • CVE-2021-3711SM2 Decryption Buffer Overflow
    65This 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 denia
    62This 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 den
    60This week
  • CVE-2022-3786X.509 Email Address Variable Length Buffer Overflow
    58Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:openssl1:3.0.7-6.el9_2 · AlmaLinux:9Package registry (OSV)
almalinux:openssl-devel1:3.0.7-6.el9_2 · AlmaLinux:9Package registry (OSV)
almalinux:openssl-libs1:3.0.7-6.el9_2 · AlmaLinux:9Package registry (OSV)
almalinux:openssl-perl1:3.0.7-6.el9_2 · AlmaLinux:9Package registry (OSV)
alpine:openssl3.0.6-r0 · Alpine:v3.17Package registry (OSV)
alpine:openssl33.0.6-r0 · Alpine:v3.15Package registry (OSV)
crates.io:openssl-src300.0.10Package registry (OSV)
debian:openssl3.0.7-1 · Debian:12Package registry (OSV)
opensuse:openssl-33.0.1-150400.4.11.1 · openSUSE:Leap 15.4Package registry (OSV)
red hat:openssl1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:openssl-debuginfo1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:openssl-debugsource1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:openssl-devel1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:openssl-libs1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:openssl-libs-debuginfo1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:openssl-perl1:3.0.7-6.el9_2 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
suse:openssl-33.0.1-150400.4.11.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP4Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Metasploit moduleauxiliary/scanner/ssl/ssl_versionSSL/TLS Version Detectionauxiliary2014-10-14

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.

  1. Metasploit-2919 d
  2. Published
  3. TodayOct 17, 2026+1467 d
EPSS, last 120 days

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.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

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
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

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

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records