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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-02)
- Published: 2023-03-28T14:30:39.707Z
- Modified: 2026-10-14T20:17:23.747Z
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openssl

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

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: from 3.1.0 before 3.1.1; from 3.0.0 before 3.0.9; from 1.1.1 before 1.1.1u; from 1.0.2 before 1.0.2zh

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://www.openssl.org/news/secadv/20230328.txt> (vendor-advisory)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=facfb1ab745646e97a1920977ae4a9965ea61d5c> (mailing-list, patch)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1dd43e0709fece299b15208f36cc7c76209ba0bb> (mailing-list, patch)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=b013765abfa80036dc779dd0e50602c57bb3bf95> (mailing-list, patch)
- <https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=10325176f3d3e98c6e2b3bf5ab1e3b334de6947a> (broken-link, patch)
- <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>

## Sources

- CVE List: [CVE-2023-0465](https://www.cve.org/CVERecord?id=CVE-2023-0465), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-0465](https://nvd.nist.gov/vuln/detail/CVE-2023-0465), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2023-0465 · Whole record: https://cve.day/CVE-2023-0465.json · Rebuilt by cve.day 2026-11-25T22:58:22.738Z
