Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceFindingsNMN-2026-0050

browserify-sign upper bound check issue in `dsaVerify` leads to a signature forgery attack

CandidateMachine- or researcher-generated; not independently verified.

In short

What to know.

Package
browserify-sign npmbrowserify-sign: from 2.6.0 before 4.2.2
What to do
Upgrade browserify-sign to 4.2.2 or later.
Severity
HighRated by the source advisory.
Confidence
HighThe affected range comes from the advisory; no system that uses the component has been assessed.

Verification

Where it stands.

  1. Candidate
  2. In review
  3. Reproduced
  4. Confirmed
  5. Resolved
  6. Disputed
  7. Withdrawn
Candidate Machine- or researcher-generated; not independently verified.

What each state means, and how a record moves between them.

9 listed

Sources

  1. OSV record GHSA-x9w5-v3q2-3rhwosv.devRetrieved 3 December 2026
  2. web reference for GHSA-x9w5-v3q2-3rhwgithub.comRetrieved 3 December 2026
  3. advisory reference for GHSA-x9w5-v3q2-3rhwnvd.nist.govRetrieved 3 December 2026
  4. web reference for GHSA-x9w5-v3q2-3rhwgithub.comRetrieved 3 December 2026
  5. package reference for GHSA-x9w5-v3q2-3rhwgithub.comRetrieved 3 December 2026
  6. web reference for GHSA-x9w5-v3q2-3rhwlists.debian.orgRetrieved 3 December 2026
  7. web reference for GHSA-x9w5-v3q2-3rhwlists.fedoraproject.orgRetrieved 3 December 2026
  8. web reference for GHSA-x9w5-v3q2-3rhwlists.fedoraproject.orgRetrieved 3 December 2026
  9. web reference for GHSA-x9w5-v3q2-3rhwdebian.orgRetrieved 3 December 2026

Full record

Finding
NMN-2026-0050
Category
vulnerability
Component
browserify-sign (npm)browserify-sign: from 2.6.0 before 4.2.2
Severity
High. Rated by the source advisory.Severity as labelled by the source advisory GHSA-x9w5-v3q2-3rhw. CVSS as given: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. Noumen has not assessed it.
Confidence
High.The affected range comes from the advisory; no system that uses the component has been assessed.
State
Candidate. Machine- or researcher-generated; not independently verified.
Disclosure
Public
Mitigation
Upgrade browserify-sign to 4.2.2 or later.
Discovery method
imported from a public advisory by the Advisory Monitor (1.0.0)Machine-generated by the agent advisory-monitor@1.0.0.
Reproduction
No reproduction steps recorded.
Affected systems
None listed. A link to a system needs its own evidence.
Attribution
Researcher: advisory-monitor@1.0.0 (agent, machine-generated)Validators: None yet
Assigned reviewer
Nobody yet
Dates
Created 3 December 2026, 16:48 UTCUpdated 3 December 2026, 16:48 UTC
Summary, as published by the source advisory
As published by the source advisory
### Summary An upper bound check issue in `dsaVerify` function allows an attacker to construct signatures that can be successfully verified by any public key, thus leading to a signature forgery attack. ### Details In `dsaVerify` function, it checks whether the value of the signature is legal by calling function `checkValue`, namely, whether `r` and `s` are both in the interval `[1, q - 1]`. However, the second line of the `checkValue` function wrongly checks the upper bound of the passed parameters, since the value of `b.cmp(q)` can only be `0`, `1` and `-1`, and it can never be greater than `q`. In this way, although the values of `s` cannot be `0`, an attacker can achieve the same effect as zero by setting its value to `q`, and then send `(r, s) = (1, q)` to pass the verification of any public key. ### Impact All places in this project that involve DSA verification of user-input signatures will be affected by this vulnerability. ### Fix PR: Since the temporary private fork was deleted, here's a webarchive of the PR discussion and diff pages: [PR webarchive.zip](https://github.com/browserify/browserify-sign/files/13172957/PR.webarchive.zip)

1 event, oldest first

History

History verified: 1 eventLatest hash9b15c0efd1db9b15c0efd1dbbbf616d67650de7df792289d32a4e88f09fcafea5ca9eb358309

  1. Record createdMachine-generated

    By advisory-monitor@1.0.0 (agent, machine-generated)

    Reason: Imported from public advisory GHSA-x9w5-v3q2-3rhw.

    Entered the record in the state Candidate.

    Event 1 hash9b15c0efd1db9b15c0efd1dbbbf616d67650de7df792289d32a4e88f09fcafea5ca9eb358309
About this record

Severity and confidence are rated separately, each with its own reason.

History events are never edited or deleted. Each stores the hash of the one before, so a later change breaks the chain.

Corrections keep the value before and after.