{"id":"CVE-2026-27888","aliases":["CLSA-2026-1787843313","DEBIAN-CVE-2026-27888","EUVD-2026-8791","GHSA-x7hp-r3qg-r3cj","PYSEC-2026-3027","ROOT-APP-PYPI-CVE-2026-27888","UBUNTU-CVE-2026-27888","openSUSE-SU-2026:10284-1","openSUSE-SU-2026:20333-1"],"status":"published","title":"pypdf: Manipulated FlateDecode XFA streams can exhaust RAM","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.","severity":{"version":"4.0","score":6.6,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00399,"percentile":0.34572,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2026-02-26T00:42:00Z","modified":"2026-11-04T02:47:32Z","fixes":[{"ecosystem":"PyPI","package":"pypdf","fixed_in":["6.7.3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:14","package":"pypdf","fixed_in":["6.9.0-1"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"pypdf","fixed_in":["6.6.0+aikido.7","6.6.0+aikido.8","6.6.0+aikido.9","6.6.0+aikido.10","6.6.0+aikido.11","6.6.0+aikido.12","6.6.0+aikido.13","6.6.0+aikido.14","6.6.0+aikido.15"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"rootio-pypdf","fixed_in":["6.6.0+root.io.2","6.6.0+root.io.3","6.6.0+root.io.4","6.6.0+root.io.5","6.6.0+root.io.6","6.6.0+root.io.7","6.6.0+root.io.8","6.6.0+root.io.9","6.6.0+root.io.10","6.6.0+root.io.11"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.3"}]}]},{"source":"osv","ecosystem":"TuxCare:PyPI","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.9.0"},{"fixed":"5.9.0.post16+tuxcare"}]}],"versions":["5.9.0","5.9.0.post1+tuxcare","5.9.0.post10+tuxcare","5.9.0.post11+tuxcare","5.9.0.post12+tuxcare","5.9.0.post13+tuxcare","5.9.0.post14+tuxcare","5.9.0.post15+tuxcare","5.9.0.post2+tuxcare","5.9.0.post3+tuxcare","5.9.0.post4+tuxcare","5.9.0.post5+tuxcare","5.9.0.post6+tuxcare","5.9.0.post7+tuxcare","5.9.0.post8+tuxcare","5.9.0.post9+tuxcare"],"bundled":10},{"source":"osv","ecosystem":"Debian:12","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.17.4-1","3.4.1-1","3.4.1-1+deb12u1","4.0.0-1","4.0.0-1~exp1","4.0.1-1","4.0.2-1","4.1.0-1","4.2.0-1","4.3.1-1","5.4.0-1","6.19.0-1","6.21.0-1","6.21.1-1","6.21.4-1","6.9.0-1","6.9.2-1","6.9.2-2"]},{"source":"osv","ecosystem":"Debian:13","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-1","6.19.0-1","6.21.0-1","6.21.1-1","6.21.4-1","6.9.0-1","6.9.2-1","6.9.2-2"]},{"source":"osv","ecosystem":"Debian:14","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9.0-1"}]}],"versions":["5.4.0-1"]},{"source":"osv","ecosystem":"Debian:12","package":"pypdf2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.1-3","2.12.1-3+deb12u1","2.12.1-4"]},{"source":"osv","ecosystem":"PyPI","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.3"}]}],"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.2.0","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"]},{"source":"osv","ecosystem":"PyPI","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.7.3"}]}],"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.2.0","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"]},{"source":"osv","ecosystem":"Root:PyPI","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.0+aikido.7"},{"fixed":"6.6.0+aikido.8"},{"fixed":"6.6.0+aikido.9"},{"fixed":"6.6.0+aikido.10"},{"fixed":"6.6.0+aikido.11"},{"fixed":"6.6.0+aikido.12"},{"fixed":"6.6.0+aikido.13"},{"fixed":"6.6.0+aikido.14"},{"fixed":"6.6.0+aikido.15"}]}]},{"source":"osv","ecosystem":"Root:PyPI","package":"rootio-pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.6.0+root.io.2"},{"fixed":"6.6.0+root.io.3"},{"fixed":"6.6.0+root.io.4"},{"fixed":"6.6.0+root.io.5"},{"fixed":"6.6.0+root.io.6"},{"fixed":"6.6.0+root.io.7"},{"fixed":"6.6.0+root.io.8"},{"fixed":"6.6.0+root.io.9"},{"fixed":"6.6.0+root.io.10"},{"fixed":"6.6.0+root.io.11"}]}]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.1-1","3.17.4-1","4.0.0-1","4.0.1-1","4.0.2-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.1-1","5.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.9.2-1","6.9.2-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"pypdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-1","6.9.2-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-PyPDF2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11.1-5.1"}]}],"bundled":2}],"products":[{"vendor":"py-pdf","product":"pypdf"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-x7hp-r3qg-r3cj","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web","report"]},{"url":"https://github.com/py-pdf/pypdf/pull/3658","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web","report"]},{"url":"https://github.com/py-pdf/pypdf/commit/7a4c8246ed48d9d328fb596942271da47b6d109c","tags":["x_refsource_MISC","Patch","fix","web","report"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.7.3","tags":["x_refsource_MISC","Product","Release Notes","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27888","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-x7hp-r3qg-r3cj","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27888.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-27888","tags":["advisory"]},{"url":"https://github.com/py-pdf/pypdf","tags":["package"]},{"url":"https://pypi.org/project/pypdf","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-27888","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-27888","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27628","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27888","tags":["web"]},{"url":"https://bugzilla.suse.com/1248089","tags":["report"]},{"url":"https://bugzilla.suse.com/1258691","tags":["report"]},{"url":"https://bugzilla.suse.com/1258692","tags":["report"]},{"url":"https://bugzilla.suse.com/1258693","tags":["report"]},{"url":"https://bugzilla.suse.com/1258934","tags":["report"]},{"url":"https://bugzilla.suse.com/1258940","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2025-55197","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27024","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27025","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-27026","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-27888","title":"pypdf: Manipulated FlateDecode XFA streams can exhaust RAM","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.","status":"published","published":"2026-02-26T00:42:00.542Z","modified":"2026-06-23T15:49:46.21Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:19:49.199185Z"}],"euvd":[{"id":"EUVD-2026-8791","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.","status":"published","published":"2026-02-26T00:42:00Z","modified":"2026-06-23T15:49:46Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"}],"updated_at":"2026-11-02T18:20:33.324654Z"}],"ghsa":[{"id":"GHSA-x7hp-r3qg-r3cj","title":"pypdf: Manipulated FlateDecode XFA streams can exhaust RAM","description":"### Impact\nAn 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`.\n\n### Patches\nThis has been fixed in [pypdf==6.7.3](https://github.com/py-pdf/pypdf/releases/tag/6.7.3).\n\n### Workarounds\nIf projects cannot upgrade yet, consider applying the changes from PR [#3658](https://github.com/py-pdf/pypdf/pull/3658).","status":"published","published":"2026-02-26T19:55:33Z","modified":"2026-02-26T19:55:35Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:39:27.949248Z"}],"nvd":[{"id":"CVE-2026-27888","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.","status":"published","published":"2026-02-26T01:16:25.47Z","modified":"2026-11-02T16:06:04.477Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T20:51:29.978497Z"}],"osv":[{"id":"CVE-2026-27888","title":"pypdf: Manipulated FlateDecode XFA streams can exhaust RAM","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.","status":"published","published":"2026-02-26T00:42:00.542Z","modified":"2026-11-04T02:47:32.89780263Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-04T02:53:45.692342Z"},{"id":"DEBIAN-CVE-2026-27888","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.","status":"published","published":"2026-02-26T01:16:25.47Z","modified":"2026-11-03T10:00:36.52375286Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T10:27:58.933618Z"},{"id":"GHSA-x7hp-r3qg-r3cj","title":"pypdf: Manipulated FlateDecode XFA streams can exhaust RAM","description":"### Impact\nAn 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`.\n\n### Patches\nThis has been fixed in [pypdf==6.7.3](https://github.com/py-pdf/pypdf/releases/tag/6.7.3).\n\n### Workarounds\nIf projects cannot upgrade yet, consider applying the changes from PR [#3658](https://github.com/py-pdf/pypdf/pull/3658).","status":"published","published":"2026-02-26T19:55:33Z","modified":"2026-07-13T16:43:05.154122042Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"PYSEC-2026-3027","title":"pypdf: Manipulated FlateDecode XFA streams can exhaust RAM","description":"### Impact\nAn 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`.\n\n### Patches\nThis has been fixed in [pypdf==6.7.3](https://github.com/py-pdf/pypdf/releases/tag/6.7.3).\n\n### Workarounds\nIf projects cannot upgrade yet, consider applying the changes from PR [#3658](https://github.com/py-pdf/pypdf/pull/3658).","status":"published","published":"2026-07-13T14:36:39.337929Z","modified":"2026-07-13T16:33:10.03672625Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"}],"updated_at":"2026-11-02T15:52:56.429374Z"},{"id":"UBUNTU-CVE-2026-27888","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.","status":"published","published":"2026-02-26T01:16:00Z","modified":"2026-10-17T12:58:07.589634324Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:08.726452Z"},{"id":"CLSA-2026-1787843313","title":"TuxCare security update for pypdf (10 CVEs)","description":"TuxCare rebuilt pypdf to address 10 CVEs. Fixed in 5.9.0.post16+tuxcare.","status":"published","published":"2026-08-27T15:08:33Z","modified":"2026-10-15T09:48:05.735706677Z","updated_at":"2026-11-02T15:43:47.591214Z"},{"id":"openSUSE-SU-2026:10284-1","title":"python311-PyPDF2-2.11.1-5.1 on GA media","description":"These are all security issues fixed in the python311-PyPDF2-2.11.1-5.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-03-04T00:00:00Z","modified":"2026-03-23T04:54:38.893839Z","updated_at":"2026-11-02T16:58:38.101535Z"},{"id":"openSUSE-SU-2026:20333-1","title":"Security update for python-PyPDF2","description":"This update for python-PyPDF2 fixes the following issues:\n\nChanges in python-PyPDF2:\n\n- CVE-2026-27628: Fixed infinite loop when loading circular /Prev entries in cross-reference streams (bsc#1258940)\n- CVE-2026-27888: Fixed issue where manipulated FlateDecode XFA streams can exhaust RAM (bsc#1258934)\n- CVE-2025-55197: Fixed denial of service via craft PDF (bsc#1248089)\n- CVE-2026-27024: Fixed infinite loop when processing TreeObject (bsc#1258691)\n- CVE-2026-27025: Fixed long runtimes/large memory usage for large /ToUnicode streams (bsc#1258692)\n- CVE-2026-27026: Fixed long runtimes for malformed FlateDecode streams (bsc#1258693)\n\n- Convert to pip-based build\n","status":"withdrawn","published":"2026-03-06T21:01:39Z","modified":"2026-08-27T14:00:09.346972712Z","updated_at":"2026-11-02T16:58:41.463445Z"},{"id":"ROOT-APP-PYPI-CVE-2026-27888","title":"CVE-2026-27888 in pypdf - Patched by Root","description":"Root has patched CVE-2026-27888 in the pypdf package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-08-14T15:32:01Z","modified":"2026-08-14T17:00:02.706268547Z","updated_at":"2026-11-02T15:53:27.940619Z"}]}}
