{"id":"CVE-2026-59887","state":"PUBLISHED","title":"linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text","description":"linkify-it is a links recognition library with full Unicode support. Prior to 5.0.2, the mailto: schema validator used by .test() and .match() can be invoked at every mailto: occurrence and scan the remaining input through src_email_name in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2.","publishedAt":"2026-07-08T15:58:12.114Z","updatedAt":"2026-07-09T14:41:02.113Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["markdown-it linkify-it"],"affected":[{"vendor":"markdown-it","product":"linkify-it","versions":[{"version":"< 5.0.2","status":"affected"}]}],"references":["https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm","https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe","https://github.com/markdown-it/linkify-it/releases/tag/5.0.2"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59887.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59887","state":"PUBLISHED","datePublished":"2026-07-08T15:58:12.114Z","dateUpdated":"2026-07-09T14:41:02.113Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-07T16:40:07.983Z"},"containers":{"cna":{"title":"linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text","descriptions":[{"lang":"en","value":"linkify-it is a links recognition library with full Unicode support. Prior to 5.0.2, the mailto: schema validator used by .test() and .match() can be invoked at every mailto: occurrence and scan the remaining input through src_email_name in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2."}],"affected":[{"vendor":"markdown-it","product":"linkify-it","versions":[{"version":"< 5.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm","name":"https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe","name":"https://github.com/markdown-it/linkify-it/commit/105e5d77f7d119871d2b2d86ed208568eb3e7ffe","tags":["x_refsource_MISC"]},{"url":"https://github.com/markdown-it/linkify-it/releases/tag/5.0.2","name":"https://github.com/markdown-it/linkify-it/releases/tag/5.0.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"CWE-407: Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T15:58:12.114Z"},"source":{"advisory":"GHSA-v245-v573-v5vm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/markdown-it/linkify-it/security/advisories/GHSA-v245-v573-v5vm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T14:40:56.927532Z","id":"CVE-2026-59887","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T14:41:02.113Z"}}]}}}