Loading...
Skip to main content

CVE-2026-22863

CRITICAL

Deno node:crypto doesn't finalize cipher

Published January 16, 2026Updated February 3, 2026Source: osv

Summary

### Summary The vulnerability allows an attacker to have infinite encryptions. This can lead to naive attempts at brute forcing, as well as more refined attacks with the goal to learn the server secrets. ### PoC ```js import crypto from "node:crypto"; const key = crypto.randomBytes(32); const iv = crypto.randomBytes(16); const cipher = crypto.createCipheriv("aes-256-cbc", key, iv); cipher.final() console.log(cipher); ``` ### Expected Output ```js Cipheriv { _decoder: null, _options: undefined, Symbol(kHandle): CipherBase {} } ``` ### Actual Output ```js Cipheriv { _events: { close: undefined, error: undefined, prefinish: [Function: prefinish], finish: undefined, drain: undefined, data: undefined, end: undefined, readable: undefined }, _readableState: ReadableState { highWaterMark: 65536, buffer: [], bufferIndex: 0, length: 0, pipes: [], awaitDrainWriters: null, [Symbol(kState)]: 1048844 }, _writableState: WritableState { highWaterMark: 65536, length: 0, corked: 0, onwrite: [Function: bound onwrite], writelen: 0, bufferedIndex: 0, pendingcb: 0, [Symbol(kState)]: 17580812, [Symbol(kBufferedValue)]: null }, allowHalfOpen: true, _final: [Function: final], _maxListeners: undefined, _transform: [Function: transform], _eventsCount: 1, [Symbol(kCapture)]: false, [Symbol(kCallback)]: null } ``` ### Mitigations All users should upgrade to Deno v2.6.0 or newer.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update deno to 2.6.0 or later
cargo update -p deno --precise 2.6.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

PackageEcosystemAffectedFixed In
deno
crates.io
All versions2.6.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Confidentiality
Integrity
Availability

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

Frequently Asked Questions

What is CVE-2026-22863?
Deno node:crypto doesn't finalize cipher This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.6/10).
How do I check if my project is affected by CVE-2026-22863?
CVE-2026-22863 affects deno. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-22863 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.6

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-5379-f5hf-w38v

Related CVEs

  • CVE-2021-32619
    CRITICAL

    Deno's static imports inside dynamically imported modules do not adhere to permission checks

  • CVE-2024-34346
    HIGH

    Deno permission escalation vulnerability via open of privileged files with missing `--deny` flag

  • CVE-2025-24015
    HIGH

    Deno's AES GCM authentication tags are not verified

  • CVE-2024-27934
    HIGH

    *const c_void / ExternalPointer unsoundness leading to use-after-free

  • CVE-2026-32260
    HIGH

    Deno vulnerable to command Injection via incomplete shell metacharacter blocklist in node:child_process

  • CVE-2023-33966
    HIGH

    Missing "--allow-net" permission check for built-in Node modules

  • CVE-2023-28446
    HIGH

    Interactive `run` permission prompt spoofing via improper ANSI neutralization

  • CVE-2024-27935
    HIGH

    Deno's Node.js Compatibility Runtime has Cross-Session Data Contamination

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies