Ubuntu 24.04 Brotli USN-8956-1 (CVE-2026-111497) update check
USN-8956-1 (CVE-2026-111497) fixes libbrotli1 on Ubuntu 24.04 in 1.1.0-2ubuntu0.1. Update, then restart processes holding the old library.
On 2026-10-26 Ubuntu published USN-8956-1, fixing CVE-2026-111497 in Brotli. The notice says Brotli "incorrectly handled certain compressed streams" and a remote attacker "could possibly use this issue to cause a denial of service or execute arbitrary code". On 24.04 LTS the fixed version is 1.1.0-2ubuntu0.1 for brotli, libbrotli1 and python3-brotli. Updating the package is not the end: processes already running keep using the old library, so this page goes as far as finding what to restart.
Node.js bundles its own Brotli decoder, so this package does not fix Node.js. For the Node.js side see Node.js Brotli CVE-2026-111497 (Node2Shell).
[1] Compare the installed version with the fixed versions in the notice.
| Ubuntu | Fixed version (brotli, libbrotli1, python3-brotli) |
|---|---|
| 26.10 | 1.2.0-4ubuntu0.1 |
| 26.04 LTS | 1.2.0-3ubuntu0.1 |
| 24.04 LTS | 1.1.0-2ubuntu0.1 |
| 22.04 LTS | 1.0.9-2ubuntu0.1 |
$ dpkg -l libbrotli1 | tail -1 | tr -s ' ' | cut -d' ' -f1-3$ apt-cache madison libbrotli1ii libbrotli1:amd64 1.1.0-2build2libbrotli1 | 1.1.0-2ubuntu0.1 | http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packageslibbrotli1 | 1.1.0-2ubuntu0.1 | http://security.ubuntu.com/ubuntu noble-security/main amd64 Packageslibbrotli1 | 1.1.0-2build2 | http://archive.ubuntu.com/ubuntu noble/main amd64 Packages1.1.0-2build2 is the 24.04 release build (noble/main), so it is affected. The top two madison lines show the fixed version is already in both noble-updates and noble-security. If none of the three packages is installed, the notice does not apply.
[2] See what uses the library. Other packages pull it in even if you never installed it yourself.
$ apt-cache rdepends --installed libbrotli1libbrotli1Reverse Depends: libcurl4t64 libcurl4t64In the test it arrived with curl through libcurl4t64, so processes using libcurl (PHP's curl extension, for example) can be restart candidates too. A real server lists more.
[3] Update the packages. A normal system update is enough, per the notice; to update only these:
# apt update# apt install --only-upgrade libbrotli1 brotli python3-brotli# dpkg -l libbrotli1 | tail -1 | tr -s ' ' | cut -d' ' -f1-3ii libbrotli1:amd64 1.1.0-2ubuntu0.1Confirm the CVE in the package changelog:
$ zcat /usr/share/doc/libbrotli1/changelog.Debian.gz | head -6brotli (1.1.0-2ubuntu0.1) noble-security; urgency=medium * SECURITY UPDATE: DoS or code exec via buffer overflow - debian/patches/CVE-2026-111497.patch: Detect and report invalid stream earlier. in c/dec/decode.c, c/include/brotli/decode.h. - CVE-2026-111497[4] Find processes still holding the old library. Anything started before the update keeps the deleted file mapped and shows it as (deleted).
grep -l alone prints only paths such as /proc/3343/maps, so add the process name and the file it holds for each PID:
# grep -l 'libbrotli.*(deleted)' /proc/[0-9]*/maps 2>/dev/null | while read f; do p=${f#/proc/}; p=${p%/maps}; echo "pid=$p comm=$(cat /proc/$p/comm) $(grep -m1 'libbrotli.*(deleted)' $f | awk '{print $6, $7}')"; donepid=3343 comm=sleep /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1.1.0 (deleted)This is a test sleep started with the library loaded, still holding the old file after the update. On a real server you will see web servers, PHP-FPM and workers here.
[5] Restart the services behind those processes, then run [4] again and expect no output. Order and timing depend on each service. Unlike a kernel update, no reboot is needed.
# systemctl restart php8.3-fpm# grep -l 'libbrotli.*(deleted)' /proc/[0-9]*/maps 2>/dev/null