p PatchFirst

CVE-2026-125334

CVE-2026-125334 · Forge: TLS client crash on a handshake record received without a session

CVSS 5.9 · Medium · EPSS 0.4% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

npm ls node-forge
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="node-node-forge"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client can pass a handshake record to tls.handleHandshake() while the connection has no session, including after a close_notify alert, after the application calls close(), or before handshake() is called. The handler dereferences c.session.md5 before dispatching the message, causing a TypeError to propagate from connection.process(). A malicious server or on-path attacker can deliver the record, including after a reset when the connection uses no encryption, and terminate a Node.js process if the application does not catch the exception. forge.tls servers are not affected, and there is no confidentiality or integrity impact. This issue is fixed in version 1.4.3.

Published
Updated

Fixes in distributions

Stack: system · node

Affected products and versions

  • forge

    Versions
    • < 1.4.3: Affected

    No fix published

  • node-forge npm

    Affected ranges
    • SEMVER: < 1.4.3

    Update to 1.4.3

  • node-node-forge Ubuntu 20.04 LTS

    Versions
    • 0.8.5~dfsg-2
    • 0.9.1~dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-node-forge Ubuntu 22.04 LTS

    Versions
    • 0.10.0~dfsg-3
    • 1.2.1~dfsg-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →