---
title: "CVE-2022-3358"
canonical_url: "https://pkgseek.com/security/CVE-2022-3358"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2022-3358

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…

CVE-2022-3358 is rated HIGH (7.5), with 12 indexed affected package builds across 3 distributions.

- **Severity / Score**: HIGH (7.5)
- **Affected builds**: 12
- **Affected distros**: 3
- **Distros with fixed_in**: Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 9 | openssl | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-devel | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-libs | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Oracle Linux | 9 | openssl-perl | 1:3.0.1-47.0.1.el9_1 | 1:3.0.7-6.0.1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | openssl | 1:3.0.1-47.el9_1 | 1:3.0.7-6.el9_2 |
| Red Hat Enterprise Linux | 9.8 | openssl-devel | 1:3.0.1-47.el9_1 | 1:3.0.7-6.el9_2 |
| Red Hat Enterprise Linux | 9.8 | openssl-libs | 1:3.0.1-47.el9_1 | 1:3.0.7-6.el9_2 |
| Red Hat Enterprise Linux | 9.8 | openssl-perl | 1:3.0.1-47.el9_1 | 1:3.0.7-6.el9_2 |
| Ubuntu | jammy | libssl3 | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.7 |
| Ubuntu | jammy | libssl-dev | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.7 |
| Ubuntu | jammy | libssl-doc | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.7 |
| Ubuntu | jammy | openssl | 3.0.2-0ubuntu1 | 3.0.2-0ubuntu1.7 |
