Security mailing lists by PureSourceCode

CVE-2026-132277

MEDIUM 5.3CVSS 3.1

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.

Published
20 Nov 2026
Last modified
25 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-400CWE-407
Also known as
GHSA-q87h-c5m7-659j
Sources
NVDJSONCVE ListJSONOSV GHSA-q87h-c5m7-659jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVE List GitHub_M CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List weblyzard inscriptis = >= 2.0.0, < 2.7.6
OSV PyPI inscriptis >= 2.0.0, < 2.7.6 2.7.6

References

History

  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 20 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.