CVE-2026-132277

Inscriptis is a Python library for converting HTML to text. From 2.0.0 until 2.7.6, when the parent is block-level, table_end_handler() in model/tag/table_tag.py writes each sibling table through HtmlElement.write_verbatim_text() in model/html_element.py; Canvas.open_block() leaves the parent padding_inline prefix on the stack, Canvas.close_block() does not remove it, and only Canvas.close_tag() calls prefix.remove_last_prefix(). Each following sibling table therefore carries forward accumulated indentation, making get_text() output grow quadratically and allowing small attacker-controlled HTML to exhaust memory in applications converting it without authentication or user interaction. This issue is fixed in 2.7.6.
Configurations

No configuration.

History

25 Nov 2026, 05:18

Type Values Removed Values Added
References () https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j - () https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j -

20 Nov 2026, 17:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-20 17:18

Updated : 2026-11-25 05:18


NVD link : CVE-2026-132277

Mitre link : CVE-2026-132277

CVE.ORG link : CVE-2026-132277


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-407

Inefficient Algorithmic Complexity