<?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://vulnerability.circl.lu</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>Thu, 08 Oct 2026 16:37:56 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-36464 — Infinite Loop when a comment isn't followed by a character in pypdf</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-36464</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; py-pdf pypdf&lt;/p&gt;
&lt;p&gt;pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;)` in `pypdf/generic/_data_structures.py` to `while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;, b&amp;#34;&amp;#34;)`.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; py-pdf pypdf&lt;/p&gt;
&lt;p&gt;pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;)` in `pypdf/generic/_data_structures.py` to `while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;, b&amp;#34;&amp;#34;)`.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-36464</guid>
    </item>
    <item>
      <title>GHSA-4vvm-4w3v-6mr8 — pypdf and PyPDF2 possible Infinite Loop when a comment isn't followed by a character</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-4vvm-4w3v-6mr8</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pypdf, PyPI: PyPDF2&lt;/p&gt;
&lt;p&gt;### Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted text from such a PDF.&lt;/p&gt;
&lt;p&gt;Example Code and a PDF that causes the issue:&lt;/p&gt;
&lt;p&gt;```python
from pypdf import PdfReader&lt;/p&gt;
&lt;p&gt;# https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/3119517/11367871?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&amp;amp;X-Amz-Date=20230627T201018Z&amp;amp;X-Amz-Expires=300&amp;amp;X-Amz-Signature=d71c8fd9181c4875f0c04d563b6d32f1d4da6e7b2e6be2f14479ce4ecdc9c8b2&amp;amp;X-Amz-SignedHeaders=host&amp;amp;actor_id=1658117&amp;amp;key_id=0&amp;amp;repo_id=3119517&amp;amp;response-content-disposition=attachment%3Bfilename%3DMiFO_LFO_FEIS_NOA_Published.3.pdf&amp;amp;response-content-type=application%2Fpdf
reader = PdfReader(&amp;#34;MiFO_LFO_FEIS_NOA_Published.3.pdf&amp;#34;)
page = reader.pages[0]
page.extract_text()
```&lt;/p&gt;
&lt;p&gt;The issue was introduced with https://github.com/py-pdf/pypdf/pull/969&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The issue was fixed with https://github.com/py-pdf/pypdf/pull/1828&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;It is recommended to upgrade to `pypdf&amp;gt;=3.9.0`. PyPDF2 users should migrate to pypdf.&lt;/p&gt;
&lt;p&gt;If you cannot update your version of pypdf, you should modify `pypdf/generic/_data_structures.py`:&lt;/p&gt;
&lt;p&gt;```
OLD: while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;):
NEW: while peek not in (b&amp;#34;\r&amp;#34;,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pypdf, PyPI: PyPDF2&lt;/p&gt;
&lt;p&gt;### Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted text from such a PDF.&lt;/p&gt;
&lt;p&gt;Example Code and a PDF that causes the issue:&lt;/p&gt;
&lt;p&gt;```python
from pypdf import PdfReader&lt;/p&gt;
&lt;p&gt;# https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/3119517/11367871?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&amp;amp;X-Amz-Date=20230627T201018Z&amp;amp;X-Amz-Expires=300&amp;amp;X-Amz-Signature=d71c8fd9181c4875f0c04d563b6d32f1d4da6e7b2e6be2f14479ce4ecdc9c8b2&amp;amp;X-Amz-SignedHeaders=host&amp;amp;actor_id=1658117&amp;amp;key_id=0&amp;amp;repo_id=3119517&amp;amp;response-content-disposition=attachment%3Bfilename%3DMiFO_LFO_FEIS_NOA_Published.3.pdf&amp;amp;response-content-type=application%2Fpdf
reader = PdfReader(&amp;#34;MiFO_LFO_FEIS_NOA_Published.3.pdf&amp;#34;)
page = reader.pages[0]
page.extract_text()
```&lt;/p&gt;
&lt;p&gt;The issue was introduced with https://github.com/py-pdf/pypdf/pull/969&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The issue was fixed with https://github.com/py-pdf/pypdf/pull/1828&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;It is recommended to upgrade to `pypdf&amp;gt;=3.9.0`. PyPDF2 users should migrate to pypdf.&lt;/p&gt;
&lt;p&gt;If you cannot update your version of pypdf, you should modify `pypdf/generic/_data_structures.py`:&lt;/p&gt;
&lt;p&gt;```
OLD: while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;):
NEW: while peek not in (b&amp;#34;\r&amp;#34;,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-4vvm-4w3v-6mr8</guid>
    </item>
    <item>
      <title>PYSEC-2026-1835 — pypdf and PyPDF2 possible Infinite Loop when a comment isn't followed by a character</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-1835</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pypdf2&lt;/p&gt;
&lt;p&gt;### Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted text from such a PDF.&lt;/p&gt;
&lt;p&gt;Example Code and a PDF that causes the issue:&lt;/p&gt;
&lt;p&gt;```python
from pypdf import PdfReader&lt;/p&gt;
&lt;p&gt;# https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/3119517/11367871?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&amp;amp;X-Amz-Date=20230627T201018Z&amp;amp;X-Amz-Expires=300&amp;amp;X-Amz-Signature=d71c8fd9181c4875f0c04d563b6d32f1d4da6e7b2e6be2f14479ce4ecdc9c8b2&amp;amp;X-Amz-SignedHeaders=host&amp;amp;actor_id=1658117&amp;amp;key_id=0&amp;amp;repo_id=3119517&amp;amp;response-content-disposition=attachment%3Bfilename%3DMiFO_LFO_FEIS_NOA_Published.3.pdf&amp;amp;response-content-type=application%2Fpdf
reader = PdfReader(&amp;#34;MiFO_LFO_FEIS_NOA_Published.3.pdf&amp;#34;)
page = reader.pages[0]
page.extract_text()
```&lt;/p&gt;
&lt;p&gt;The issue was introduced with https://github.com/py-pdf/pypdf/pull/969&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The issue was fixed with https://github.com/py-pdf/pypdf/pull/1828&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;It is recommended to upgrade to `pypdf&amp;gt;=3.9.0`. PyPDF2 users should migrate to pypdf.&lt;/p&gt;
&lt;p&gt;If you cannot update your version of pypdf, you should modify `pypdf/generic/_data_structures.py`:&lt;/p&gt;
&lt;p&gt;```
OLD: while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;):
NEW: while peek not in (b&amp;#34;\r&amp;#34;,…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: pypdf2&lt;/p&gt;
&lt;p&gt;### Impact
An attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. That is, for example, the case if the user extracted text from such a PDF.&lt;/p&gt;
&lt;p&gt;Example Code and a PDF that causes the issue:&lt;/p&gt;
&lt;p&gt;```python
from pypdf import PdfReader&lt;/p&gt;
&lt;p&gt;# https://objects.githubusercontent.com/github-production-repository-file-5c1aeb/3119517/11367871?X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230627%2Fus-east-1%2Fs3%2Faws4_request&amp;amp;X-Amz-Date=20230627T201018Z&amp;amp;X-Amz-Expires=300&amp;amp;X-Amz-Signature=d71c8fd9181c4875f0c04d563b6d32f1d4da6e7b2e6be2f14479ce4ecdc9c8b2&amp;amp;X-Amz-SignedHeaders=host&amp;amp;actor_id=1658117&amp;amp;key_id=0&amp;amp;repo_id=3119517&amp;amp;response-content-disposition=attachment%3Bfilename%3DMiFO_LFO_FEIS_NOA_Published.3.pdf&amp;amp;response-content-type=application%2Fpdf
reader = PdfReader(&amp;#34;MiFO_LFO_FEIS_NOA_Published.3.pdf&amp;#34;)
page = reader.pages[0]
page.extract_text()
```&lt;/p&gt;
&lt;p&gt;The issue was introduced with https://github.com/py-pdf/pypdf/pull/969&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;The issue was fixed with https://github.com/py-pdf/pypdf/pull/1828&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;It is recommended to upgrade to `pypdf&amp;gt;=3.9.0`. PyPDF2 users should migrate to pypdf.&lt;/p&gt;
&lt;p&gt;If you cannot update your version of pypdf, you should modify `pypdf/generic/_data_structures.py`:&lt;/p&gt;
&lt;p&gt;```
OLD: while peek not in (b&amp;#34;\r&amp;#34;, b&amp;#34;\n&amp;#34;):
NEW: while peek not in (b&amp;#34;\r&amp;#34;,…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-1835</guid>
    </item>
  </channel>
</rss>
