CVE-2026-142105
Awaiting Analysis Awaiting Analysis - Queue

Denial of Service in python-jwcrypto via JWE/JWK Key Generation

Vulnerability report for CVE-2026-142105, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-02

Last updated on: 2026-12-02

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-02
Last Modified
2026-12-02
Generated
2026-12-03
AI Q&A
2026-12-02
EPSS Evaluated
N/A
NVD
EUVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Denial of Service (DoS) flaw in the python-jwcrypto library. A remote attacker can send specially crafted JSON Web Encryption (JWE) header data or JSON Web Key (JWK) set entries to force the library to generate cryptographic keys of arbitrary types and unbounded sizes before performing authentication. This causes excessive memory allocation or prolonged CPU usage, making the application unresponsive or causing it to crash.

Detection Guidance

Monitor for unusual CPU or memory spikes during JWE decryption or JWK import operations. Check logs for failed decryption attempts or excessive resource usage. Use tools like top, htop, or ps to observe process behavior. Inspect network traffic for malformed JWE headers or JWK sets with large 'size' parameters.

Impact Analysis

An attacker could degrade service availability by causing applications using python-jwcrypto to consume excessive CPU or memory. This may lead to system slowdowns, crashes, or complete unavailability of services relying on the library, such as Identity Management and token handling components in Red Hat environments.

Mitigation Strategies

Apply the patch from jwcrypto PR #411 if available. Temporarily disable JWE decryption or JWK import features if not critical. Implement rate limiting on API endpoints handling JWE/JWK data. Monitor affected services for resource exhaustion and restart them if necessary.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-142105. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...