CRITICAL🇵🇱 Wersja polska

CVE-2026-4599

CVSS 9.3v4.0pub. 2026-03-23upd. 2026-08-17

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.

🤖 AI Analysis
How it works

The functions getRandomBigIntegerZeroToMax and getRandomBigIntegerMinToMax in the file src/crypto-1.1.js use incorrect compareTo method checks that accept candidates outside the allowed range. This causes systematic bias in the random nonces used during DSA signature generation. An attacker, by observing a sufficient number of signatures, can statistically extract the pattern resulting from this bias and perform a cryptographic attack allowing recovery of the private key.

Impact

An attacker can recover the private DSA key used to generate digital signatures, leading to complete takeover of the victim's cryptographic identity — including the ability to forge signatures and impersonate the key owner.

Mitigation & patch

The jsrsasign package should be updated to version 11.1.1 or later, which fixes the incorrect compareTo checks. The patch is available in commit ee4b013478366cb16cea9a4bdfb218b6077f83b1 in the project repository on GitHub.

Who is affected

The jsrsasign package (Jsrsasign Project) in versions from 7.0.0 (inclusive) to 11.1.1 (exclusive) that utilize DSA signature functionality.

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Kjur Jsrsasign

    APP
    Kjur
    7.0.0 – 11.1.1 (excl.)
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2021-30246CRITICAL9.1PL ✓same product

Błędna weryfikacja podpisów RSA PKCS#1 v1.5 w jsrsasign

CVE-2020-14968CRITICAL9.8PL ✓same product

Błąd weryfikacji podpisu RSA-PSS w bibliotece jsrsasign (Node.js)

CVE-2020-14967CRITICAL9.8PL ✓same product

Błąd weryfikacji szyfrogramu RSA PKCS1 v1.5 w bibliotece jsrsasign

CVE-2026-4598HIGH7.7same product

Versions of the package jsrsasign before 11.1.1 are vulnerable to Infinite loop via the bnModInverse function ...

CVE-2026-4600HIGH8.1same product

Versions of the package jsrsasign before 11.1.1 are vulnerable to Improper Verification of Cryptographic Signa...