Package vulnerability, severity high
node-forge: Forge: Regular expression denial of service in PEM decoding (pem.decode)
Published , updated
Forge: Regular expression denial of service in PEM decoding (pem.decode). Source: GHSA-7wch-p9px-956x (CVE-2026-118779).
What's affected
- node-forge (npm)<1.4.1
What to do
- Upgrade node-forge to 1.4.1 or later.
Check whether you were affected
Pharon tells teams automatically when this affects something they run. To check a machine, run this in Claude Code with the Pharon plugin, in the repository that uses it:
/pharon:check-incident ghsa-7wch-p9px-956xReferences
- https://osv.dev/vulnerability/GHSA-7wch-p9px-956x
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-7wch-p9px-956x
- https://nvd.nist.gov/vuln/detail/CVE-2026-118779
- https://github.com/digitalbazaar/forge/commit/412345db583cd28a9d23636d0d93e9f751b935f3
- https://github.com/digitalbazaar/forge
- https://github.com/digitalbazaar/forge/releases/tag/v1.4.1
Notice ghsa-7wch-p9px-956x, signed with key feed-prod-2026-10 (Ed25519). The Pharon CLI verifies the signature before using a notice.