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.

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