HackerFeeds
All CVEs

CVE-2026-142105: python-jwcrypto Unbounded Resource Allocation

MEDIUM5.3

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

  1. Check the references below for the vendor's patched release of python-jwcrypto and apply it.
  2. 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.
  3. 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.

CVSS 3.1 metrics for CVE-2026-142105
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityLowPartial 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.

View on NVD