{"id":"CVE-2026-9648","aliases":["CVE-2026-9648","HSEC-2026-0008"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2026-9648","summary":"The crypton-x509-validation Haskell library fails to enforce X.509 NameConstraints, allowing TLS clients to accept certificates whose Subject Alternative Names fall outside the issuing CA’s permitted subtrees. This oversight enables an attacker who compromises a name-constrained sub-CA to impersonate domains beyond its intended scope.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The crypton-x509-validation Haskell library fails to enforce X.509 NameConstraints, allowing TLS clients to accept certificates whose Subject Alternative Names fall outside the issuing CA’s permitted subtrees. This oversight enables an attacker who compromises a name-constrained sub-CA to impersonate domains beyond its intended scope.","source":"cvelist"},{"lang":"en","text":"# crypton-x509-validation and crypton-x509 do not enforce X.509 Name Constraints\n\nThe `crypton-x509-validation` and `crypton-x509` libraries did not\nenforce the X.509 Name Constraints extension during certificate\nvalidation. The Name Constraints extension is a critical X.509\nextension that restricts the namespace (permitted and excluded\nsubtrees) for which a CA is authorized to issue certificates.\n\nWithout this enforcement, a TLS client would accept certificates with\nSubject Alternative Names (SANs) that fall outside the issuing CA's\npermitted subtrees. An attacker with access to a name-constrained\nsub-CA's private key could therefore issue certificates for domains\noutside the sub-CA's intended scope, enabling impersonation of\narbitrary domains and man-in-the-middle attacks on TLS connections.\n\nThe older `x509` and `x509-validation` packages are also affected but\nare no longer maintained and have no fix available.\n\nThis issue was fixed in `crypton-x509-validation-1.9.1` and\n`crypton-x509-1.9.1`.","format":"markdown","source":"hsec"},{"lang":"es","text":"La biblioteca Haskell crypton-x509-validation no logra aplicar las Restricciones de Nombre X.509, permitiendo a los clientes TLS aceptar certificados cuyos Nombres Alternativos del Sujeto están fuera de los subárboles permitidos de la CA emisora. Este descuido permite a un atacante que compromete una sub-CA con restricciones de nombre suplantar dominios más allá de su ámbito previsto.","source":"nvd"}],"published":"2026-06-03T13:30:48.000Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.9.1","status":"affected"}],"vendor":"Haskell Programming Language","product":"crypton-certificate","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.6.12","status":"affected","fixed":"1.9.1"}],"ecosystem":"Hackage","package":"crypton-x509-validation","purl":"pkg:hackage/crypton-x509-validation","source":"hsec"},{"ranges":[{"type":"ecosystem","introduced":"1.7.6","status":"affected","fixed":"1.9.1"}],"ecosystem":"Hackage","package":"crypton-x509","purl":"pkg:hackage/crypton-x509","source":"hsec"},{"ranges":[{"type":"ecosystem","introduced":"1.4.0","status":"affected"}],"ecosystem":"Hackage","package":"x509-validation","purl":"pkg:hackage/x509-validation","source":"hsec"},{"ranges":[{"type":"ecosystem","introduced":"1.4.0","status":"affected"}],"ecosystem":"Hackage","package":"x509","purl":"pkg:hackage/x509","source":"hsec"}],"references":[{"url":"https://github.com/kazu-yamamoto/crypton-certificate/pull/30","tags":["fix"],"sources":["cvelist","hsec","nvd"]},{"url":"https://github.com/kazu-yamamoto/crypton-certificate/pull/30/changes/f4b77edf6ead77f4a886da40e41eab20f0180e39","tags":[],"sources":["cvelist","nvd"]},{"url":"https://hackage.haskell.org/package/crypton-x509-validation-1.9.1/revisions/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/haskell/security-advisories/pull/332","tags":[],"sources":["cvelist","nvd"]},{"url":"https://www.kb.cert.org/vuls/id/862559","tags":["advisory"],"sources":["cvelist","hsec","nvd"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-11T15:39:09.493Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9648","url":"https://www.cve.org/CVERecord?id=CVE-2026-9648","licence":"CVE Terms of Use","modified":"2026-06-11T15:39:31.210Z"},{"source":"hsec","name":"Haskell Security Advisories","id":"HSEC-2026-0008","url":"https://osv.dev/vulnerability/HSEC-2026-0008","licence":"CC0-1.0","modified":"2026-06-03T13:45:42.872Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9648","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9648","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:24.431Z","epss":{"score":0.00223,"percentile":0.1376,"date":"2026-12-02T12:00:21.000Z"}}