CVE-2026-125335

Description

A flaw was found in node-forge. The library's digital signature verification does not properly reject weak or invalid public keys when validating Ed25519 signatures. A remote attacker who can provide an untrusted public key can exploit this issue to create signatures that appear valid for arbitrary messages without possessing a private key. Consequently, an attacker can bypass signature verification controls and defeat message authenticity or proof-of-possession checks.

Statement

This vulnerability is rated as having a Low impact because exploitation requires a target application to accept and verify Ed25519 signatures against arbitrary, untrusted public keys provided directly by an attacker. In typical Red Hat deployments, cryptographic workflows rely on internally established trust anchors, certificates, or standard key generation routines, which naturally avoid vulnerable small-order points. Furthermore, the issue cannot extract private keys or compromise signatures verified against authentic, validated keys.

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.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score3.7N/A3.7
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Understanding the Weakness (CWE)

Access Control,Integrity,Confidentiality

Technical Impact: Gain Privileges or Assume Identity; Modify Application Data; Execute Unauthorized Code or Commands

An attacker could gain access to sensitive data and possibly execute unauthorized code.

Frequently Asked Questions

Want to get errata notifications? Sign up here.