Skip to content
OpenAdvisories
Unscored HSEC-2023-0006

x509-validation does not enforce pathLenConstraint

Published Nov 14, 2025 · Updated Nov 14, 2025 · Assigned by HSEC

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Hackage x509-validation >= 1.4.0, < 1.4.8 1.4.8 HSEC-2023-0006

References