CVE-2022-4450: Double free after calling PEM_read_bio_ex

CVE-2022-4450 affects 198 listed versions of Aruba ClearPass Policy Manager, Aruba AOS-CX, Stormshield SNS firmware and 5 more products in the Dawnsentry catalogue.

7.5CVSS high
None knownexploitation
29%EPSS (next 30 days)
8 February 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Aruba ClearPass Policy Manager

76 of 113 listed versions are affected. Fixed in 6.10.8 HF1, 6.9.13 HF1. The newest release, 6.14.1-HF3, is not affected.

6.10.8 6.10.7 6.10.6 6.10.5_CPPM 6.10.5 6.10.4 6.10.3-HF1 6.10.3 6.10.2 6.9.13 6.9.12 6.9.11 6.9.10 6.9.9-HF1 6.9.9 6.9.7 6.9.6 6.9.5 6.9.4 6.9.3 6.9.2 6.8.9-HF3 6.8.9-hotfix2 6.8.9-hotfix1 6.8.9_Hotfix_for_Q1_2022_Security_issues 6.8.9 6.8.8 6.8.7 6.8.6 6.8.5 6.8.4 6.8.1 6.7.14 6.7.13 6.7.12 6.7.6 6.7.5 6.7.3 6.7.2 6.7.1 6.6.10 6.6.9 6.6.5 6.6.2 6.6.0 6.5.7 6.5.6 6.5.5 6.5.4 6.5.3 6.5.2 6.5.1 6.5.0 6.5 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 and 16 more

Aruba AOS-CX

41 of 111 listed versions are affected. Fixed in 10.11.0010, 10.10.1070, 10.06.0240. The newest release, 10.19.0000, is not affected.

10.11.1005 10.11.0010 10.11.0001 10.10.1060 10.10.1050 10.10.1030 10.10.1020 10.09.1040 10.09.1031 10.09.1030 10.09.1020 10.09.1010 10.09.0010 10.09.0002 10.09.0001 10.08.1080 10.08.1070 10.08.1060 10.08.1050 10.08.1040 10.08.1030 10.08.0130 10.08.0010 10.08.0001 10.07.0080 10.07.0070 10.07.0061 10.07.0050 10.07.0030 10.07.0020 10.07.0010 10.07.0009 10.06.0230 10.06.0220 10.06.0210 10.06.0200 10.06.190 10.06.0180 10.06.0170 10.06.0130 10.06.0120

Stormshield SNS firmware

17 of 85 listed versions are affected. Fixed in 4.6.3, 4.3.16. The newest release, 5.1.4, is not affected.

4.6.0 4.4.0 4.3.15 4.3.8 4.3.7 4.3.5 4.2.11 4.2.10 4.2.8 4.2.7 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.1.1 4.0.1

SonicWall SMA 200 firmware

14 of 22 listed versions are affected. Fixed in 10.2.1.7-50sv. The newest release, 10.2.2.2-92sv, is not affected.

10.2.1.6-37sv 10.2.1.5-34sv 10.2.1.4-31sv 10.2.1.2-24sv 10.2.1.1-19sv 10.2.1.0-17sv 10.2.0.9-41sv 10.0.0.0 9.0.0.11-31sv 9.0.0.10-28sv 9.0.0.9-26sv 9.0.0.5-19sv 9.0.0.4 9.0.0.3

SonicWall SMA 400 firmware

14 of 22 listed versions are affected. Fixed in 10.2.1.7-50sv. The newest release, 10.2.2.2-92sv, is not affected.

10.2.1.6-37sv 10.2.1.5-34sv 10.2.1.4-31sv 10.2.1.2-24sv 10.2.1.1-19sv 10.2.1.0-17sv 10.2.0.9-41sv 10.0.0.0 9.0.0.11-31sv 9.0.0.10-28sv 9.0.0.9-26sv 9.0.0.5-19sv 9.0.0.4 9.0.0.3

SonicWall SMA 210 firmware

12 of 22 listed versions are affected. Fixed in 10.2.1.7-50sv. The newest release, 10.2.2.3, is not affected.

10.2.1.6-37sv 10.2.1.5-34sv 10.2.1.4-31sv 10.2.1.2-24sv 10.2.1.1-19sv 10.0.0.0 9.0.0.11-31sv 9.0.0.10-28sv 9.0.0.9-26sv 9.0.0.5-19sv 9.0.0.4 9.0.0.3

SonicWall SMA 410 firmware

12 of 22 listed versions are affected. Fixed in 10.2.1.7-50sv. The newest release, 10.2.2.3, is not affected.

10.2.1.6-37sv 10.2.1.5-34sv 10.2.1.4-31sv 10.2.1.2-24sv 10.2.1.1-19sv 10.0.0.0 9.0.0.11-31sv 9.0.0.10-28sv 9.0.0.9-26sv 9.0.0.5-19sv 9.0.0.4 9.0.0.3

SonicWall SMA 500v firmware

12 of 22 listed versions are affected. Fixed in 10.2.1.7-50sv. The newest release, 10.2.2.3, is not affected.

10.2.1.6-37sv 10.2.1.5-34sv 10.2.1.4-31sv 10.2.1.2-24sv 10.2.1.1-19sv 10.0.0.0 9.0.0.11-31sv 9.0.0.10-28sv 9.0.0.9-26sv 9.0.0.5-19sv 9.0.0.4 9.0.0.3

What it is

The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data. The caller is responsible for freeing those buffers. It is possible to construct a PEM file that results in 0 bytes of payload data. In this case PEM_read_bio_ex() will return a failure code but will populate the header argument with a pointer to a buffer that has already been freed. If the caller also frees this buffer then a double free will occur. This will most likely lead to a crash. This could be exploited by an attacker who has the ability to supply malicious PEM files for parsing to achieve a denial of service attack. The functions PEM_read_bio() and PEM_read() are simple wrappers around PEM_read_bio_ex() and therefore these functions are also directly affected. These functions are also called indirectly by a number of other OpenSSL functions including PEM_X509_INFO_read_bio_ex() and SSL_CTX_use_serverinfo_file() which are also vulnerable. Some OpenSSL internal uses of these functions are not vulnerable because the caller does not free the header argument if PEM_read_bio_ex() returns a failure code. These locations include the PEM_read_bio_TYPE() functions as well as the decoders introduced in OpenSSL 3.0. The OpenSSL asn1parse command line application is also impacted by this issue.

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

Published by OpenSSL on 8 February 2023. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2022-4450 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.