CVE-2026-142105: python-jwcrypto Unbounded Resource Allocation
Published 2026-12-02 · Updated 2026-12-03 · Source secalert@redhat.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- Check the references below for the vendor's patched release of python-jwcrypto and apply it.
- Until it is patched, do not leave python-jwcrypto reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply rate limits and request-size limits in front of the affected service.
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: availability is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | Low | Partial loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: Unbounded Resource Allocation
The software allocates resources without limit, so an attacker can exhaust them and cause denial of service.
Classified as CWE-770.
Description
A flaw was found in python-jwcrypto. A remote attacker can trigger a Denial of Service (DoS) by sending crafted JSON Web Encryption (JWE) header data or JSON Web Key (JWK) set entries that force the library to generate cryptographic keys of arbitrary types and unbounded sizes. This processing occurs prior to cryptographic authentication, allowing an attacker to cause excessive memory allocation or prolonged CPU utilization during key generation. As a result, the application can become unresponsive or crash.
Advisory text as published in the NVD record.