GHSA-cmpx-464x-82c3: pypdf 2.4.2 before 7.0.0 Excessive Memory Usage via XFA Forms

Published Nov 21, 2026
·
Updated

pypdf 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows attackers to cause excessive memory consumption. Attackers can supply a crafted PDF containing XFA forms with many small fields so that loading the forms consumes large amounts of memory, causing a denial of service.

Affected Software

1 affected component
pypi/pypdf>=2.4.2<7.0.0

Event History

Nov 21, 2026
CVE Published
via OSV·04:34 PM
Data Sourced
via OSV·04:34 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which pypdf versions are affected and what version resolves the issue?

pypdf versions from 2.4.2 up to, but not including, 7.0.0 are affected. Version 7.0.0 is not listed as affected.

2

What must an attacker provide to trigger the memory exhaustion?

An attacker must supply a crafted PDF containing XFA forms with many small fields. The excessive memory consumption occurs when the application loads those forms, potentially causing a denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203