Skip to main content
EPSS 0.5%top 60%

CVE-2026-4599: Incomplete Comparison with Missing Factors in jsrsasign

0
Critical
VulnerabilityCVE-2026-4599cvecve-2026-4599
Published: 03/23/2026 (03/23/2026, 05:00:12 UTC)
Source: CVE Database V5
Product: jsrsasign

Description

Versions of the package jsrsasign from 7.0.0 and before 11.1.1 are vulnerable to Incomplete Comparison with Missing Factors via the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions in src/crypto-1.1.js; an attacker can recover the private key by exploiting the incorrect compareTo checks that accept out-of-range candidates and thus bias DSA nonces during signature generation.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

jsrsasign

Affected versions
>=7.0.0 <11.1.1

org.webjars.npm:jsrsasign

Affected versions
>=8.0.12
jsrsasign
pkg:npm/jsrsasign
Affected versions
<=11.1.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 15:25:42 UTC

Technical Analysis

The vulnerability CVE-2026-4599 in jsrsasign arises from incomplete comparison logic in the getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax functions within src/crypto-1.1.js. These incorrect compareTo checks accept out-of-range candidates, enabling an attacker to bias the Digital Signature Algorithm (DSA) nonces used during signature generation. Exploiting this flaw allows recovery of the private key, representing a critical cryptographic compromise. The issue is classified under CWE-338 (Use of Cryptographically Weak Pseudo-Random Number Generator). According to Red Hat's advisory, no suitable mitigation or fix currently meets their standards for deployment and stability. The vulnerability affects jsrsasign versions from 7.0.0 through 11.1.1 inclusive.

Potential Impact

Exploitation of this vulnerability allows an attacker to recover the private key by biasing DSA nonces during signature generation. This compromises the confidentiality and integrity of cryptographic operations relying on the affected jsrsasign versions. The CVSS v4.0 base score is 9.3 (critical), reflecting network attack vector, no required privileges or user interaction, and high confidentiality and integrity impact. Availability is not affected.

Mitigation Recommendations

No official patch or mitigation meeting Red Hat's criteria for ease of use, applicability, and stability is currently available. Users are advised to monitor vendor advisories for updates. Consider upgrading to a version of jsrsasign that addresses this vulnerability once available. Until then, avoid using affected versions (7.0.0 through 11.1.1) in security-critical contexts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
snyk
Date Reserved
2026-03-22T16:25:57.565Z
Cvss Version
4.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-4599","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19409","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19410","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6720","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6568","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19375","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6912","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6926","vendor":"Red Hat"}]

Threat ID: 69c0d39df4197a8e3b12da43

Added to database: 03/23/2026, 05:46:05 UTC

Last enriched: 08/11/2026, 15:25:42 UTC

Last updated: 09/14/2026, 10:01:31 UTC

Views: 323

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses