CVE Explorer
CVE-2026-31826
pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pypdf","vendor":"py-pdf","versions":[{"status":"affected","version":"< 6.8.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6dc31a001aea23d31225c8134124a56469df2e4f2c754be126381df36043a6c9 · sha256:b36ddb2d79b0b364… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.8,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6dc31a001aea23d31225c8134124a56469df2e4f2c754be126381df36043a6c9 · sha256:b36ddb2d79b0b364… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-770","description":"CWE-770: Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6dc31a001aea23d31225c8134124a56469df2e4f2c754be126381df36043a6c9 · sha256:b36ddb2d79b0b364… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/py-pdf/pypdf/pull/3675","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/pull/3675"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6dc31a001aea23d31225c8134124a56469df2e4f2c754be126381df36043a6c9 · sha256:b36ddb2d79b0b364… · /containers/cna/references/1
{"name":"https://github.com/py-pdf/pypdf/releases/tag/6.8.0","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/releases/tag/6.8.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6dc31a001aea23d31225c8134124a56469df2e4f2c754be126381df36043a6c9 · sha256:b36ddb2d79b0b364… · /containers/cna/references/2
{"name":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-hqmh-ppp3-xvm7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6dc31a001aea23d31225c8134124a56469df2e4f2c754be126381df36043a6c9 · sha256:b36ddb2d79b0b364… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.