# HSEC-2023-0006: x509-validation does not enforce pathLenConstraint

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-11-14T14:45:34.000Z
- Modified: 2025-11-14T18:15:35.439Z

## Description

# x509-validation does not enforce pathLenConstraint

*x509-validation* prior to version 1.4.8 did not enforce the
pathLenConstraint value.  Constrained CAs could accidentally (or
deliberately) issue CAs below the maximum depth and
*x509-validation* would accept certificates issued by the
unauthorised intermediate CAs.

(As written by Haskell Security Advisories.)

## Affected

- x509-validation (Hackage): from 1.4.0 before 1.4.8

## References

- <https://github.com/haskell-tls/hs-certificate/commit/06d15dbbc53739314760d8504ca764000770e46e> (fix)

## Sources

- Haskell Security Advisories: [HSEC-2023-0006](https://osv.dev/vulnerability/HSEC-2023-0006), CC0-1.0, modified 2025-11-14

---

Page: https://cve.day/HSEC-2023-0006 · Whole record: https://cve.day/HSEC-2023-0006.json · Rebuilt by cve.day 2026-11-25T22:56:25.641Z
