Skip to content
FlawDB
Sign in

CVE-2026-132277

MEDIUM 5.3EPSS 43%

Inscriptis: Quadratic memory growth from sibling <table> elements in get_text()

Also known as GHSA-q87h-c5m7-659j

Mitigation

  • Upgrade inscriptis to 2.7.6 or later.

Who should check

  • Projects that depend on PyPI package inscriptis (>= 2.0.0, <= 2.7.5)
  • Anyone running weblyzard inscriptis >= 2.0.0, < 2.7.6

Vulnerability facts

Affected
inscriptis >= 2.0.0, <= 2.7.5
Fixed in
2.7.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
EPSS
0.60% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-400, CWE-407
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI inscriptis>= 2.0.0, <= 2.7.52.7.6ghsa
weblyzard inscriptis>= 2.0.0, < 2.7.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-132277. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-132277.md
Affected: inscriptis >= 2.0.0, <= 2.7.5
Fixed in: 2.7.6

Steps:
1. Search this machine and project for inscriptis (PyPI), weblyzard inscriptis: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

Technologies

References

FAQ

Is CVE-2026-132277 being exploited?

There is no confirmed exploitation: CVE-2026-132277 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.60% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-132277?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-132277?

inscriptis >= 2.0.0, <= 2.7.5.

Is there a fix for CVE-2026-132277?

Yes. Fixed in 2.7.6. Upgrade inscriptis to 2.7.6 or later.

How do I check if I'm affected by CVE-2026-132277?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors