Description
A flaw was found in jwcrypto. A remote attacker can send a specially crafted JSON Web Encryption (JWE) token containing numerous period delimiters. This malformed token can force the JWE.deserialize() function to allocate excessive memory, leading to a MemoryError. This issue results in a denial of service (DoS) for services that process untrusted JWE values.
Published: 2026-08-27
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via memory exhaustion caused by malformed JSON Web Encryption tokens
Action: Apply Patch
AI Analysis

Impact

A flaw in the jwcrypto library allows an attacker to craft a JSON Web Encryption token that contains an unusually large number of period delimiters. When the token is processed by JWE.deserialize(), the library attempts to allocate a memory block proportional to the number of delimiters, resulting in an out‑of‑memory condition that generates a MemoryError. This causes the process to terminate or become unresponsive, effectively denying service to legitimate users.

Affected Systems

The vulnerability affects several Red Hat–provisioned products. Ansible Automation Platform 2, OpenShift AI, and OpenStack Platform 16.2 are all built on the jwcrypto library and are therefore susceptible. The underlying operating systems, Red Hat Enterprise Linux 9 and 10, host these products and inherit the same risk when their packages include the vulnerable library. Any deployment of these platforms that accepts external JWE tokens without validation is at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium impact, and the lack of an EPSS rating or KEV listing suggests current exploit evidence is limited; however, the attack vector is likely remote via network requests to any service that processes JWE tokens. There is no known privilege escalation or data compromise; the main consequence is service disruption due to memory exhaustion. Until a vendor patch is applied, the risk remains that a malicious actor could trigger repeated crashes, impacting availability and potentially forcing costly service restarts.

Generated by OpenCVE AI on August 28, 2026 at 08:15 UTC.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Upgrade all affected packages (Ansible Automation Platform 2, OpenShift AI, OpenStack Platform 16.2, and the underlying RHEL 9/10 libraries) to the latest Red Hat releases that contain the patched jwcrypto.
  • Configure any application that parses JWE tokens to reject tokens with an excessive number of periods or overall size beyond reasonable limits; for example, implement a pre‑validation layer that checks token length or the count of delimiter characters before calling JWE.deserialize().
  • Monitor application logs for frequent MemoryError occurrences and set up alerting or automated restarts for services that become unresponsive, ensuring minimal downtime if an accidental or malicious token is processed.

Generated by OpenCVE AI on August 28, 2026 at 08:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat red Hat Openshift Ai (rhoai)
Redhat openstack Platform
Vendors & Products Red Hat
Red Hat red Hat Openshift Ai (rhoai)
Redhat openstack Platform

Fri, 28 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in jwcrypto. A remote attacker can send a specially crafted JSON Web Encryption (JWE) token containing numerous period delimiters. This malformed token can force the JWE.deserialize() function to allocate excessive memory, leading to a MemoryError. This issue results in a denial of service (DoS) for services that process untrusted JWE values.
Title Jwcrypto: jwcrypto: denial of service via malformed jwe tokens
First Time appeared Redhat
Redhat ansible Automation Platform
Redhat enterprise Linux
Redhat openshift Ai
Redhat openstack
Weaknesses CWE-770
CPEs cpe:/a:redhat:ansible_automation_platform:2
cpe:/a:redhat:openshift_ai
cpe:/a:redhat:openstack:16.2
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat ansible Automation Platform
Redhat enterprise Linux
Redhat openshift Ai
Redhat openstack
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Subscriptions

Red Hat Red Hat Openshift Ai (rhoai)
Redhat Ansible Automation Platform Enterprise Linux Openshift Ai Openstack Openstack Platform
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-09-09T17:11:03.875Z

Reserved: 2026-08-25T21:13:03.622Z

Link: CVE-2026-80179

cve-icon Vulnrichment

Updated: 2026-08-28T15:33:40.318Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-28T00:18:20.337

Modified: 2026-08-31T21:17:49.240

Link: CVE-2026-80179

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-26T00:00:00Z

Links: CVE-2026-80179 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-01T14:22:19Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling