CVE-2026-144957 PUBLISHED

Masterminds html5-php before 2.12.0 CPU Exhaustion via Parse-Error Position Tracking

Assigner: VulnCheck
Reserved: 04.12.2026 Published: 04.12.2026 Updated: 04.12.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 6.9

Product Status

Vendor Masterminds
Product html5-php
Versions Default: unaffected
  • affected from 0 to 2.12.0 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Inefficient Algorithmic Complexity CWE