Medium
pypdf: Possible large memory usage when parsing arrays and dictionaries
Type: advisorySources: Official CVE List
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
- Products
- pypdf
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-113790
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 17:43 UTC · Revision 2
Source evidence
pypdf: Possible large memory usage when parsing arrays and dictionaries
core-cve · Original sourcePublished 21 Oct 2026, 15:35 UTC
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
cve:CVE-2026-113790
pypdf
Fixed versions: Not specified
Complete source record
{
"id": "29a1f091c7675c4d80e1f73ae40cc4735cd7f32daa6806333b3b3332dbf3d325",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-113790",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "pypdf: Possible large memory usage when parsing arrays and dictionaries",
"summary": "pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.",
"evidence": "cve:CVE-2026-113790",
"products": [
{
"name": {
"value": "pypdf",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "CVE-2026-113790",
"aliases": [
"CVE-2026-113790"
],
"metrics": [
{
"cvssV4_0": {
"version": "4.0",
"baseScore": 6,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "NONE"
}
}
],
"affected": [
{
"vendor": "py-pdf",
"product": "pypdf",
"versions": [
{
"status": "affected",
"version": "< 6.21.0"
}
]
}
],
"modified": "2026-10-28T01:18:59.036Z",
"provider": "cve",
"references": [
"https://github.com/py-pdf/pypdf/security/advisories/GHSA-f54x-cmq8-qg57",
"https://github.com/py-pdf/pypdf/pull/4218",
"https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12",
"https://github.com/py-pdf/pypdf/releases/tag/6.21.0"
],
"provider_metadata": {
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-113790",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-28T01:18:48.608537Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-28T01:18:59.036Z"
}
}
],
"cna": {
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M",
"dateUpdated": "2026-10-21T15:35:52.503Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-113790",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 404489,
"published_at": "2026-10-21T15:35:52.503+00:00"
}