# CVE-2023-0465: Invalid certificate policies in leaf certificates are silently ignored

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.65% (percentile 86, 2026-11-26)
- **CWE:** CWE-295
- **Published:** 2023-03-28T14:30:39.707Z
- **Modified:** 2026-10-14T20:17:23.747Z

## 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

## 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

- 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)

## Mitigation

- Upgrade OpenSSL to 1.0.2zh or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://www.openssl.org/news/secadv/20230328.txt>
- patch: <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=facfb1ab745646e97a1920977ae4a9965ea61d5c>
- patch: <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc7c76209ba0bb>
- patch: <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b013765abfa80036dc779dd0e50602c57bb3bf95>
- patch: <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=10325176f3d3e98c6e2b3bf5ab1e3b334de6947a>
- other: <https://security.netapp.com/advisory/ntap-20230414-0001/>
- other: <https://www.debian.org/security/2023/dsa-5417>
- other: <https://lists.debian.org/debian-lts-announce/2023/06/msg00011.html>
- other: <https://security.gentoo.org/glsa/202402-08>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-794697.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-556635.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-879734.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-625862.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-337522.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-341067.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-769027.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-0465>

HTML: <https://flawdb.com/CVE-2023-0465> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-0465>
