{"schemaVersion":3,"id":"CVE-2026-27888","aliases":["GHSA-x7hp-r3qg-r3cj","PYSEC-2026-3027","UBUNTU-CVE-2026-27888","DEBIAN-CVE-2026-27888"],"status":"published","duplicateOf":null,"title":null,"description":"pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xfa` property of a reader or writer and the corresponding stream being compressed using `/FlateDecode`. This has been fixed in pypdf 6.7.3. As a workaround, apply the patch manually.","dates":{"published":"2026-02-26T00:42:00.542Z","modified":"2026-06-23T15:49:46.210Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.6,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":8.7,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.6,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00658,"percentile":0.50618,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.31,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00348},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00658,"percentile":0.50618}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00348,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0062,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00644,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00658,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00658,"percentile":0.50618}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"debian","product":"pypdf","name":"pypdf","label":"pypdf","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pypdf","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 6.9.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 6.9.0-1","eol":null,"hubHref":null},{"vendor":"debian","product":"pypdf2","name":"pypdf2","label":"pypdf2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/pypdf2","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"pypdf","name":"pypdf","label":"pypdf","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pypdf","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"py-pdf","product":"pypdf","name":"pypdf","label":"pypdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.7.3","eol":null,"hubHref":"/vendor/py-pdf/pypdf"},{"vendor":"pypdf_project","product":"pypdf","name":"pypdf","label":"pypdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 6.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.7.3","eol":null,"hubHref":"/vendor/pypdf_project/pypdf"},{"vendor":"PyPI","product":"pypdf","name":"pypdf","label":"pypdf","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/pypdf","purlType":"pypi","versions":[{"text":"< 6.7.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.7.3","eol":null,"hubHref":null}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-x7hp-r3qg-r3cj","label":"github.com/py-pdf/pypdf/security/advisories/GHSA-x7hp-r3qg-r3cj","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Patch","Vendor Advisory"]},{"url":"https://github.com/py-pdf/pypdf/pull/3658","label":"github.com/py-pdf/pypdf/pull/3658","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Issue Tracking","Patch"]},{"url":"https://github.com/py-pdf/pypdf/commit/7a4c8246ed48d9d328fb596942271da47b6d109c","label":"github.com/py-pdf/pypdf/commit/7a4c8246ed48d9d328fb596942271da47b6d109c","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.3","label":"github.com/py-pdf/pypdf/releases/tag/6.7.3","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Product","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27888","label":"nvd.nist.gov/vuln/detail/CVE-2026-27888","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/py-pdf/pypdf","label":"github.com/py-pdf/pypdf","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/pypdf","label":"pypi.org/project/pypdf","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-x7hp-r3qg-r3cj","label":"github.com/advisories/GHSA-x7hp-r3qg-r3cj","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-27888","label":"ubuntu.com/security/CVE-2026-27888","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-27888","label":"www.cve.org/CVERecord?id=CVE-2026-27888","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-27888","label":"security-tracker.debian.org/tracker/CVE-2026-27888","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:10284-1","OPENSUSE-SU-2026:20333-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10284-1","OPENSUSE-SU-2026:20333-1"]},"timeline":[{"kind":"published","date":"2026-02-26T00:42:00.542Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-23T15:49:46.210Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T05:08:14.758Z","stale":false,"partial":false}}