<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 21 Nov 2026 04:27:17 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-132277</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-132277</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;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.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-132277</guid>
    </item>
    <item>
      <title>GHSA-q87h-c5m7-659j — Inscriptis: Quadratic memory growth from sibling &lt;table&gt; elements in get_text()</title>
      <link>https://db.gcve.eu/vuln/ghsa-q87h-c5m7-659j</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: inscriptis&lt;/p&gt;
&lt;p&gt;# Summary&lt;/p&gt;
&lt;p&gt;Every sibling `&amp;lt;table&amp;gt;` adds another level of the parent&amp;#39;s indentation, so the size of `get_text()` output grows quadratically with the number of tables. In the measurements below, a 240 KB HTML document produces about 1 billion characters and uses about 1 GB of memory.&lt;/p&gt;
&lt;p&gt;# Details&lt;/p&gt;
&lt;p&gt;`table_end_handler()` (`model/tag/table_tag.py`) writes the rendered table into the parent element with `HtmlElement.write_verbatim_text()` (`model/html_element.py`). For a block-level parent, `write_verbatim_text()` calls `canvas.open_block()`, which pushes the parent&amp;#39;s `padding_inline` onto the prefix stack. The following `close_block()` never pops it; only `Canvas.close_tag()` calls `prefix.remove_last_prefix()`. So each table leaves one extra padding entry on the stack.&lt;/p&gt;
&lt;p&gt;This has been present since 2.0 (commit 84ec720).&lt;/p&gt;
&lt;p&gt;```python
&amp;gt;&amp;gt;&amp;gt; get_text(&amp;#39;&amp;lt;ul&amp;gt;&amp;#39; + &amp;#39;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;a&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;#39; * 4 + &amp;#39;&amp;lt;/ul&amp;gt;&amp;#39;)
&amp;#39;        a\n        \n            a\n            \n                a\n                \n                    a\n                    &amp;#39;
```&lt;/p&gt;
&lt;p&gt;# PoC&lt;/p&gt;
&lt;p&gt;```python
import sys, time, resource
from inscriptis import get_text&lt;/p&gt;
&lt;p&gt;n = int(sys.argv[1])
html = &amp;#34;&amp;lt;ul&amp;gt;&amp;#34; + &amp;#34;&amp;lt;table&amp;gt;&amp;lt;/table&amp;gt;&amp;#34; * n + &amp;#34;&amp;lt;/ul&amp;gt;&amp;#34;
t = time.time(); out = get_text(html)
print(len(html), f&amp;#34;{time.time()-t:.2f}s&amp;#34;, len(out), resource.getrusage(resource.RUSAGE_SELF).ru_maxrss // 2**20, &amp;#34;MiB&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;inscriptis 2.7.5, Python 3.11, macOS (2.0.0 behaves the same):&lt;/p&gt;
&lt;p&gt;| tables | HTML | time | output chars | peak RSS |
|---|---|---|---|---|
| 1,00…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: inscriptis&lt;/p&gt;
&lt;p&gt;# Summary&lt;/p&gt;
&lt;p&gt;Every sibling `&amp;lt;table&amp;gt;` adds another level of the parent&amp;#39;s indentation, so the size of `get_text()` output grows quadratically with the number of tables. In the measurements below, a 240 KB HTML document produces about 1 billion characters and uses about 1 GB of memory.&lt;/p&gt;
&lt;p&gt;# Details&lt;/p&gt;
&lt;p&gt;`table_end_handler()` (`model/tag/table_tag.py`) writes the rendered table into the parent element with `HtmlElement.write_verbatim_text()` (`model/html_element.py`). For a block-level parent, `write_verbatim_text()` calls `canvas.open_block()`, which pushes the parent&amp;#39;s `padding_inline` onto the prefix stack. The following `close_block()` never pops it; only `Canvas.close_tag()` calls `prefix.remove_last_prefix()`. So each table leaves one extra padding entry on the stack.&lt;/p&gt;
&lt;p&gt;This has been present since 2.0 (commit 84ec720).&lt;/p&gt;
&lt;p&gt;```python
&amp;gt;&amp;gt;&amp;gt; get_text(&amp;#39;&amp;lt;ul&amp;gt;&amp;#39; + &amp;#39;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;a&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;#39; * 4 + &amp;#39;&amp;lt;/ul&amp;gt;&amp;#39;)
&amp;#39;        a\n        \n            a\n            \n                a\n                \n                    a\n                    &amp;#39;
```&lt;/p&gt;
&lt;p&gt;# PoC&lt;/p&gt;
&lt;p&gt;```python
import sys, time, resource
from inscriptis import get_text&lt;/p&gt;
&lt;p&gt;n = int(sys.argv[1])
html = &amp;#34;&amp;lt;ul&amp;gt;&amp;#34; + &amp;#34;&amp;lt;table&amp;gt;&amp;lt;/table&amp;gt;&amp;#34; * n + &amp;#34;&amp;lt;/ul&amp;gt;&amp;#34;
t = time.time(); out = get_text(html)
print(len(html), f&amp;#34;{time.time()-t:.2f}s&amp;#34;, len(out), resource.getrusage(resource.RUSAGE_SELF).ru_maxrss // 2**20, &amp;#34;MiB&amp;#34;)
```&lt;/p&gt;
&lt;p&gt;inscriptis 2.7.5, Python 3.11, macOS (2.0.0 behaves the same):&lt;/p&gt;
&lt;p&gt;| tables | HTML | time | output chars | peak RSS |
|---|---|---|---|---|
| 1,00…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-q87h-c5m7-659j</guid>
    </item>
  </channel>
</rss>
