Saltar al contenido
DayZeroHub
Media Sin redactarCVSS 5.3GHSA-q87h-c5m7-659jCVE-2026-132277

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

weblyzard inscriptis

Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.

Resumen

CVE-2026-132277: vulnerabilidad de severidad media (CVSS 5.3) en weblyzard inscriptis.

Qué ocurre

Descripción original de la fuente (en inglés): 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.

Por qué importa

Severidad media, CVSS 5.3.

Productos y versiones afectados

inscriptis >= 2.0.0, <= 2.7.5 (corregido en 2.7.6); weblyzard inscriptis >= 2.0.0, < 2.7.6

ProductoVersionesCorregido en
inscriptis>= 2.0.0, <= 2.7.52.7.6
weblyzard inscriptis>= 2.0.0, < 2.7.6—

Acción recomendada por la fuente

Actualizar a una versión corregida: 2.7.6.

Corregido en: 2.7.6

Información tomada de la fuente o del proveedor. Verificala en el enlace original antes de actuar.

Fuentes y referencias

Debilidades (CWE): CWE-400, CWE-407

Historial de cambios relevantes

  1. Publicado

    Aviso preliminar publicado.