Source: pypdf
Version: 5.4.0-1
Severity: important
Tags: security upstream
Forwarded: https://github.com/py-pdf/pypdf/issues/3429
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for pypdf.

CVE-2025-55197[0]:
| pypdf is a free and open-source pure-python PDF library. Prior to
| version 6.0.0, an attacker can craft a PDF which leads to the RAM
| being exhausted. This requires just reading the file if a series of
| FlateDecode filters is used on a malicious cross-reference stream.
| Other content streams are affected on explicit access. This issue
| has been fixed in 6.0.0. If an update is not possible, a workaround
| involves including the fixed code from pypdf.filters.decompress into
| the existing filters file.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-55197
    https://www.cve.org/CVERecord?id=CVE-2025-55197
[1] https://github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8m
[2] https://github.com/py-pdf/pypdf/issues/3429
[3] https://github.com/py-pdf/pypdf/pull/3430
[4] 
https://github.com/py-pdf/pypdf/commit/bb3a69030fde7da545229438ff327b8c971cef49

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to