Loading...
Skip to main content

CVE-2023-0216

HIGH

openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions

Published February 8, 2023Updated February 4, 2026Source: osv

Summary

An invalid pointer dereference on read can be triggered when an application tries to load malformed PKCS7 data with the `d2i_PKCS7()`, `d2i_PKCS7_bio()` or `d2i_PKCS7_fp()` functions. The result of the dereference is an application crash which could lead to a denial of service attack. The TLS implementation in OpenSSL does not call this function however third party applications might call these functions on untrusted data.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update openssl-src to 300.0.12 or later
cargo update -p openssl-src --precise 300.0.12

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

PackageEcosystemAffectedFixed In
openssl-src
crates.io
All versions300.0.12

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-476
    NULL Pointer DereferenceMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Frequently Asked Questions

What is CVE-2023-0216?
openssl-src subject to Invalid pointer dereference in `d2i_PKCS7` functions This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2023-0216?
CVE-2023-0216 affects openssl-src. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-0216 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-29xx-hcv2-c4cp
RUSTSEC-2023-0011

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies