Intel

AIKIDO-2026-227032

jwcrypto is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-80179 Published 6 days ago

53

Medium Risk

This Affects:

PYTHONjwcrypto
0.0.1 - 1.5.8
Fixed in 1.5.9
Are you affected? Scan for Free

TL;DR

jwcrypto's compact token deserialization splits the input string on the . delimiter before validating the token length or segment count. A crafted JWE or JWS string containing lots of period delimiters forces the parser to allocate a very large list of segments before the structure check runs. Parsing such input can exhaust process memory and raise a MemoryError, degrading availability for services that deserialize externally supplied tokens. The fix bounds the number of splits performed during compact JWE and JWS parsing so malformed tokens are rejected without excessive allocation.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you pass externally supplied or untrusted JWE or JWS tokens to the library's deserialization functions.

Background info

jwcrypto is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 1.5.8.

How to fix this

Upgrade the jwcrypto library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform