home / blog

2026-11-21 · medium

CVE-2026-132277: DoS Vulnerability in Inscriptis Library

CVE-2026-132277: DoS vulnerability in Inscriptis library causes memory exhaustion with small HTML documents.

CVE-2026-132277: DoS Vulnerability in Inscriptis Library

CVE-2026-132277 concerns a memory exhaustion vulnerability (DoS) in the Python Inscriptis library, used for converting HTML documents to text. The issue affects versions 2.0.0 to 2.7.6, where the table_end_handler() function incorrectly handles indentation prefixes for sibling tables, causing accumulation that leads to quadratic growth of the output text and memory exhaustion with small attacker-controlled HTML documents.

Severity is classified as medium (CVSS 5.3) and is confirmed by the official NVD description. The vulnerability has been reported on GitHub where the difference between vulnerable and patched versions has been demonstrated: a 240KB document can generate about 1 billion characters (~1GB of memory). The issue has been fixed in version 2.7.6.

For defense, administrators should check if their applications use Inscriptis and update to version 2.7.6 or later. For applications that cannot be immediately updated, consider implementing size limits for incoming HTML documents or input validation to reduce the risk of exploitation.

At a glance

What
Memory exhaustion vulnerability in Inscriptis caused by incorrect handling of indentation prefixes in HTML tables.
Severity
Medium (CVSS 5.3)
Affected versions
2.0.0-2.7.6
Fix
Version 2.7.6
Status
Published on 2026-11-20, patch available
Action
Update to version 2.7.6 or later

Sources: NVD, CVE-2026-132277

← All articles