{"id":"GHSA-w4xr-hqv8-ch44","revision":null,"records":[{"revision":"f03d921b10f642adaaaef5a87486f7b9","observedAt":"2026-11-13T17:56:54.463+00:00","statement":{"source":"cve-program","id":"CVE-2026-125332","aliases":[],"title":"Forge: TLS client crash on an unsupported ServerHello compression method","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHelloDone, tls.createConnectionState() rejects the unsupported compression algorithm by throwing an Error that propagates from connection.process(). A malicious server or an on-path attacker can alter the unauthenticated ServerHello compression byte before the server Finished message and terminate a Node.js process when the application does not catch the exception. The affected client paths include direct forge.tls use, forge.tls.wrapSocket, and forge.http; forge.tls servers are not affected, and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.","state":0,"publishedAt":"2026-11-10T18:47:10.884+00:00","modifiedAt":"2026-11-13T16:21:49.236+00:00","affected":[{"ecosystem":"Vendor product","name":"forge","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"digitalbazaar\",\n                    \"product\": \"forge\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.4.3\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44","https://github.com/digitalbazaar/forge/pull/1169","https://github.com/digitalbazaar/forge/commit/1d9816d333c23c523ef2bd8b24282c87db2654ef","https://github.com/digitalbazaar/forge/releases/tag/v1.4.3"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-125332","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-125332","identifiers":["CVE-2026-125332"]},"retained":false,"historicalAffected":[]},{"revision":"23b9265c500442a0980bbb3b14fadaef","observedAt":"2026-11-16T23:32:22.287+00:00","statement":{"source":"euvd","id":"EUVD-2026-122792","aliases":["CVE-2026-125332","GHSA-w4xr-hqv8-ch44"],"title":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHell…","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHelloDone, tls.createConnectionState() rejects the unsupported compression algorithm by throwing an Error that propagates from connection.process(). A malicious server or an on-path attacker can alter the unauthenticated ServerHello compression byte before the server Finished message and terminate a Node.js process when the application does not catch the exception. The affected client paths include direct forge.tls use, forge.tls.wrapSocket, and forge.http; forge.tls servers are not affected, and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"severity":null}],"references":["https://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44","https://github.com/digitalbazaar/forge/pull/1169","https://github.com/digitalbazaar/forge/commit/1d9816d333c23c523ef2bd8b24282c87db2654ef","https://github.com/digitalbazaar/forge/releases/tag/v1.4.3"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-122792","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 10, 2026, 6:47:10 PM","dateUpdated":"Nov 13, 2026, 4:21:49 PM"},"relatedAdvisories":[{"id":"msrc_CVE-2026-125332","title":"Forge: TLS client crash on an unsupported ServerHello compression method","vulnerabilityIds":["CVE-2026-125332"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-122792","identifiers":["EUVD-2026-122792","CVE-2026-125332","GHSA-w4xr-hqv8-ch44"]},"retained":false,"historicalAffected":[]},{"revision":"e512c3ac5de74685ace66ecbbe32c430","observedAt":"2026-11-16T23:31:59.297+00:00","statement":{"source":"nvd","id":"CVE-2026-125332","aliases":[],"title":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHell…","description":"Forge (also called node-forge) is a native implementation of Transport Layer Security in JavaScript. Prior to 1.4.3, a forge.tls client accepts a ServerHello compression_method that it did not offer. When the client later handles ServerHelloDone, tls.createConnectionState() rejects the unsupported compression algorithm by throwing an Error that propagates from connection.process(). A malicious server or an on-path attacker can alter the unauthenticated ServerHello compression byte before the server Finished message and terminate a Node.js process when the application does not catch the exception. The affected client paths include direct forge.tls use, forge.tls.wrapSocket, and forge.http; forge.tls servers are not affected, and the issue has no confidentiality or integrity impact. This issue is fixed in version 1.4.3.","state":0,"publishedAt":"2026-11-10T19:21:10.783+00:00","modifiedAt":"2026-11-16T15:51:53.29+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/digitalbazaar/forge/commit/1d9816d333c23c523ef2bd8b24282c87db2654ef","https://github.com/digitalbazaar/forge/pull/1169","https://github.com/digitalbazaar/forge/releases/tag/v1.4.3","https://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-125332","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-20","CWE-248"],"productCriteria":["cpe:2.3:a:digitalbazaar:forge:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-11-10T19:21:10.783","lastModified":"2026-11-16T15:51:53.290"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-125332","identifiers":["CVE-2026-125332"]},"retained":false,"historicalAffected":[]},{"revision":"a820e8d3392c441a88cd50fef876fb7a","observedAt":"2026-11-10T22:21:40.482+00:00","statement":{"source":"osv","id":"GHSA-w4xr-hqv8-ch44","aliases":["CVE-2026-125332"],"title":"Forge: TLS client crash on an unsupported ServerHello compression method","description":"### Summary\nA `forge.tls` client accepts any compression method in the ServerHello, although it only offers no compression. An unknown method makes `connection.process()` throw an uncaught `Error` when the client handles ServerHelloDone, before the server is authenticated. A malicious server or an on-path attacker can use this to terminate a Node.js process. Fixed in node-forge 1.4.3.\n\n### Details\nThe client's ClientHello offers only the `null` compression method. `tls.parseHelloMessage()` in `lib/tls.js` stores the ServerHello's `compression_method` for the client without checking it (the code has a `TODO: handle compression methods`). When the client handles ServerHelloDone it calls `tls.createConnectionState()`, which throws `Error('Unsupported compression algorithm.')` for any method other than `null` (0) and `deflate` (1). The exception propagates out of `connection.process()`.\n\nThe ServerHello isn't authenticated until the server's Finished message, so an on-path attacker can change the compression byte of a genuine ServerHello; the certificate chain still verifies. Applications that pass socket data to `process()` without catching exceptions terminate. This includes `forge.tls.wrapSocket`, which calls `process()` from its socket data handler, and `forge.http`, which uses it. A `deflate` (1) method, also never offered, makes the handshake fail later with an error instead of a crash.\n\nServers are not affected: a server always selects no compression.\n\nThe fix fails the handshake with an `illegal_parameter` alert, through the connection's `error` callback, when the ServerHello selects any compression method other than `null`.\n\n#### Patches\nFixed in node-forge 1.4.3.\n\n#### Workarounds\nCatch exceptions thrown by `connection.process()` and close the socket.\n\n#### Resources\n- RFC 5246, section 7.4.1.3 (Server Hello): https://www.rfc-editor.org/rfc/rfc5246#section-7.4.1.3\n- Related: GHSA-525v-9gp9-w22h (another TLS client crash during the handshake, fixed in 1.4.1): https://github.com/digitalbazaar/forge/security/advisories/GHSA-525v-9gp9-w22h\n\n#### Severity\nCVSS 3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H (5.9, Moderate)\nCVSS 4.0 (informational): CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (8.2)\nCVSS 4.0 has no counterpart to 3.1's AC:H beyond AT:P and scores this higher; the severity rating follows CVSS 3.1.\n\n#### Credits\nReported by @alienkeric.\n\n### Proof of concept\nA server (or on-path attacker) sends a ServerHello with `compression_method` 0xff, followed by a valid Certificate and ServerHelloDone:\n\n    client.handshake();\n    client.process(serverHello + certificate + serverHelloDone);\n    // <= 1.4.2: throws Error: Unsupported compression algorithm.\n    // 1.4.3: error callback with \"Unsupported compression method.\"\n\nThe reporter's PoC (a CA-issued server certificate and the default verify callback) is in tests/pocs/ghsa-w4xr-hqv8-ch44.js, and regression tests are in tests/unit/tls.js.\n\n### Impact\nApplications that use `forge.tls` as a client (directly, through `forge.tls.wrapSocket`, or through `forge.http`) and pass data from a network socket to `connection.process()` are affected. The server they connect to, or an on-path attacker, can make `process()` throw before the server is authenticated; if the application doesn't catch it, the Node.js process terminates, dropping all its connections. Servers built on `forge.tls` are not affected. There is no confidentiality or integrity impact.","state":0,"publishedAt":"2026-11-10T21:17:14+00:00","modifiedAt":"2026-11-10T21:30:04.0024242+00:00","affected":[{"ecosystem":"npm","name":"node-forge","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/digitalbazaar/forge/security/advisories/GHSA-w4xr-hqv8-ch44","https://github.com/digitalbazaar/forge/pull/1169","https://github.com/digitalbazaar/forge/commit/1d9816d333c23c523ef2bd8b24282c87db2654ef","https://github.com/digitalbazaar/forge","https://github.com/digitalbazaar/forge/releases/tag/v1.4.3"],"sourceUrl":"https://github.com/advisories/GHSA-w4xr-hqv8-ch44","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w4xr-hqv8-ch44","identifiers":["GHSA-w4xr-hqv8-ch44","CVE-2026-125332"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-17T05:29:43.0124777+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-17T05:29:43.0124777+00:00","lastSuccessAt":"2026-11-17T05:29:43.5521323+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:43.5521335+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-30c3da459c38698a15d626d89e52e03e55e19fc45dae0e6d8d723cbf35472cf4-9c90debbc1f8950b3c0f1d5a421574a28f1b0b2fa45e289f49fdf2a8e9fb3901","complete":true,"records":426272,"lastAttemptAt":"2026-11-17T05:26:09.4993977+00:00","lastSuccessAt":"2026-11-17T05:26:09.3579252+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:26:09.4993977+00:00","snapshotPublishedAt":"2026-11-17T05:19:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-86fdeb8b03f14eafa75c0af5223146b8","complete":false,"records":13836,"lastAttemptAt":"2026-11-17T05:38:12.3318417+00:00","lastSuccessAt":"2026-11-17T05:38:12.325+00:00","error":"71 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-17T05:38:12.325+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13633,"expectedIdentifiers":13890,"failedIdentifiers":71},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-17T05:29:43.0124777+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-17T05:29:43.0124777+00:00","lastSuccessAt":"2026-11-17T05:29:43.5528938+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:43.552894+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8fe42df9ddaa47a5bde948a2904896ae","complete":true,"records":13849,"lastAttemptAt":"2026-11-17T05:29:44.1294724+00:00","lastSuccessAt":"2026-11-17T03:28:01.122+00:00","error":null,"lastVerifiedAt":"2026-11-17T03:28:01.122+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13890,"expectedIdentifiers":13890,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-db3ae05f3e19425298b475ceb81e33f22d67df93dfef77c2b0200c8b05fd85ae","complete":true,"records":9958,"lastAttemptAt":"2026-11-17T05:29:42.9612591+00:00","lastSuccessAt":"2026-11-16T23:31:31.5526753+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:42.9612591+00:00","snapshotPublishedAt":"2026-11-16T22:48:36+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-17T05:26:09.8083264+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:26:09.8083264+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-17T05:29:42.9762315+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:42.9762315+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-4595284f246a19ff96d48d7bf03711d7e7b12108e02f248fcd0079c1c749af1c","complete":true,"records":232578,"lastAttemptAt":"2026-11-17T05:29:42.8364573+00:00","lastSuccessAt":"2026-11-17T05:29:41.6968952+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:42.8364573+00:00","snapshotPublishedAt":"2026-11-17T05:18:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}