Skip to content
OpenAdvisories
High · 7.5 CVE-2026-119191 EUVD-2026-113348GHSA-rhr8-3pm8-cq29

Forge: ASN.1 resource exhaustion via BIT STRING decoding in asn1.fromDer

Published Oct 29, 2026 · Updated Nov 4, 2026 · Assigned by GitHub_M

Description

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used asn1.fromDer(), BIT STRING decoding, maxDepth to process the relevant input or security decision. node-forge decoded ASN.1 stored inside BIT STRING values without consistently applying the configured maxDepth limit and recursively retained copies at each nesting level. Crafted DER containing nested BIT STRINGs could cause excessive recursion, CPU use, and quadratic memory consumption during asn1.fromDer(). This issue is fixed in version 1.4.1.

Affected products

VendorProductAffectedFixed
digitalbazaar forge < 1.4.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS node-node-forge No fix yet —
Ubuntu 20.04 LTS node-node-forge No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-tensorboard No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm node-forge < 1.4.1 1.4.1 GHSA-rhr8-3pm8-cq29

References