CVE-2023-0465
Invalid certificate policies in leaf certificates are silently ignored
Mitigation
- Upgrade OpenSSL to 1.0.2zh or later.
Who should check
- Anyone running OpenSSL >= 3.1.0, < 3.1.1; >= 3.0.0, < 3.0.9; >= 1.1.1, < 1.1.1u; >= 1.0.2, < 1.0.2zh
Vulnerability facts
- Affected
- OpenSSL >= 3.1.0, < 3.1.1; >= 3.0.0, < 3.0.9; >= 1.1.1, < 1.1.1u; >= 1.0.2, < 1.0.2zh
- Fixed in
- OpenSSL 3.1.1, OpenSSL 3.0.9, OpenSSL 1.1.1u, OpenSSL 1.0.2zh
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: None
- EPSS
- 2.65% chance of exploitation in 30 days (percentile 86, 2026-11-26)
- CWE
- CWE-295
- Modified
Description
Applications that use a non-default option when verifying certificates may be vulnerable to an attack from a malicious CA to circumvent certain checks. Invalid certificate policies in leaf certificates are silently ignored by OpenSSL and other certificate policy checks are skipped for that certificate. A malicious CA could use this to deliberately assert invalid certificate policies in order to circumvent policy checking on the certificate altogether. Policy processing is disabled by default but can be enabled by passing the `-policy' argument to the command line utilities or by calling the `X509_VERIFY_PARAM_set1_policies()' function.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| OpenSSL | >= 3.1.0, < 3.1.1; >= 3.0.0, < 3.0.9; >= 1.1.1, < 1.1.1u; >= 1.0.2, < 1.0.2zh | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-0465. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-0465.md Affected: OpenSSL >= 3.1.0, < 3.1.1; >= 3.0.0, < 3.0.9; >= 1.1.1, < 1.1.1u; >= 1.0.2, < 1.0.2zh Fixed in: OpenSSL 3.1.1, OpenSSL 3.0.9, OpenSSL 1.1.1u, OpenSSL 1.0.2zh Steps: 1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=facfb1ab745646e97a1920977ae4a9965ea61d5c
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc7c76209ba0bb
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b013765abfa80036dc779dd0e50602c57bb3bf95
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=10325176f3d3e98c6e2b3bf5ab1e3b334de6947a
Other
- https://security.netapp.com/advisory/ntap-20230414-0001/
- https://www.debian.org/security/2023/dsa-5417
- https://lists.debian.org/debian-lts-announce/2023/06/msg00011.html
- https://security.gentoo.org/glsa/202402-08
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- https://cert-portal.siemens.com/productcert/html/ssa-341067.html
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html
FAQ
Is CVE-2023-0465 being exploited?
There is no confirmed exploitation: CVE-2023-0465 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-0465?
Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-0465?
OpenSSL >= 3.1.0, < 3.1.1; >= 3.0.0, < 3.0.9; >= 1.1.1, < 1.1.1u; >= 1.0.2, < 1.0.2zh.
Is there a fix for CVE-2023-0465?
Yes. Fixed in OpenSSL 3.1.1, OpenSSL 3.0.9, OpenSSL 1.1.1u, OpenSSL 1.0.2zh. Upgrade OpenSSL to 1.0.2zh or later.
How do I check if I'm affected by CVE-2023-0465?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.