Skip to content

The publication for web craftspeople Tuesday, 24 November 2026

Tools

Bun 1.4.5 Patches Security Flaws in HTTP/3, TLS and DNS

Bun 1.4.5, released on November 19, is a security release that closes flaws affecting HTTP/3, TLS, DNS and Zstandard decompression. Bun.serve, Bun.connect and fetch are affected, along with the node:tls and node:dns compatibility layers.

Bun 1.4.5 corrige des failles de sécurité dans HTTP/3, TLS et DNS

The Bun team shipped version 1.4.5 on November 19, 2026, explicitly labeling it a security release. The official blog post lists fixes touching HTTP/3, HTTP/1.1, TLS, DNS and Zstandard decompression, alongside updates to several embedded C/C++ dependencies: lsquic, c-ares, SQLite, llhttp and BoringSSL.

An unusually wide list of affected APIs

Following on from version 1.4.3, which introduced the bun check type checker, what sets this release apart from a routine security patch is the breadth of surfaces involved. The team explicitly names the runtime APIs Bun.serve, Bun.connect, Bun.dns and Bun.zstdDecompress, the Node.js compatibility modules node:tls, node:https, node:http, node:quic, node:dns and node:zlib, and the standard web APIs fetch and DecompressionStream. In practice, any Bun application that opens an outbound or inbound network connection is affected in some way.

Updated dependencies

Dependencyv1.4.4v1.4.5Role
lsquic4.9.44.11.2QUIC / HTTP/3 implementation
c-ares1.34.81.34.9Asynchronous DNS resolution
SQLite3.53.43.54.1Embedded database (bun:sqlite)
llhttp9.4.29.4.4HTTP/1.1 parser
BoringSSLAugust 2026 buildNovember 2026 buildTLS and cryptography

Two behavior changes to watch for

The SQLite bump to 3.54 is not neutral: a table can no longer be altered to add, rename or drop a column named rowid, oid or _rowid_, and the setAuthorizer() callback now also runs for functions used inside DEFAULT expressions. On macOS, Bun now uses the system’s SQLite rather than its own bundled build.

The second notable change: custom root certificates are now validated more strictly, which can cause some legacy certificates that older versions still accepted to be rejected. Bun’s own bundled root certificates are not affected.

A release labeled “security” that touches HTTP/3, TLS and DNS at the same time deserves to be treated as a priority patch, not a routine update scheduled for later.

Fixes on the Node.js and certificate side

As with the Node.js compatibility Bun aims to maintain across releases, several fixes directly affect the node:crypto compatibility layer: RSA signatures using SHA-3, SHA-512/224, SHA-512/256 or RIPEMD-160 no longer throw ERR_OSSL_RSA_UNKNOWN_ALGORITHM_TYPE. An expired certificate issued by an unknown issuer now correctly reports CERT_HAS_EXPIRED, matching Node.js behavior, and combining allowPartialTrustChain with a CRL now requires the certificate chain to end at a self-issued certificate.

For an application that accepts TLS connections from external clients or resolves domain names supplied by a user, delaying this update extends an exposure window on network components directly exposed to untrusted input.

Upgrading

bun upgrade
bun --version   # should print 1.4.5 or newer

The update requires no extra configuration. As with any application baseline exposed to the network, teams that pin a specific Bun version in their Docker image or CI pipeline need to bump that number explicitly, since bun upgrade only touches the local installation.

Key takeaways

Bun 1.4.5 is a full-fledged security release: several critical network and cryptographic dependencies are bumped at once, across a scope that spans HTTP/3, TLS and DNS. No application code change is required, only updating the runtime matters.

I think Bun handles the communication around this kind of release fairly well: the blog post clearly names the affected APIs instead of settling for a bare technical changelog. On the projects where I run Bun in production, I pin the exact version in the container image, so an announcement like this one means an explicit action on my part, not an update that lands automatically on the next deploy. — Simon Janvier

To go further: full details are on the official Bun blog post for version 1.4.5.

Read next