ADVISORIES

Alpine Security Database

ALPINE-CVE-2026-123874

Details

A use-after-free in Node.js HTTP/2 lets an unauthenticated client corrupt server memory, over both TLS and cleartext, when the server serves files with respondWithFile() or respondWithFD(). A client can make the server free an Http2Stream while a write request that points to it is still queued on the socket; when that write completes, the code dereferences and makes a virtual call through the freed object. The only precondition is that the application serves a file with stream.respondWithFile() or stream.respondWithFD(), with default settings otherwise. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).

Affected packages

EcosystemPackageAffected versions
Alpine:v3.21nodejs
All versions before 22.23.5-r0 (fixed in 22.23.5-r0)
Alpine:v3.22nodejs
All versions before 22.23.5-r0 (fixed in 22.23.5-r0)
Alpine:v3.23nodejs
All versions before 24.22.3-r0 (fixed in 24.22.3-r0)
Alpine:v3.24nodejs
All versions before 24.22.3-r0 (fixed in 24.22.3-r0)
Alpine:v3.24nodejs-current
All versions before 26.13.1-r0 (fixed in 26.13.1-r0)

References