{"schemaVersion":3,"id":"CVE-2025-65015","aliases":["GHSA-frfh-8v73-gjg4","PYSEC-2026-361","UBUNTU-CVE-2025-65015","DEBIAN-CVE-2025-65015","CGA-44px-9hp5-83pw","CGA-53mh-hqqh-4gwm","CGA-c9ww-rpwr-qcf2","CGA-rw3h-rw5x-j9mf"],"status":"published","duplicateOf":null,"title":null,"description":"joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In versions from 1.3.3 to before 1.3.5 and from 1.4.0 to before 1.4.2, the ExceededSizeError exception messages are embedded with non-decoded JWT token parts and may cause Python logging to record an arbitrarily large, forged JWT payload. In situations where a misconfigured — or entirely absent — production-grade web server sits in front of a Python web application, an attacker may be able to send arbitrarily large bearer tokens in the HTTP request headers. When this occurs, Python logging or diagnostic tools (e.g., Sentry) may end up processing extremely large log messages containing the full JWT header during the joserfc.jwt.decode() operation. The same behavior also appears when validating claims and signature payload sizes, as the library raises joserfc.errors.ExceededSizeError() with the full payload embedded in the exception message. Since the payload is already fully loaded into memory at this stage, the library cannot prevent or reject it. This issue has been patched in versions 1.3.5 and 1.4.2.","dates":{"published":"2025-11-18T23:07:44.328Z","modified":"2025-11-19T17:12:04.336Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.2,"severity":"critical","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:H/SC:N/SI:N/SA:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":9.2,"severity":"critical","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:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":9.2,"severity":"critical","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:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":9.2,"severity":"critical","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:H","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":"OSV · Chainguard","score":9.2,"severity":"critical","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:H","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":9.2,"severity":"critical","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:H/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":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.0044,"percentile":0.36839,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.029999999999999992,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0041},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0044,"percentile":0.36839}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0041,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0044,"percentile":0.36839}]},"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":[{"id":"GITHUB_AUTHLIB_JOSERFC","name":"Joserfc","source":"github","url":"https://github.com/authlib/joserfc/security/advisories/GHSA-frfh-8v73-gjg4","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/770.html"}],"affected":[{"vendor":"chainguard","product":"localstack","name":"localstack","label":"localstack","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/localstack","purlType":"apk","versions":[{"text":"< 4.10.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-r1","eol":null,"hubHref":null},{"vendor":"chainguard","product":"localstack-compat","name":"localstack-compat","label":"localstack-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/localstack-compat","purlType":"apk","versions":[{"text":"< 4.10.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.10.0-r1","eol":null,"hubHref":null},{"vendor":"authlib","product":"joserfc","name":"joserfc","label":"joserfc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.3, < 1.3.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.4.0, < 1.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.3, < 1.3.5 | ≥ 1.4.0, < 1.4.2","eol":null,"hubHref":"/vendor/authlib/joserfc"},{"vendor":"debian","product":"joserfc","name":"joserfc","label":"joserfc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/joserfc","purlType":"deb","versions":[{"text":"< 1.4.3-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.4.3-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"joserfc","name":"joserfc","label":"joserfc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/joserfc","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"hsiaoming","product":"joserfc","name":"joserfc","label":"joserfc","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.3.3, < 1.3.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.4.0, < 1.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.3, < 1.3.5 | ≥ 1.4.0, < 1.4.2","eol":null,"hubHref":"/vendor/hsiaoming/joserfc"},{"vendor":"PyPI","product":"joserfc","name":"joserfc","label":"joserfc","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/joserfc","purlType":"pypi","versions":[{"text":"≥ 1.3.3, < 1.3.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.4.0, < 1.4.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.3.3, < 1.3.5 | ≥ 1.4.0, < 1.4.2","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/authlib/joserfc/security/advisories/GHSA-frfh-8v73-gjg4","label":"github.com/authlib/joserfc/security/advisories/GHSA-frfh-8v73-gjg4","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","REPORT","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/authlib/joserfc/commit/63932f169d924caffafa761af2122b82059017f7","label":"github.com/authlib/joserfc/commit/63932f169d924caffafa761af2122b82059017f7","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","FIX","Patch"]},{"url":"https://github.com/authlib/joserfc/commit/673c8743fd0605b0e1de6452be6cba75f44e466b","label":"github.com/authlib/joserfc/commit/673c8743fd0605b0e1de6452be6cba75f44e466b","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","FIX","Patch"]},{"url":"https://github.com/authlib/joserfc/releases/tag/1.3.5","label":"github.com/authlib/joserfc/releases/tag/1.3.5","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Release Notes"]},{"url":"https://github.com/authlib/joserfc/releases/tag/1.4.2","label":"github.com/authlib/joserfc/releases/tag/1.4.2","hostname":"github.com","tags":["X Refsource MISC","WEB","REPORT","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-65015","label":"nvd.nist.gov/vuln/detail/CVE-2025-65015","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/authlib/joserfc","label":"github.com/authlib/joserfc","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/joserfc","label":"pypi.org/project/joserfc","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-frfh-8v73-gjg4","label":"github.com/advisories/GHSA-frfh-8v73-gjg4","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-65015","label":"ubuntu.com/security/CVE-2025-65015","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-65015","label":"www.cve.org/CVERecord?id=CVE-2025-65015","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-65015","label":"security-tracker.debian.org/tracker/CVE-2025-65015","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65015.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65015.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-27CG-3QG8-CGVR"]},"timeline":[{"kind":"published","date":"2025-11-18T23:07:44.328Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-19T17:12:04.336Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:20:42.874Z","stale":false,"partial":false}}