CVE-2026-132277
published medium CVSS 3.1 · 5.3Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| weblyzard | — | inscriptis>= 2.0.0, < 2.7.6 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| weblyzard | inscriptis | >= 2.0.0, < 2.7.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-407 CWE-407: Inefficient Algorithmic Complexity
References
3Provider assertions
2GitHub_M · cna
Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d80f0ea6d462b42e072ceae4a4046b47ea5fb06e86a1845289a69b6d6f26df8
- Ingested
- 25 Nov 2026, 04:22:19 UTC
- Source record
- Official CVE record