---
id: CVE-2026-4599
title: >-
  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 …
summary: >-
  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 …
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-1023
  - CWE-338
vendor: kjur
product: jsrsasign
affected:
  - 'jsrsasign >= 7.0.0, < 11.1.1'
patched:
  - jsrsasign 11.1.1
published: '2026-03-23'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T13:20:21.650'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-4599'
references:
  - url: 'https://gist.github.com/Kr0emer/081681818b51605c91945126d74b4f20'
    label: report@snyk.io
  - url: >-
      https://github.com/kjur/jsrsasign/commit/ee4b013478366cb16cea9a4bdfb218b6077f83b1
    label: report@snyk.io
  - url: 'https://github.com/kjur/jsrsasign/pull/647'
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-15812264'
    label: report@snyk.io
  - url: 'https://security.snyk.io/vuln/SNYK-JS-JSRSASIGN-15370939'
    label: report@snyk.io
  - url: 'https://access.redhat.com/errata/RHSA-2026:19375'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:19409'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:19410'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:6568'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:6720'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:6912'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:6926'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-4599'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2450207'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-4599.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-4599'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-4599'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-03-23T14:39:36.757966Z'
epss: 0.00477
epssPercentile: 0.40334
ingestedAt: '2026-06-29T13:24:34.811Z'
---

## Overview

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.

## Affected

- `jsrsasign >= 7.0.0, < 11.1.1`

## Remediation

Upgrade past the affected range:

- `jsrsasign 11.1.1`

## Vendor advisories

- **RHSA-2026:19409** · Red Hat · fixed in: Migration Toolkit for Virtualization 2.1 · released 2026-05-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:19409)
- **RHSA-2026:19410** · Red Hat · fixed in: Migration Toolkit for Virtualization 2.9 · released 2026-05-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:19410)
- **RHSA-2026:6912** · Red Hat · fixed in: Red Hat Quay 3.10 · released 2026-04-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:6912)
- **RHSA-2026:6720** · Red Hat · fixed in: Red Hat Quay 3.12 · released 2026-04-06 · [advisory](https://access.redhat.com/errata/RHSA-2026:6720)
- **RHSA-2026:6568** · Red Hat · fixed in: Red Hat Quay 3.15 · released 2026-04-03 · [advisory](https://access.redhat.com/errata/RHSA-2026:6568)
- **RHSA-2026:19375** · Red Hat · fixed in: Red Hat Quay 3.16 · released 2026-05-19 · [advisory](https://access.redhat.com/errata/RHSA-2026:19375)
- **RHSA-2026:6926** · Red Hat · fixed in: Red Hat Quay 3.9 · released 2026-04-07 · [advisory](https://access.redhat.com/errata/RHSA-2026:6926)
