{"id":"CVE-2026-2739","state":"PUBLISHED","title":"This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter a","description":"This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.","publishedAt":"2026-02-20T05:00:08.253Z","updatedAt":"2026-02-20T15:03:53.743Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P","source":"snyk"},"assigner":"snyk","products":["n/a bn.js"],"affected":[{"vendor":"n/a","product":"bn.js","versions":[{"version":"0","status":"affected","lessThan":"5.2.3","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-BNJS-15274301","https://github.com/indutny/bn.js/issues/316","https://github.com/indutny/bn.js/issues/186","https://gist.github.com/Kr0emer/02370d18328c28b5dd7f9ac880d22a91","https://github.com/indutny/bn.js/pull/317","https://github.com/indutny/bn.js/commit/33df26b5771e824f303a79ec6407409376baa64b"],"weaknesses":["CWE-835"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/2xxx/CVE-2026-2739.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-2739","state":"PUBLISHED","datePublished":"2026-02-20T05:00:08.253Z","dateUpdated":"2026-02-20T15:03:53.743Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2026-02-19T10:59:37.687Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely."}],"affected":[{"vendor":"n/a","product":"bn.js","versions":[{"version":"0","status":"affected","lessThan":"5.2.3","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-BNJS-15274301"},{"url":"https://github.com/indutny/bn.js/issues/316"},{"url":"https://github.com/indutny/bn.js/issues/186"},{"url":"https://gist.github.com/Kr0emer/02370d18328c28b5dd7f9ac880d22a91"},{"url":"https://github.com/indutny/bn.js/pull/317"},{"url":"https://github.com/indutny/bn.js/commit/33df26b5771e824f303a79ec6407409376baa64b"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"},"cvssV4_0":{"version":"4.0","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-835","description":"Infinite loop","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2026-02-20T13:27:09.218Z"},"credits":[{"value":"Kr0emer","lang":"en"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-20T15:00:34.443345Z","id":"CVE-2026-2739","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-20T15:03:53.743Z"}}]}}}