Back

MEDIUM

jsrsasign: jsrsasign: Cryptographic operations impacted by division by zero via malicious JSON Web Key

Published Mar 23, 2026

Description

Versions of the package jsrsasign before 11.1.1 are vulnerable to Division by zero due to the RSASetPublic/KEYUTIL parsing path in ext/rsa.js and the BigInteger.modPowInt reduction logic in ext/jsbn.js. An attacker can force RSA public-key operations (e.g., verify and encryption) to collapse to deterministic zero outputs and hide “invalid key” errors by supplying a JWK whose modulus decodes to zero.

Affected products

Remediation

Red Hat statement

This flaw has a MODERATE impact. A division by zero vulnerability in jsrsasign, as used in Red Hat Migration Toolkit for Virtualization and Red Hat Quay, allows an attacker to provide a malicious JSON Web Key (JWK) that can lead to incorrect RSA public-key operation outputs and mask key validation errors. This compromises the reliability and integrity of cryptographic processes within affected Red Hat products.

Red Hat 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.

Weaknesses (1)

References (10)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner snyk
Published Mar 23, 2026
Updated Mar 23, 2026
Reserved Mar 22, 2026
CISA Vulnrichment
Updated Mar 23, 2026
NVD
Status Analyzed
Modified Jun 22, 2026
Red Hat
Severity Moderate
Public date Mar 23, 2026
ENISA EUVD
Assigner snyk
Published Mar 23, 2026
Updated Mar 23, 2026
Exploited since n/a
EUVD-2026-14380 GHSA-464Q-CQXQ-XHGR