Inscriptis HTML-to-Text Library Flaw Enables Memory Exhaustion via Crafted Tables (CVE-2026-132277)
A medium-severity vulnerability, tracked as CVE-2026-132277, affects the Inscriptis Python HTML-to-text library in versions 2.0.0 through 2.7.5. An unbalanced prefix stack causes sibling tables inside a block-level parent to inherit indentation from every preceding table, so output size grows quadratically. A roughly 240 KB HTML payload with 16,000 empty sibling tables can produce about 1 GB of text, enabling denial of service through memory exhaustion. The issue is rated CVSS 5.3 and is classified under uncontrolled resource consumption and algorithmic complexity weaknesses. Users are advised to upgrade to version 2.7.6, which balances prefix handling during table serialization, and to apply input validation and process-level memory and timeout limits as interim mitigations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in