Skip to main content
No exploitation reportedFix available

CVE-2023-0215

No exploitation reported by the sources we read.

  • Published2023-02-08
  • Fixed in3.0.8 · 1.1.1t · 1.0.2zg
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the caller, prepends a new BIO_f_asn1 filter BIO onto the front of it to form a BIO chain, and then returns the new head of the BIO chain to the caller. Under certain conditions, for example if a CMS recipient public key is invalid, the new filter BIO is freed and the function returns a NULL result indicating a failure. However, in this case, the BIO chain is not properly cleaned up and the BIO passed by the caller still retains internal pointers to the previously freed filter BIO. If the caller then goes on to call BIO_pop() on the BIO then a use-after-free will occur. This will most likely result in a crash. This scenario occurs directly in the internal function B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO. This internal function is in turn called by the public API functions PEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream, SMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7. Other public API functions that may be impacted by this include i2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and i2d_PKCS7_bio_stream. The OpenSSL cms and smime command line applications are similarly affected.

Timeline

dates in UTC
  1. 2023-02-0820:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-0215?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-0215?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD · OSV
OpenSSL
BranchAffectedFixed in
3.0≥ 3.0.0, < 3.0.83.0.8
1.1≥ 1.1.1, < 1.1.1t1.1.1t
1.0≥ 1.0.2, < 1.0.2zg1.0.2zg
openssl-src
BranchAffectedFixed in
300.0≥ 300.0.0, < 300.0.12300.0.12
111.25≥ 0.0.0-0, < 111.25.0111.25.0
111.25< 111.25.0111.25.0
Stormshield stormshield management center
BranchAffectedFixed in
3.3< 3.3.33.3.3

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • edk2-ovmfAlmaLinux:8all versions · fixed in 20220126gitbb1bba3d77-4.el8and 1 other package
  • edk2-toolsAlmaLinux:9all versions · fixed in 20221207gitfff6d81270b5-9.el9_2and 3 other packages
  • opensslAlmaLinux:9all versions · fixed in 1:3.0.1-47.el9_1and 3 other packages
  • opensslAlmaLinux:8all versions · fixed in 1:1.1.1k-9.el8_7and 3 other packages

Vendor advisories

  • ICSA-25-065-01 CISA3 products fixed · 3 known affected

    Hitachi Energy PCU400

    PCU400 versions 6.5 K and below · PCU400 versions 9.4.1 and below · PCULogger versions 1.1.0 and below

  • ICSA-24-205-02 CISA8 known affected

    Hitachi Energy AFS/AFR Series Products

    Hitachi Energy AFS650: <=9.1.08 · Hitachi Energy AFS660-C: <=7.1.05 · Hitachi Energy AFS665-B: <=7.1.05 · +5 more

  • ICSA-24-165-11 CISA26 known affected

    Siemens SCALANCE XM-400, XR-500

    SCALANCE XM408-4C (6GK5408-4GP00-2AM2) · SCALANCE XM408-4C (L3 int.) (6GK5408-4GQ00-2AM2) · SCALANCE XM408-8C (6GK5408-8GS00-2AM2) · +23 more

  • ICSA-23-255-01 CISA2 known affected

    Hitachi Energy Lumada APM Edge

    Lumada APM Edge: <= 4.0 · Lumada APM Edge: 6.3

  • ICSA-23-075-04 CISA3 known affected

    Siemens SCALANCE W1750D Devices

    SCALANCE W1750D (JP) (6GK5750-2HX01-1AD0) · SCALANCE W1750D (ROW) (6GK5750-2HX01-1AA0) · SCALANCE W1750D (USA) (6GK5750-2HX01-1AB0)

Full record on NVD

Fix

  1. Update OpenSSL to 3.0.8 · 1.1.1t · 1.0.2zg
  2. Vendor fix CISA ICSA-25-065-01 · 1 productIf IEC62351-3 secure for IEC104/DNP3 is used, then update to version 6.6.0 or latest
  3. Vendor fix CISA ICSA-25-065-01 · 1 productIf IEC62351-3 secure for IEC104/DNP3 is used, then update to version 9.4.2 or latest
  4. Vendor fix CISA ICSA-24-205-02 · 1 productAFS650: Update to AFS 650 firmware version 9.1.10
  5. Vendor fix CISA ICSA-24-205-02 · 3 productsAFS660-C, AFS665-B, AFS670-V2: Update to AFS 66x firmware version 7.1.08
  6. Vendor fix CISA ICSA-24-205-02 · 4 productsAFS670/675/677, AFR677: Update to AFS/AFR 67x firmware version 9.1.10
  7. Vendor fix CISA ICSA-24-165-11 · 26 productsUpdate to V6.6.1 or later version

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2025-04-23
  • OpenCVESSVC decisionnone—
  • CISA-ADPCVSS 3.17.52025-05-05
  • NVDCVSS 3.17.5read 2026-10-23
  • CISA-ADPweakness (CWE)CWE-4162025-05-05
  • NVDweakness (CWE)CWE-416read 2026-10-23
  • FIRST EPSSEPSS score5.0 %2026-10-22
  • OSVaffected packages—

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-02-08
Last Modified
2026-10-14
NVD status
Modified

Frequently asked questions

What is CVE-2023-0215?

The public API function BIO_new_NDEF is a helper function used for streaming ASN.1 data via a BIO. It is primarily used internally to OpenSSL to support the SMIME, CMS and PKCS7 streaming capabilities, but may also be called directly by end user applications. The function receives a BIO from the caller, prepends a new BIO_f_asn1 filter BIO onto the front of it to form a BIO chain, and then returns the new head of the BIO chain to the caller. Under certain conditions, for example if a CMS recipient public key is invalid, the new filter BIO is freed and the function returns a NULL result indicating a failure. However, in this case, the BIO chain is not properly cleaned up and the BIO passed by the caller still retains internal pointers to the previously freed filter BIO. If the caller then goes on to call BIO_pop() on the BIO then a use-after-free will occur. This will most likely result in a crash. This scenario occurs directly in the internal function B64_write_ASN1() which may cause BIO_new_NDEF() to be called and will subsequently call BIO_pop() on the BIO. This internal function is in turn called by the public API functions PEM_write_bio_ASN1_stream, PEM_write_bio_CMS_stream, PEM_write_bio_PKCS7_stream, SMIME_write_ASN1, SMIME_write_CMS and SMIME_write_PKCS7. Other public API functions that may be impacted by this include i2d_ASN1_bio_stream, BIO_new_CMS, BIO_new_PKCS7, i2d_CMS_bio_stream and i2d_PKCS7_bio_stream. The OpenSSL cms and smime command line applications are similarly affected.

Is CVE-2023-0215 actively exploited?

Active exploitation of CVE-2023-0215 has not been confirmed. Its EPSS score was 5.0% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2023-0215?

CVE-2023-0215 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running OpenSSL? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month