Description
joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. in versions 1.7.1 and prior, joserfc accepts JWTs with trailing padding (==) which are not conforming to the JOSE specifications. This leads to malleability of the JWTs when consumed by joserfc. Depending on this application this might or not be an issue. This could lead to bypass of token revocation or anti-replay protection when implemented as a deny list of tokens or a deny list of token hashes. Note that ECDSA JWS are always malleable because of the malleability of ECDSA signatures (first test case in the code bellow). This makes a scheme which assumes that JWTs are not malleable brittle. However for other signatures (or MAC) schemes it might make sense to assume non malleability of the token. This issue has been fixed in version 1.7.2.
Published: 2026-07-29
Score: 2.3 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

jOSerfc, a Python JOSE implementation, incorrectly accepts JWTs that contain trailing padding characters (==) which are non‑conforming to the standard. This flaw allows an attacker to modify the token signature or payload in a way that still verifies correctly when processed by jOSerfc. Depending on how the application uses the token, this could permit bypassing token revocation lists or anti‑replay protections that rely on strict token integrity. The vulnerability is rooted in a weakness identified as CWE‑1286 and CWE‑345.

Affected Systems

The issue affects the Authlib project's jOSerfc component in versions up to 1.7.1. Systems that include this library, such as Red Hat Hummingbird deployments, are susceptible. The flaw was fixed in jOSerfc 1.7.2.

Risk and Exploitability

The CVSS score of 2.3 indicates a low overall severity, and the EPSS score of less than 1% suggests that exploitation is unlikely. The vulnerability is not listed in CISA’s KEV catalog. The attack vector is likely a malicious actor submitting a crafted JWT with padding to an application that uses jOSerfc to verify the token; no special privileges or network exposure are required beyond the ability to supply tokens to the target application.

Generated by OpenCVE AI on August 2, 2026 at 07:45 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade jOSerfc to version 1.7.2 or later to eliminate padding acceptance
  • If an immediate upgrade is not feasible, enforce strict JWT validation by rejecting any JWT containing padding characters (==) and requiring strict signature verification per the JOSE specification
  • Review application token handling and remove assumptions about token non‑malleability to ensure revocation and anti‑replay mechanisms remain reliable

Generated by OpenCVE AI on August 2, 2026 at 07:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 30 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Redhat
Redhat hummingbird
Weaknesses CWE-1286
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat hummingbird
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Wed, 29 Jul 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Authlib
Authlib joserfc
Vendors & Products Authlib
Authlib joserfc

Wed, 29 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. in versions 1.7.1 and prior, joserfc accepts JWTs with trailing padding (==) which are not conforming to the JOSE specifications. This leads to malleability of the JWTs when consumed by joserfc. Depending on this application this might or not be an issue. This could lead to bypass of token revocation or anti-replay protection when implemented as a deny list of tokens or a deny list of token hashes. Note that ECDSA JWS are always malleable because of the malleability of ECDSA signatures (first test case in the code bellow). This makes a scheme which assumes that JWTs are not malleable brittle. However for other signatures (or MAC) schemes it might make sense to assume non malleability of the token. This issue has been fixed in version 1.7.2.
Title joserfc accepts JWT with padding, leading to JWT malleability
Weaknesses CWE-345
References
Metrics cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Authlib Joserfc
Redhat Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-30T14:32:13.148Z

Reserved: 2026-07-14T23:10:57.032Z

Link: CVE-2026-62995

cve-icon Vulnrichment

Updated: 2026-07-30T14:31:22.399Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T19:16:50.837

Modified: 2026-07-30T19:59:01.367

Link: CVE-2026-62995

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-29T18:27:06Z

Links: CVE-2026-62995 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T08:00:04Z

Weaknesses
  • CWE-1286

    Improper Validation of Syntactic Correctness of Input

  • CWE-345

    Insufficient Verification of Data Authenticity