
The cipher that refused to die 🔐♾️ Deno's crypto had a bug where calling final() did not actually finalize anything. CVE-2026-22863, CVSS 9.2 Critical, in Deno's node:crypto compatibility layer. Fixed in Deno 2.6.0. WHAT HAPPENED: In Node, http://cipher.final() should close the cipher and clean up state. In Deno before 2.6.0, it did not. After final(), the Cipheriv object stayed open, with internal buffering states still accessible, instead of becoming a closed CipherBase. WHAT THAT MEANS: An attacker could keep performing encryption operations without proper finalization. Infinite encryptions. The advisory says this can lead to naive brute-force attempts, plus more refined attacks with the goal to learn server secrets. PoC is brutally simple: const cipher = crypto.createCipheriv("aes-256-cbc", key, iv); http://cipher.final(); console.log(cipher); // Still alive, still usable Not a backdoor. Not broken AES. Not Deno's native Web Crypto. It is a missing cryptographic step, CWE-325, in the Node compatibility layer that lets Deno run Node.js code. Upgrade to Deno v2.6.0 or newer. That is it. No workaround in the advisory. If you run Deno <2.6.0 with node:crypto, treat it as exposed. Crypto is only safe if final means final. When final does nothing, your state machine lies to you, and attackers get unlimited tries. Source: https://github.com/denoland/deno/security/advisories/GHSA-5379-f5hf-w38v #CyberSecurity #InfoSec #Deno #NodeJS #Crypto #CVE https://www.youtube.com/watch?v=zxitJn9MwYs
Post summary
Technical writeup of CVE-2026-22863 (Deno node:crypto, CVSS 9.2, CWE-325) where cipher.final() fails to finalize, leaving the cipher usable for repeated operations. Shares a simple PoC and recommends upgrading to Deno v2.6.0+.

