Vulnerability PYSEC-2026-4157
Unknown
UNKNOWN RISK
Vulnerabilities without an assigned CVSS score. Severity is not determinable from available data.
20 days ago
October 01, 2026 at 04:44 PM UTC
pypdf: Possible long runtimes when generating appearance streams
1.0 - 6.18.1
1.0 - 6.18.1
Summary
pypdf: Possible long runtimes when generating appearance streams
Details
Impact
An attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires updating form field values with flattening enabled, which triggers appearance stream generation.
Patches
This has been fixed in pypdf==6.19.0.
Workarounds
If you cannot upgrade yet, consider applying the changes from PR #4087.
Related Vulnerabilities
Other vulnerabilities affecting the same packages
Medium Risk
2 hours ago
pypdf: Possible infinite loop in PdfWriter.find_outline_item
1.0 - 6.20.0 GHSA-qfv9-64jg-mh7p
1.0 - 6.20.0 GHSA-qfv9-64jg-mh7p
Medium Risk
2 hours ago
pypdf: Possible infinite loop when removing tree items
1.0 - 6.20.0 GHSA-9mx8-4j7g-633p
1.0 - 6.20.0 GHSA-9mx8-4j7g-633p
Medium Risk
2 hours ago
pypdf: Possible infinite loop when hitting EOF in standard xref table
1.0 - 6.19.0 GHSA-39mj-jf6j-2qj3
1.0 - 6.19.0 GHSA-39mj-jf6j-2qj3
Medium Risk
2 hours ago
pypdf: Possible large memory usage for streams with multiple filters
1.0 - 6.19.0 GHSA-7mh2-4gg2-979f
1.0 - 6.19.0 GHSA-7mh2-4gg2-979f
Unknown
20 days ago
pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
1.0 - 6.18.0 PYSEC-2026-4156
1.0 - 6.18.0 PYSEC-2026-4156
Impacted packages
Timeline
Published
20 days ago
October 01, 2026 at 04:44 PM UTC
Fixed (6.19.0)
1 month ago
September 16, 2026 at 09:32 AM UTC
Last Modified
20 days ago
October 01, 2026 at 05:45 PM UTC