mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
Reject WebCrypto cipher operations whose computed output length would exceed INT_MAX before passing the length to OpenSSL. This avoids signed overflow in the AES and ChaCha20-Poly1305 one-shot cipher paths and turns oversized inputs into a clean operation failure. Refs: https://hackerone.com/reports/3760016 Signed-off-by: Filip Skokan <panva.ip@gmail.com> Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/879 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs-private/node-private/pull/878 CVE-ID: CVE-2026-48933