{"id":"CVE-2026-132277","aliases":["GHSA-q87h-c5m7-659j"],"title":"Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()","originalDescription":"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.","severity":{"cvss":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00597,"percentile":0.42632},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"inscriptis","range":">= 2.0.0, <= 2.7.5","fixed":"2.7.6"},{"ecosystem":"PyPI","name":"inscriptis","range":">=2.0.0, <2.7.6","fixed":"2.7.6"}],"references":[{"url":"https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j","type":"x_refsource_CONFIRM"},{"url":"https://github.com/weblyzard/inscriptis/commit/dc122894cd671a0227f8fdad60464acddaf40fc8","type":"x_refsource_MISC"},{"url":"https://github.com/weblyzard/inscriptis/releases/tag/2.7.6","type":"x_refsource_MISC"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132277.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-132277","type":"advisory"},{"url":"https://github.com/advisories/GHSA-q87h-c5m7-659j","type":"other"},{"url":"https://github.com/weblyzard/inscriptis","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-25T05:27:19.489Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-132277","license":"NVD terms of use","firstSeenAt":"2026-11-20T17:31:12.215Z"},{"name":"osv","at":"2026-11-21T21:34:35.304Z","url":"https://osv.dev/vulnerability/CVE-2026-132277","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T18:04:42.486Z"},{"name":"ghsa","at":"2026-12-01T11:52:21.373Z","url":"https://github.com/advisories/GHSA-q87h-c5m7-659j","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T00:07:16.133Z"},{"name":"cvelistV5","at":"2026-11-30T16:03:58.000Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-132277","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T17:28:32.029Z"}],"firstSeenAt":"2026-11-20T17:28:32.029Z","publishedAt":"2026-11-20T17:08:11.051Z","modifiedAt":"2026-11-25T05:18:30.770Z"}