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

Status: published. Published: 2026-11-20. Updated: 2026-11-25.

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.

## Remediation

- fix: inscriptis (pip): GitHub reports patched versions 2.7.6. Check the advisory for the affected release branch. (source: GitHub GHSA-q87h-c5m7-659j) — https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j
- fix: inscriptis (PyPI): OSV reports a fixed version 2.7.6. Check the advisory for supported release branches. (source: OSV GHSA-q87h-c5m7-659j) — https://github.com/advisories/GHSA-q87h-c5m7-659j

## Affected products and versions

- weblyzard / inscriptis: >= 2.0.0, < 2.7.6 (affected). Source: CNA: GitHub_M
-  / inscriptis (inscriptis): >= 2.0.0, <= 2.7.5 (affected, GitHub advisory range). Source: GitHub GHSA-q87h-c5m7-659j
-  / inscriptis (inscriptis): 2.0.0 (affected, PyPI); 2.1.1 (affected, PyPI); 2.2.0 (affected, PyPI); 2.3.0 (affected, PyPI); 2.3.1 (affected, PyPI); 2.3.2 (affected, PyPI); 2.4.0 (affected, PyPI); 2.4.0.1 (affected, PyPI); 2.5.0 (affected, PyPI); 2.5.1 (affected, PyPI); 2.5.2 (affected, PyPI); 2.5.3 (affected, PyPI); 2.6.0 (affected, PyPI); 2.7.0 (affected, PyPI); 2.7.1 (affected, PyPI); 2.7.2 (affected, PyPI); 2.7.3 (affected, PyPI); 2.7.4 (affected, PyPI); 2.7.5 (affected, PyPI); Ecosystem version events: introduced 2.0.0; fixed 2.7.6. Source: OSV GHSA-q87h-c5m7-659j

## Severity and prioritization

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; source: CNA: GitHub_M

- CVSS 3.1: 5.3 (medium); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.91% as of 2026-11-24; percentile 60.80%

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-400, CWE-407

## Exploit evidence

- exploit: https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j (ADP: CISA-ADP)

## References

- https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/weblyzard/inscriptis/commit/dc122894cd671a0227f8fdad60464acddaf40fc8 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/weblyzard/inscriptis/releases/tag/2.7.6 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j (ADP: CISA-ADP; exploit)

- https://github.com/weblyzard/inscriptis/commit/dc122894cd671a0227f8fdad60464acddaf40fc8 (security-advisories@github.com)

- https://github.com/weblyzard/inscriptis/releases/tag/2.7.6 (security-advisories@github.com)

- https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j (security-advisories@github.com)

- https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j (134c704f-9b21-4f2e-91b3-4a467353bcc0)

- https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j (GitHub Security Advisories; advisory)

- https://github.com/advisories/GHSA-q87h-c5m7-659j (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-q87h-c5m7-659j (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-132277; retrieved 2026-11-25; source updated 2026-11-25

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-132277; retrieved 2026-11-25; source updated 2026-11-25

- GitHub Security Advisories: https://github.com/weblyzard/inscriptis/security/advisories/GHSA-q87h-c5m7-659j; retrieved 2026-11-25; source updated 2026-11-20

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-q87h-c5m7-659j; retrieved 2026-11-25; source updated 2026-11-21

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-132277; retrieved 2026-11-25; source updated Not reported

Revision: fa26fca9f50e81c86500c8d5e6214a5e691eb9c62c8b7d96da0dd3cd2e9b8fe7

Canonical: https://y2.dev/cve/CVE-2026-132277

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.