cve.bz

CVE-2026-102270 pyjwt project pyjwt

4.9 mediumExploit referenceEPSS 0.2%Fix available

Medium (4.9) in pyjwt project pyjwt. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pyjwt 2.14.0.

On this page
PyJWT is a Python implementation of JSON Web Token standards. Prior to 2.14.0, PyJWT is_pem_format is affected because lazy PEM regular expression backtracks extensively. This occurs when a certificate-like input contains repeated BEGIN markers without a matching END marker. As a result, is_pem_format performs unbounded backtracking while searching for a PEM end marker. Consequently, an attacker can cause intensive CPU consumption. This issue is fixed in version 2.14.0.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-09-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-102270 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102270?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102270?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102270 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pyjwt_project:pyjwtbefore 2.14.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jwrc-g2q2-pq5pPyPIpyjwt<2.14.02.14.0
PYSEC-2026-4148PyPIpyjwt<2.14.02.14.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pyjwtno fix listedDEBIAN-CVE-2026-102270
Debian14pyjwt2.14.0-1DEBIAN-CVE-2026-102270
Ubuntu26.10, Pro:16.04:LTS, Pro:18.04:LTS and 1 morepyjwtno fix listedUBUNTU-CVE-2026-102270
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-PyJWT2.8.0-150400.8.20.1SUSE-SU-2026:5064-1
SUSELinux Enterprise Module for Public Cloud 12python-PyJWT1.5.3-3.22.1SUSE-SU-2026:5093-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-PyJWT2.12.1-160000.3.1SUSE-SU-2026:24219-1
SUSELinux Micro 6.0python-PyJWT2.9.0-159998.1.1SUSE-SU-2026:24134-1
SUSELinux Micro 6.1python-PyJWT2.12.1-slfo.1.1_3.1SUSE-SU-2026:24377-1
SUSELinux Micro 6.2python-PyJWT2.12.1-160000.3.1SUSE-SU-2026:24126-1
openSUSELeap 16.0python-PyJWT2.12.1-160000.3.1openSUSE-SU-2026:22074-1
openSUSETumbleweedpython-PyJWT2.15.1-1.1openSUSE-SU-2026:11994-1
Azure Linux3python-jwt2.15.1-1AZL-104988
Alpaquita25, streampy3-jwt2.15.1-r0BELL-CVE-2026-102270

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate because although an attacker can trigger CPU exhaustion leading to denial of service, successful exploitation requires an application to accept and parse untrusted, attacker-supplied key or certificate input. In standard Red Hat product configurations, cryptographic verification keys are sourced from trusted local files or managed credential stores rather than arbitrary external inputs. As a result, typical deployments are not directly exposed unless an application explicitly ingests unvalidated key material.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.5rhaii/vllm-rocm-rhel9:1791425869Fixed 2026-10-13RHSA-2026:82059
Red Hat AI Inference Server 3.5rhaii/vllm-gaudi-rhel9:1791427182Fixed 2026-10-13RHSA-2026:82061
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1791473631Fixed 2026-10-13RHSA-2026:82368
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1791818357Fixed 2026-10-13RHSA-2026:82371
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1791473614Fixed 2026-10-13RHSA-2026:82415
Red Hat Enterprise Linux AI 3.5rhelai3/disk-image-cuda-rhel9:1793206758Fixed 2026-10-29RHSA-2026:92449
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-aws-cuda-rhel9:1793194817Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-azure-cuda-rhel9:1793194815Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-azure-rocm-rhel9:1793194834Fixed 2026-10-29RHSA-2026:92452
Red Hat Enterprise Linux AI 3.5rhelai3/bootc-cuda-rhel9:1793135861Fixed 2026-10-29RHSA-2026:92452
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Fence Agents Remediation Operatorworkload-availability/fence-agents-remediation-rhel9-operatorFix deferred
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Fix deferred
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Fix deferred
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-agentic-sandbox-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-ocp-rag-rhel9Fix deferred
OpenShift Lightspeedopenshift-lightspeed/lightspeed-service-api-rhel9Fix deferred
116 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102270.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON