CVE catalog

CVE-2026-113786

pypdf: CVE-2026-113786

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.1, an attacker can craft a PDF containing image data labeled with the /DCTDecode filter that causes Pillow to select and invoke an unintended image parser when the image is loaded. Environments without the optional Pillow dependency are not affected. This issue is fixed in version 6.21.1.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpypdfsid6.21.1-1fixed
Debianpypdfforky6.21.1-1fixed
Debianpypdftrixie5.4.0-1vulnerable
Debianpypdfbookworm3.4.1-1+deb12u1vulnerable
Debianpypdf2bookworm2.12.1-3+deb12u1vulnerable
Ubuntupypdf2pro1.26.0-2vulnerable
Ubuntupypdf2pro1.26.0-2ubuntu0.1~esm1vulnerable
Ubuntupypdf2pro1.26.0-2ubuntu0.1~esm2vulnerable
Ubuntupypdf220.041.26.0-2vulnerable
Ubuntupypdf220.041.26.0-3ubuntu1vulnerable
Ubuntupypdf220.041.26.0-3ubuntu1.20.04.1vulnerable
Ubuntupypdf220.041.26.0-3ubuntu1.20.04.2vulnerable
Ubuntupypdf222.041.26.0-4vulnerable
Ubuntupypdf222.041.26.0-4ubuntu0.22.04.1vulnerable
Ubuntupypdf222.041.26.0-4ubuntu0.22.04.2vulnerable
Ubuntupypdf24.043.4.1-1vulnerable
Ubuntupypdf24.043.17.4-1vulnerable
Ubuntupypdf24.044.0.0-1vulnerable
Ubuntupypdf24.044.0.1-1vulnerable
Ubuntupypdf24.044.0.2-1vulnerable
Ubuntupypdf224.042.12.1-3vulnerable
Ubuntupypdf224.042.12.1-4vulnerable
Ubuntupypdf26.106.9.2-1vulnerable
Ubuntupypdf26.106.9.2-2vulnerable
Ubuntupypdf26.045.4.0-1vulnerable
Ubuntupypdf26.046.9.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypdfsourcesid6.21.1-1not yet assignedNot reportedNot reported
Debianpypdfsourceforky6.21.1-1not yet assignedNot reportedNot reported
Debianpypdfsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpypdfsourcebookworm(unfixed)not yet assignedNot reportedNot reported
Debianpypdf2sourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[trixie] pypdf: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-pypdf]Affected

    Source package: [pypdf]

    Details (2)
    • 3.4.1-1+deb12u1 · all · bookworm

      Affected

      dsa · pypdf · debian · bookworm; dsa · pypdf · debian · 12

    • 3.4.1-1+deb12u1 · all · bookworm

      Affected

      dsa · pypdf · debian · bookworm; dsa · pypdf · debian · 12

  • [python3-pypdf2]Affected

    Source package: [pypdf2]

    Details (2)
    • 2.12.1-3+deb12u1 · all · bookworm

      Affected

      dsa · pypdf2 · debian · bookworm; dsa · pypdf2 · debian · 12

    • 2.12.1-3+deb12u1 · all · bookworm

      Affected

      dsa · pypdf2 · debian · bookworm; dsa · pypdf2 · debian · 12

[Debian 13 (Trixie)]

  • [python3-pypdf]Affected

    Source package: [pypdf]

    Details (2)
    • 5.4.0-1 · all · trixie

      Affected

      dsa · pypdf · debian · 13

    • 5.4.0-1 · all · trixie

      Affected

      dsa · pypdf · debian · 13

Observed:

References