kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-132277 Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()

설명

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.

영향 받는 제품 제품 1개

  • weblyzard

    inscriptis

    해결 버전 있음

    영향 받는 버전

    • 2.0.0 이상 2.7.6 미만

    해결 버전

    • 2.7.6 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의