{"id":"CVE-2026-132277","summary":"Inscriptis: Quadratic memory growth from sibling \u003ctable\u003e elements in get_text()","details":"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.","aliases":["GHSA-q87h-c5m7-659j"],"modified":"2026-11-20T18:00:09.669480177Z","published":"2026-11-20T17:08:11.051Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132277.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-400","CWE-407"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/132xxx/CVE-2026-132277.json"},{"type":"FIX","url":"https://github.com/weblyzard/inscriptis/commit/dc122894cd671a0227f8fdad60464acddaf40fc8"},{"type":"WEB","url":"https://github.com/weblyzard/inscriptis/releases/tag/2.7.6"},{"type":"ADVISORY","url":"https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-132277"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/weblyzard/inscriptis","events":[{"introduced":"5e5fcc3f54192fe38909005b3b8720d7d4022e6c"},{"fixed":"0ee584ed14003da3e2c225920e9be10d00e23e4a"},{"fixed":"dc122894cd671a0227f8fdad60464acddaf40fc8"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"2.0.0"},{"fixed":"2.7.6"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"dc122894cd671a0227f8fdad60464acddaf40fc8"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"2.7.6","range":[{"fixed":"0ee584ed14003da3e2c225920e9be10d00e23e4a"}]}]}}],"versions":["2.7.5","2.7.4","2.7.3","2.7.2","2.7.1","2.7.0","2.6.0","2.5.3","2.5.1","2.5.0","2.4.0.1","2.4.0","2.3.2","2.3.1","2.3.0","2.2.0","2.1.1","2.1.0","2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-132277.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}