Blog

Bun v1.4.5

1 min read

This is a security release. It updates lsquic, c-ares, SQLite, llhttp and BoringSSL.

To install Bun

curl

curl -fsSL https://bun.sh/install | bash

To upgrade Bun

bun upgrade

Security#

This release includes security fixes for HTTP/3, TLS and DNS. These protocols, APIs and commands are affected:

HTTP/3, HTTP/1.1, TLS, DNS, Zstandard, Bun.serve, Bun.connect, Bun.dns, Bun.zstdDecompress, node:tls, node:https, node:http, node:quic, node:dns, node:zlib, fetch, DecompressionStream

Updated dependencies#

DependencyBun v1.4.4Bun v1.4.5
lsquic4.9.44.11.2
c-ares1.34.81.34.9
SQLite3.53.43.54.1
llhttp9.4.29.4.4
BoringSSLAugust 2026November 2026

SQLite 3.54 no longer lets ALTER TABLE add, rename or drop a column named rowid, oid or _rowid_, and runs the setAuthorizer() callback for functions in DEFAULT expressions. On macOS, Bun uses the system's SQLite.

Bugfixes#

  • Fixed: various stability issues in HTTP/3 and node:quic.
  • Fixed: RSA signatures with SHA-3, SHA-512/224, SHA-512/256 and RIPEMD-160 threw ERR_OSSL_RSA_UNKNOWN_ALGORITHM_TYPE in node:crypto.
  • Fixed: an expired certificate from an unknown issuer now reports CERT_HAS_EXPIRED, like Node.js.
  • Fixed: allowPartialTrustChain with crl now requires the chain to end at a self-issued certificate, like Node.js.
  • Improved: custom root certificates are validated more strictly, so some legacy ones are rejected. Bun's bundled roots are not affected.

Thanks to 4 contributors!#