CVE-2026-22863: Deno node:crypto doesn't finalize cipher

Published Jan 15, 2026
·
Updated

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.

Other sources

Deno is a JavaScript, TypeScript, and WebAssembly runtime. Before 2.6.0, node:crypto doesn't finalize cipher. 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. This vulnerability is fixed in 2.6.0.

— MITRE

Affected Software

3 affected componentsFixes available
deno/deno<2.6.0
rust/deno<=2.5.6
2.6.0
Deno Deno<2.6.0

Event History

Jan 15, 2026
CVE Published
via MITRE·10:53 PM
Data Sourced
via MITRE·10:53 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 16, 2026
Advisory Published
via GitHub·03:49 PM
Data Sourced
via GitHub·03:49 PM
DescriptionWeaknessAffected Software
Feb 19, 58052
Event
via FIRST·10:21 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-22863?

CVE-2026-22863 has a medium severity as it allows attackers to exploit encryption vulnerabilities.

2

How do I fix CVE-2026-22863?

To resolve CVE-2026-22863, upgrade to Deno version 2.6.0 or higher.

3

What software is affected by CVE-2026-22863?

CVE-2026-22863 affects Deno versions prior to 2.6.0.

4

What impact does CVE-2026-22863 have on security?

CVE-2026-22863 can lead to increased susceptibility to brute force attacks due to infinite encryption.

5

Is CVE-2026-22863 related to encryption vulnerabilities?

Yes, CVE-2026-22863 specifically involves issues with the finalization of ciphers in the encryption process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203