{"id":"HSEC-2023-0006","aliases":["HSEC-2023-0006"],"related":[],"kind":"vulnerability","state":"published","title":"x509-validation does not enforce pathLenConstraint","summary":"# x509-validation does not enforce pathLenConstraint\n\n*x509-validation* prior to version 1.4.8 did not enforce the\npathLenConstraint value.  Constrained CAs could accidentally (or\ndeliberately) issue CAs below the maximum depth and\n*x509-validation* would accept certificates issued by the\nunauthorised intermediate CAs.","summaryFormat":"markdown","summarySource":"hsec","descriptions":[{"lang":"en","text":"# x509-validation does not enforce pathLenConstraint\n\n*x509-validation* prior to version 1.4.8 did not enforce the\npathLenConstraint value.  Constrained CAs could accidentally (or\ndeliberately) issue CAs below the maximum depth and\n*x509-validation* would accept certificates issued by the\nunauthorised intermediate CAs.","format":"markdown","source":"hsec"}],"published":"2025-11-14T14:45:34.000Z","modified":"2025-11-14T18:15:35.439Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"1.4.0","status":"affected","fixed":"1.4.8"}],"ecosystem":"Hackage","package":"x509-validation","purl":"pkg:hackage/x509-validation","source":"hsec"}],"references":[{"url":"https://github.com/haskell-tls/hs-certificate/commit/06d15dbbc53739314760d8504ca764000770e46e","tags":["fix"],"sources":["hsec"]}],"credits":[],"sources":[{"source":"hsec","name":"Haskell Security Advisories","id":"HSEC-2023-0006","url":"https://osv.dev/vulnerability/HSEC-2023-0006","licence":"CC0-1.0","modified":"2025-11-14T18:15:35.439Z"}],"updatedAt":"2026-11-25T22:56:25.641Z"}