CVE-2026-59887

Source
https://cve.org/CVERecord?id=CVE-2026-59887
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59887.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-59887
Aliases
Downstream
Published
2026-07-08T15:58:12.114Z
Modified
2026-07-12T03:55:35.447072239Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
linkify-it: Quadratic-complexity DoS via the `mailto:` validator scan-loop on attacker text
Details

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 srcemailname in lib/re.mjs, causing O(n^2) CPU consumption on crafted user text. This issue is fixed in version 5.0.2.

Database specific
{
    "cwe_ids": [
        "CWE-407"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59887.json"
}
References

Affected packages

Git / github.com/markdown-it/linkify-it

Affected ranges

Type
GIT
Repo
https://github.com/markdown-it/linkify-it
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.0.2"
        }
    ]
}

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
1.*
1.0.0
1.0.1
1.1.0
1.1.1
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.1.0
2.2.0
3.*
3.0.0
3.0.1
3.0.2
3.0.3
4.*
4.0.0
4.0.1
5.*
5.0.0
5.0.1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-59887.json"