# CVE-2026-119284: joserfc: Compact JWS size guard allocates attacker-controlled segments before rejection

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-29T21:33:16.529Z
- Modified: 2026-10-30T17:17:17.850Z
- Also known as: GHSA-9pg5-8c7x-5hfx
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.7.6, joserfc compact JWS deserialization calls bytes.split() before enforcing the existing aggregate segment-size limits. When attacker-controlled compact serialization bytes reach deserialize_compact(), the split creates copies of the header, payload, and signature segments before ExceededSizeError rejects them, causing an additional allocation approximately proportional to the supplied token. Requests that exhaust available process memory can therefore cause an availability failure even though signature verification fails. This issue is fixed in version 1.7.6.

(As written by CVE List.)

## Affected

- authlib joserfc: < 1.7.6
- joserfc (PyPI): before 1.7.6

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/authlib/joserfc/security/advisories/GHSA-9pg5-8c7x-5hfx> (exploit, web)
- <https://github.com/authlib/joserfc/commit/397e04f4bbce0b94d86e31c1c003f4640af8fb39> (web)
- <https://github.com/authlib/joserfc/releases/tag/1.7.6> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-119284> (advisory)
- <https://github.com/authlib/joserfc> (package)

## Sources

- CVE List: [CVE-2026-119284](https://www.cve.org/CVERecord?id=CVE-2026-119284), CVE Terms of Use, modified 2026-10-30
- GitHub Advisory Database: [GHSA-9pg5-8c7x-5hfx](https://github.com/advisories/GHSA-9pg5-8c7x-5hfx), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-119284](https://nvd.nist.gov/vuln/detail/CVE-2026-119284), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-119284 · Whole record: https://cve.day/CVE-2026-119284.json · Rebuilt by cve.day 2026-11-25T22:59:47.844Z
