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.
{ "osvs": "https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export", "home": "https://haskell.github.io/security-advisories", "repository": "https://github.com/haskell/security-advisories" }