CVE-2026-22863: Deno node Crypto Doesn't Finalize Cipher Vulnerability
CRITICALCVE-2026-22863 is a CRITICAL crypto doesn't finalize cipher vulnerability (CWE-325: Missing Cryptographic Step) affecting Deno node libraries in the crates.io ecosystem. The issue involves crypto doesn't finalize cipher. Remediation is available by upgrading affected packages to version 2.6.0.
CVE-2026-22863 at a Glance
How to Fix CVE-2026-22863
To remediate this vulnerability, upgrade all affected Deno node dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade deno to 2.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for deno
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-22863, inspect your project dependencies for Deno node:
inspect dependencies for deno
Analyze the terminal output to locate any version of Deno node in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.6.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-325: Missing Cryptographic Step, where the product does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by the algorithm. In Deno node, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-22863 Affected Deno node Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
deno
|
crates.io |
< 2.6.0
|
2.6.0
|
References
Frequently Asked Questions
What is CVE-2026-22863?
Which Deno node versions are affected?
What version fixes CVE-2026-22863?
Is deno affected?
What CWE is associated with CVE-2026-22863?
How can I check crates.io dependencies for CVE-2026-22863?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5379-f5hf-w38v",
"modified" : "2026-01-16T15:49:35Z",
"published" : "2026-01-16T15:49:35Z",
"aliases" : [ "CVE-2026-22863" ],
"summary" : "Deno node:crypto doesn't finalize cipher",
"details" : "### Summary\n\nThe vulnerability allows an attacker to have infinite encryptions. \n\nThis can lead to naive attempts at brute forcing, as well as more refined attacks with the goal to learn the server secrets.\n\n### PoC\n```js\nimport crypto from \"node:crypto\";\n\nconst key = crypto.randomBytes(32);\nconst iv = crypto.randomBytes(16);\nconst cipher = crypto.createCipheriv(\"aes-256-cbc\", key, iv);\ncipher.final()\n\nconsole.log(cipher);\n```\n\n### Expected Output\n```js\nCipheriv {\n _decoder: null,\n _options: undefined,\n Symbol(kHandle): CipherBase {}\n}\n```\n\n### Actual Output\n```js\nCipheriv {\n _events: {\n close: undefined,\n error: undefined,\n prefinish: [Function: prefinish],\n finish: undefined,\n drain: undefined,\n data: undefined,\n end: undefined,\n readable: undefined\n },\n _readableState: ReadableState {\n highWaterMark: 65536,\n buffer: [],\n bufferIndex: 0,\n length: 0,\n pipes: [],\n awaitDrainWriters: null,\n [Symbol(kState)]: 1048844\n },\n _writableState: WritableState {\n highWaterMark: 65536,\n length: 0,\n corked: 0,\n onwrite: [Function: bound onwrite],\n writelen: 0,\n bufferedIndex: 0,\n pendingcb: 0,\n [Symbol(kState)]: 17580812,\n [Symbol(kBufferedValue)]: null\n },\n allowHalfOpen: true,\n _final: [Function: final],\n _maxListeners: undefined,\n _transform: [Function: transform],\n _eventsCount: 1,\n [Symbol(kCapture)]: false,\n [Symbol(kCallback)]: null\n}\n```\n\n### Mitigations\n\nAll users should upgrade to Deno v2.6.0 or newer.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "deno"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.6.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.5.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/denoland/deno/security/advisories/GHSA-5379-f5hf-w38v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22863"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/denoland/deno"
}, {
"type" : "WEB",
"url" : "https://github.com/denoland/deno/releases/tag/v2.6.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-325" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-16T15:49:35Z",
"nvd_published_at" : "2026-01-15T23:15:51Z"
}
}