Security mailing lists by PureSourceCode

CVE-2026-118779

HIGH 7.5CVSS 3.1

Forge: Regular expression denial of service in PEM decoding (pem.decode)

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, the affected implementation used pem.decode(), lib/pem.js, missing END line to process the relevant input or security decision. node-forge used polynomial-time regular expressions in pem.decode(), including when searching for a matching END line and parsing encapsulated headers. An unauthenticated attacker able to supply PEM input to any high-level parser could consume excessive CPU with a long malformed message and cause denial of service. This issue is fixed in version 1.4.1.

Published
29 Oct 2026
Last modified
10 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-1333CWE-400
Also known as
GHSA-7wch-p9px-956x
Sources
NVDJSONOSV GHSA-7wch-p9px-956xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD digitalbazaar forge
cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*
< 1.4.1 1.4.1
OSV npm node-forge < 1.4.1 1.4.1

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 29 Oct 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 30 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.