๐Ÿ” CVE Alert

CVE-2026-132277

MEDIUM 5.3

Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()

CVSS Score
5.3
EPSS Score
0.9%
EPSS Percentile
61th

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.

CWE CWE-400 CWE-407
Vendor weblyzard
Product inscriptis
Published Nov 20, 2026
Last Updated Nov 25, 2026
Stay Ahead of the Next One

Get instant alerts for weblyzard inscriptis

Be the first to know when new medium vulnerabilities affecting weblyzard inscriptis are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Affected Versions

weblyzard / inscriptis
>= 2.0.0, < 2.7.6

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j github.com: https://github.com/weblyzard/inscriptis/commit/dc122894cd671a0227f8fdad60464acddaf40fc8 github.com: https://github.com/weblyzard/inscriptis/releases/tag/2.7.6