CVE-2026-22863: Improper cipher finalization in Deno node:crypto allows infinite encryptions
- Vendor
- Deno
In Deno versions prior to 2.6.0, the Node.js compatibility crypto layer (node:crypto) fails to properly finalize cipher objects. Specifically, calling cipher.final() does not correctly conclude/close the cipher state; the cipher can remain active (e.g., a Cipheriv object remains usable with internal buffering state still accessible) rather than transitioning to a closed CipherBase state. This enables an attacker to perform repeated/infinite encryptions using the same cipher context, which can be leveraged for brute-force and more refined cryptanalytic attacks aimed at learning server secrets. The issue is fixed in Deno 2.6.0.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Attackers can obtain an unlimited encryption oracle due to improper cipher finalization, enabling naive brute-force attempts and more advanced attacks intended to recover or infer server secrets. Reported scoring indicates high confidentiality impact (e.g., AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
Mitigation
If you can’t patch tonight, do this now.
Prevent exposure of vulnerable Deno runtimes by upgrading to Deno v2.6.0+; until upgraded, avoid relying on the affected node:crypto cipher finalization semantics in security-sensitive contexts where an attacker could obtain repeated encryption queries.
Remediation
Patch, then assume compromise.
Upgrade Deno to version 2.6.0 or later, where node:crypto cipher finalization behavior is corrected.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-22863 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-22863 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-22863?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-22863.
- Is there a patch for CVE-2026-22863?
- Upgrade Deno to version 2.6.0 or later, where node:crypto cipher finalization behavior is corrected.
- What products are affected by CVE-2026-22863?
- Deno.
- How severe is CVE-2026-22863?
- CVE-2026-22863 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 0.21% (6th percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.