CVE-2026-144957
MEDIUM 6.9CVSS 4.0Masterminds html5-php before 2.12.0 CPU Exhaustion via Parse-Error Position Tracking
Masterminds html5-php before 2.12.0 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic parse-error position tracking in Tokenizer::parseError. Attackers can submit small HTML documents with repeated '&;' sequences that trigger full-buffer rescans in Scanner::currentLine and Scanner::columnOffset, consuming seconds of CPU per document.
- Published
- 4 Dec 2026
- Last modified
- 4 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-407
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| NVD | disclosure@vulncheck.com (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Masterminds | html5-php | < 2.12.0 | 2.12.0 |
References
- https://github.com/Masterminds/html5-php/blob/2.11.0/src/HTML5/Parser/Scanner.php#L241-L250 · technical-description
- https://github.com/Masterminds/html5-php/blob/2.11.0/src/HTML5/Parser/Tokenizer.php#L1077-L1088 · technical-description
- https://github.com/Masterminds/html5-php/commit/c99252152ca8b1bdc821181d17a1f2c98e9fba1b · patch
- https://github.com/Masterminds/html5-php/releases/tag/2.12.0 · release-notes
- https://github.com/Masterminds/html5-php/security/advisories/GHSA-pj59-fvjc-74pp · vendor-advisory
- https://www.vulncheck.com/advisories/masterminds-html5-php-before-2.12.0-cpu-exhaustion-via-parse-error-position-tracking · third-party-advisory
History
- 4 Dec 2026 17:09 UTC · NVD: first stored (published 4 Dec 2026)
- 4 Dec 2026 15:09 UTC · CVE List: first stored (published 4 Dec 2026)