Security mailing lists by PureSourceCode

CVE-2026-118775

MEDIUM 5.3CVSS 3.1

Forge: ASN.1 OID first arc truncation in asn1.oidToDer

Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.1, asn1.oidToDer() in lib/asn1.js did not range-check the first two arcs of an OID. An application that accepted an untrusted OID string, checked or authorized that string, and then encoded it with asn1.oidToDer() could emit DER representing a different, trusted OID from the one that was checked. DER parsing is not affected. This issue is fixed in version 1.4.1.

Published
29 Oct 2026
Last modified
4 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-190
Also known as
GHSA-4642-5mcj-2rqw
Sources
NVDJSONOSV GHSA-4642-5mcj-2rqwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD digitalbazaar forge
cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:*:*:*
< 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.