CVE-2026-132277
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | inscriptis | >= 2.0.0, <= 2.7.5 | 2.7.6 |
| PyPI | inscriptis | >=2.0.0,<2.7.6 | 2.7.6 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| weblyzard | inscriptis | >= 2.0.0, < 2.7.6 | |
References
- https://github.com/weblyzard/inscriptis/commit/dc122894cd671a0227f8fdad60464acddaf40fc8
- https://github.com/weblyzard/inscriptis/releases/tag/2.7.6
- https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j
- https://nvd.nist.gov/vuln/detail/CVE-2026-132277
- https://github.com/advisories/GHSA-q87h-c5m7-659j
- https://github.com/weblyzard/inscriptis
CWEs
CWE-400 CWE-407
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.