{"id":"CVE-2026-119207","aliases":["GHSA-4vqv-7265-gm2w"],"title":"pypdf: Possible large memory usage for exceptions in strict mode","titleSource":"GitHub_M","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires loading an invalid dictionary.\n\n### Patches\n\nThis has been fixed in [pypdf==6.21.3](https://github.com/py-pdf/pypdf/releases/tag/6.21.3).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4265](https://github.com/py-pdf/pypdf/pull/4265).","severity":"high","score":7.1,"published":"2026-10-29T20:38:54.611Z","modified":"2026-10-30T23:15:07.229Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"PyPI","name":"pypdf","sources":[{"name":"OSV · GHSA-4vqv-7265-gm2w","url":"https://osv.dev/vulnerability/GHSA-4vqv-7265-gm2w"}],"ranges":[{"events":[{"introduced":"0"},{"fixed":"6.21.3"}],"type":"ECOSYSTEM"}],"versions":["1.0","1.1","1.10","1.11","1.12","1.13","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","3.1.0","3.10.0","3.11.0","3.11.1","3.12.0","3.12.1","3.12.2","3.13.0","3.14.0","3.15.0","3.15.1","3.15.2","3.15.3","3.15.4","3.15.5","3.16.0","3.16.1","3.16.2","3.16.3","3.16.4","3.17.0","3.17.1","3.17.2","3.17.3","3.17.4","3.2.0","3.2.1","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","4.0.2","4.1.0","4.2.0","4.3.0","4.3.1","5.0.0","5.0.1","5.1.0","5.2.0","5.3.0","5.3.1","5.4.0","5.5.0","5.6.0","5.6.1","5.7.0","5.8.0","5.9.0","6.0.0","6.1.0","6.1.1","6.1.2","6.1.3","6.10.0","6.10.1","6.10.2","6.11.0","6.12.0","6.12.1","6.12.2","6.13.0","6.13.1","6.13.2","6.13.3","6.14.0","6.14.1","6.14.2","6.15.0","6.16.0","6.16.1","6.16.2","6.17.0","6.18.0","6.18.1","6.19.0","6.2.0","6.20.0","6.20.1","6.21.0","6.21.1","6.21.2","6.3.0","6.4.0","6.4.1","6.4.2","6.5.0","6.6.0","6.6.1","6.6.2","6.7.0","6.7.1","6.7.2","6.7.3","6.7.4","6.7.5","6.8.0","6.9.0","6.9.1","6.9.2"],"fixed":["6.21.3"]}],"sourceAffected":[],"references":["https://github.com/py-pdf/pypdf/security/advisories/GHSA-4vqv-7265-gm2w","https://github.com/py-pdf/pypdf/pull/4265","https://github.com/py-pdf/pypdf/commit/64270258c0eced720f7960aecf8cef31afd39f8d","https://github.com/py-pdf/pypdf/releases/tag/6.21.3","https://nvd.nist.gov/vuln/detail/CVE-2026-119207","https://github.com/py-pdf/pypdf"],"sources":[{"name":"CVE","id":"CVE-2026-119207","modified":"2026-10-30T17:12:40.743Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-119207"},{"name":"OSV","id":"GHSA-4vqv-7265-gm2w","modified":"2026-10-30T23:15:07.229853114Z","url":"https://osv.dev/vulnerability/GHSA-4vqv-7265-gm2w"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1}],"cve":{"records":[{"id":"CVE-2026-119207","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-29T16:04:48.729Z","published":"2026-10-29T20:38:54.611Z","modified":"2026-10-30T17:12:40.743Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-29T20:38:54.611Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-10-30T17:12:40.743Z"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-4vqv-7265-gm2w","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/py-pdf/pypdf/pull/4265","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/py-pdf/pypdf/commit/64270258c0eced720f7960aecf8cef31afd39f8d","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.3","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-400","description":"CWE-400: Uncontrolled Resource Consumption","source":"GitHub_M"},{"id":"CWE-405","description":"CWE-405: Asymmetric Resource Consumption (Amplification)","source":"GitHub_M"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-10-30T17:12:29.821934Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"products":[{"vendor":"py-pdf","name":"pypdf","platforms":[],"versions":[{"version":"< 6.21.3","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-119207"}],"remediation":[],"observedAt":"2026-10-30T23:32:22.472Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T09:10:30.844Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-10-29T21:10:35.619Z","attemptedAt":"2026-10-29T21:10:35.619Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-10-29T21:10:34.907Z","attemptedAt":"2026-10-29T21:10:34.907Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-29T21:10:34.938Z","attemptedAt":"2026-10-29T21:10:34.938Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-10-29T21:10:35.676Z","attemptedAt":"2026-10-29T21:10:35.676Z"}],"evidence":[{"source":"ENISA EUVD","id":"EUVD-2026-113379","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-113379","modified":"Oct 29, 2026, 8:38:54 PM","score":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","checkedAt":"2026-10-29T21:10:34.938Z"}],"aiSummary":{"text":"The pypdf library, versions less than 6.21.3, has a possible large memory usage vulnerability when loading an invalid dictionary in strict mode. An attacker can craft a PDF to exploit this. The impact is large memory usage.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T00:01:50.476Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-119207"},{"name":"OSV","url":"https://osv.dev/vulnerability/GHSA-4vqv-7265-gm2w"}]}}