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: n/a
KEV: No
Impact: n/a
Action: n/a
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

No vendor fix or workaround currently provided.

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

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

Redhat Ansible Automation Platform Enterprise Linux Openshift Ai Openstack
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-08-27T21:14:23.428Z

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

Link: CVE-2026-80179

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

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-08-28T08:30:17Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling