p PatchFirst

CVE-2025-66031

CVE-2025-66031 · node-forge ASN.1 Unbounded Recursion

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. An Uncontrolled Recursion vulnerability in node-forge versions 1.3.1 and below enables remote, unauthenticated attackers to craft deep ASN.1 structures that trigger unbounded recursive parsing. This leads to a Denial-of-Service (DoS) via stack exhaustion when parsing untrusted DER inputs. This issue has been patched in version 1.3.2.

CVSS 8.7 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • forge

    Versions
    • < 1.3.2: Affected

    No fix published

  • node-node-forge Debian:11

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

    No fix published

  • node-forge npm

    Affected ranges
    • SEMVER: < 1.3.2

    Update to 1.3.2

  • 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 →