# CVE-2024-28102: JWCrypto vulnerable to JWT bomb Attack in `deserialize` function

- Severity: Medium 6.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- 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.98%, higher than 63% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-03-06T20:00:56.000Z
- Modified: 2026-09-10T03:50:10.546Z
- Also known as: GHSA-j857-7rvv-vj97, PYSEC-2026-1484
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

JWCrypto implements JWK, JWS, and JWE specifications using python-cryptography. Prior to version 1.5.6, an attacker can cause a denial of service attack by passing in a malicious JWE Token with a high compression ratio. When the server processes this token, it will consume a lot of memory and processing time. Version 1.5.6 fixes this vulnerability by limiting the maximum token length.

(As written by CVE List.)

## Affected

- latchset jwcrypto: < 1.5.6; before 1.5.6
- jwcrypto (PyPI): before 1.5.6
- debian debian_linux: 11.0

## Every score

- GitHub_M: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`

## References

- <https://github.com/latchset/jwcrypto/security/advisories/GHSA-j857-7rvv-vj97> (exploit, vendor-advisory, web)
- <https://www.vicarius.io/vsociety/posts/denial-of-service-vulnerability-discovered-in-jwcrypto-cve-2024-28102-28103> (exploit, press/media-coverage, technical-description, web)
- <https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f> (fix, patch, web)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00026.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-28102> (advisory)
- <https://github.com/latchset/jwcrypto> (package)
- <https://pypi.org/project/jwcrypto> (package)
- <https://github.com/advisories/GHSA-j857-7rvv-vj97> (advisory)

## Sources

- CVE List: [CVE-2024-28102](https://www.cve.org/CVERecord?id=CVE-2024-28102), CVE Terms of Use, modified 2024-09-09
- GitHub Advisory Database: [GHSA-j857-7rvv-vj97](https://github.com/advisories/GHSA-j857-7rvv-vj97), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-28102](https://nvd.nist.gov/vuln/detail/CVE-2024-28102), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1484](https://osv.dev/vulnerability/PYSEC-2026-1484), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2024-28102 · Whole record: https://cve.day/CVE-2024-28102.json · Rebuilt by cve.day 2026-11-25T22:58:37.797Z
