RepoJournal
Node.js

@nodejs

The Node.js runtime — every backend team's CVE source of truth

What actually shipped in Node.js, written up every day — commits, pull requests, releases, and security advisories.

One email a day. Unsubscribe in one click.

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

NODE CORE HARDENS CRYPTO AND FFI, UNDICI PATCHES HEADER INJECTION

By RepoJournal · Filed · About Node.js

Node's crypto layer just got faster and safer, while undici plugged a CRLF injection hole that only matters if your app trusts untrusted function objects as headers.

The crypto desk shipped three hardening commits that matter more than they sound. First, RSA-PSS key serialization now preserves historical DER formats without leaning on deprecated APIs [1], fixing a compatibility gap for legacy certificate chains. Second, KEM encapsulation [2] [3] eliminated redundant buffer copies by using a dedicated worker job, cutting allocations and improving throughput on post-quantum key exchange operations. Third, FFI fast calls [5] now validate integer argument ranges before hitting native trampolines, stopping silent truncation of i8/u8/i16/u16 values and BigInt wrapping that the slow path would have caught. On the undici front, two separate hardening fixes landed: setGlobalDispatcher [6] [8] now survives Object.freeze(globalThis), which security best practices explicitly recommend, by falling back to module-level storage when the global object isn't extensible. And header validation [7] [9] now checks coerced values for CRLF injection even when functions are passed as headers, closing a defense-in-depth gap. The diagnostics channel subsystem also got a growth fix [4], removing an arbitrary 1,024-channel limit that would hard-crash production systems.

One email a day. Unsubscribe in one click.

Action items

References

  1. [1] crypto: preserve RSA-PSS legacy pubkey DER nodejs/node
  2. [2] src: avoid redundant KEM encapsulation copies nodejs/node
  3. [3] src: avoid redundant KEM encapsulation copies ↗ nodejs/node
  4. [4] diagnostics_channel: grow native channel storage ↗ nodejs/node
  5. [5] ffi: validate fast integer argument ranges ↗ nodejs/node
  6. [6] fix: handle frozen globalThis in setGlobalDispatcher (#5574) nodejs/undici
  7. [7] fix: validate coerced header values for CRLF (#5579) nodejs/undici
  8. [8] fix: handle frozen globalThis in setGlobalDispatcher ↗ nodejs/undici
  9. [9] fix: validate coerced header values for CRLF ↗ nodejs/undici

Quick answers

What shipped in Node.js on July 22, 2026?
Node's crypto layer just got faster and safer, while undici plugged a CRLF injection hole that only matters if your app trusts untrusted function objects as headers. In total, 15 commits and 11 pull requests landed.
Who contributed to Node.js on July 22, 2026?
6 developers shipped this update, including Filip Skokan, Qard, trivikr, Mhayk Whandson, Matteo Collina, and Aviv Keller.
What were the notable Node.js updates?
crypto: preserve RSA-PSS legacy pubkey DER, src: avoid redundant KEM encapsulation copies, and src: avoid redundant KEM encapsulation copies.

More from @nodejs

Daily updates, in your inbox

Follow Node.js

What actually shipped in Node.js, written up every day — commits, pull requests, releases, and security advisories.

or

One email a day. Unsubscribe in one click. Read a past issue →

Elsewhere on the wire

Want every project, not just this one?