{"schemaVersion":3,"id":"CVE-2026-82398","aliases":["GHSA-fc8x-2rww-xw9m","PYSEC-2026-3912","UBUNTU-CVE-2026-82398","DEBIAN-CVE-2026-82398"],"status":"published","duplicateOf":null,"title":null,"description":"pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.","dates":{"published":"2026-08-31T21:41:10.272Z","modified":"2026-09-01T14:57:30.866Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.9,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.9,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/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":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00524,"percentile":0.43537,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.22299999999999998,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00301},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00524,"percentile":0.43537}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00301,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00524,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00524,"percentile":0.43537}]},"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-407","name":"Inefficient Algorithmic Complexity","description":"An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/407.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.19.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 6.19.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":"ubuntu","product":"pypdf2","name":"pypdf2","label":"pypdf2","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/pypdf2","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.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.15.0","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.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.15.0","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.15.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.15.0","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-fc8x-2rww-xw9m","label":"github.com/py-pdf/pypdf/security/advisories/GHSA-fc8x-2rww-xw9m","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Patch","Vendor Advisory"]},{"url":"https://github.com/py-pdf/pypdf/pull/3947","label":"github.com/py-pdf/pypdf/pull/3947","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch"]},{"url":"https://github.com/py-pdf/pypdf/commit/4959848e057e37c218dccad7465259210923faaa","label":"github.com/py-pdf/pypdf/commit/4959848e057e37c218dccad7465259210923faaa","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Patch"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.15.0","label":"github.com/py-pdf/pypdf/releases/tag/6.15.0","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82398","label":"nvd.nist.gov/vuln/detail/CVE-2026-82398","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-fc8x-2rww-xw9m","label":"github.com/advisories/GHSA-fc8x-2rww-xw9m","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-82398","label":"ubuntu.com/security/CVE-2026-82398","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-82398","label":"www.cve.org/CVERecord?id=CVE-2026-82398","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-82398","label":"security-tracker.debian.org/tracker/CVE-2026-82398","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-08-31T21:41:10.272Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-01T14:57:30.866Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":28,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:45:58.513Z","stale":false,"partial":false}}