p PatchFirst

CVE-2026-134367

CVE-2026-134367 · pypdf 2.4.2 before 7.0.0 Excessive Memory Usage via XFA Forms

CVSS 8.7 · High · EPSS 0.3% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • pypdfUpdate to 7.0.0
  • pypdf Debian 12No fix published
  • pypdf Debian 13No fix published
  • pypdf Debian 14No fix published
  • and 9 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="pypdf"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • pypdf

    Versions
    • ≥ 2.4.2, < 7.0.0: Affected (semver)
    • 7.0.0: Not affected (semver)

    Update to 7.0.0

  • pypdf Debian 12

    Versions
    • 3.17.4-1
    • 3.4.1-1
    • 3.4.1-1+deb12u1
    • 4.0.0-1
    • 4.0.0-1~exp1
    • 4.0.1-1
    All versions (20)
    • 4.0.2-1
    • 4.1.0-1
    • 4.2.0-1
    • 4.3.1-1
    • 5.4.0-1
    • 6.19.0-1
    • 6.21.0-1
    • 6.21.1-1
    • 6.21.4-1
    • 6.9.0-1
    • 6.9.2-1
    • 6.9.2-2
    • 7.0.1-1
    • 7.1.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf Debian 13

    Versions
    • 5.4.0-1
    • 6.19.0-1
    • 6.21.0-1
    • 6.21.1-1
    • 6.21.4-1
    • 6.9.0-1
    All versions (10)
    • 6.9.2-1
    • 6.9.2-2
    • 7.0.1-1
    • 7.1.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf Debian 14

    Versions
    • 5.4.0-1
    • 6.19.0-1
    • 6.21.0-1
    • 6.21.1-1
    • 6.21.4-1
    • 6.9.0-1
    All versions (10)
    • 6.9.2-1
    • 6.9.2-2
    • 7.0.1-1
    • 7.1.1-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf2 Debian 12

    Versions
    • 2.12.1-3
    • 2.12.1-3+deb12u1
    • 2.12.1-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf2 Ubuntu Pro 16.04 LTS

    Versions
    • 1.23+git20141008-1
    • 1.25.1-1
    • 1.25.1-1ubuntu0.1~esm1
    • 1.25.1-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf2 Ubuntu Pro 18.04 LTS

    Versions
    • 1.26.0-2
    • 1.26.0-2ubuntu0.1~esm1
    • 1.26.0-2ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf2 Ubuntu 20.04 LTS

    Versions
    • 1.26.0-2
    • 1.26.0-3ubuntu1
    • 1.26.0-3ubuntu1.20.04.1
    • 1.26.0-3ubuntu1.20.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf2 Ubuntu 22.04 LTS

    Versions
    • 1.26.0-4
    • 1.26.0-4ubuntu0.22.04.1
    • 1.26.0-4ubuntu0.22.04.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf Ubuntu 24.04 LTS

    Versions
    • 3.4.1-1
    • 3.17.4-1
    • 4.0.0-1
    • 4.0.1-1
    • 4.0.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf2 Ubuntu 24.04 LTS

    Versions
    • 2.12.1-3
    • 2.12.1-4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf Ubuntu 26.10

    Versions
    • 6.9.2-1
    • 6.9.2-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • pypdf Ubuntu 26.04 LTS

    Versions
    • 5.4.0-1
    • 6.9.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →