pypdf — security advisory
pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can cause pypdf/generic/_appearance_stream.py appearance-stream generation to repeat invariant selection-data work inside a loop when an application updates fields with flattening enabled, resulting in excessive runtimes and application unavailability. This issue is fixed in version 6.19.0.
- Products
- pypdf
- Affected versions
- 5.4.0-1, 6.19.0-1, 6.9.0-1, 6.9.2-1, 6.9.2-2
- Fixed versions
- 6.19.0-1
- CVEs
- CVE-2026-102998
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 29 Oct 2026, 22:18 UTC · Revision 1
Source evidence
pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can cause pypdf/generic/_appearance_stream.py appearance-stream generation to repeat invariant selection-data work inside a loop when an application updates fields with flattening enabled, resulting in excessive runtimes and application unavailability. This issue is fixed in version 6.19.0.
osv:DEBIAN-CVE-2026-102998
pypdf
Fixed versions: Not specified
pypdf
Fixed versions: 6.19.0-1
Complete source record
{
"id": "c97ac97c7ed8f30366b50aa284727172db6cf68c36bdbeb816379cb88a575afc",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-102998",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-102998",
"summary": "pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can cause pypdf/generic/_appearance_stream.py appearance-stream generation to repeat invariant selection-data work inside a loop when an application updates fields with flattening enabled, resulting in excessive runtimes and application unavailability. This issue is fixed in version 6.19.0.",
"evidence": "osv:DEBIAN-CVE-2026-102998",
"products": [
{
"name": {
"value": "pypdf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.4.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.19.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.9.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.9.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "6.9.2-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "pypdf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.19.0-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "5.4.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.9.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.9.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "6.9.2-2",
"evidence": "/affected/1/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-102998",
"aliases": [
"DEBIAN-CVE-2026-102998"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "pypdf",
"purl": "pkg:deb/debian/pypdf?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.4.0-1",
"6.19.0-1",
"6.9.0-1",
"6.9.2-1",
"6.9.2-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102998.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.19.0-1"
}
]
}
],
"package": {
"name": "pypdf",
"purl": "pkg:deb/debian/pypdf?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.4.0-1",
"6.9.0-1",
"6.9.2-1",
"6.9.2-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-102998.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-10T19:00:40.508655824Z",
"provider": "osv",
"upstream": [
"CVE-2026-102998"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-102998"
]
},
"related_cves": [
{
"value": "CVE-2026-102998",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 275450,
"published_at": "2026-09-30T21:17:07.177+00:00"
}