Advisory record · GHSA-5hx5-vpf9-5wcv

pypdf: Unvalidated JPEG image data loading

CVSS 2.3 LowEPSS 0.0040 · 34th percentile

Published by the GitHub Advisory Database at 21 Oct 2026, 19:58 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pypdfPyPI<6.21.16.21.1
Identifiers
GHSA-5hx5-vpf9-5wcv · CVE-2026-113786
Weakness (CWE)
CWE-20 · CWE-183
Published
21 Oct 2026
Updated
21 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

pypdf versions before 6.21.1 are vulnerable. An attacker who can supply a crafted PDF can cause arbitrary image parsers to be called when the PDF's image is loaded, but only if the optional Pillow dependency is installed. Upgrade to pypdf 6.21.1 or later; the source gives no other workaround besides a pull request, which is not listed here.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
2.3 Low 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.