Nacho's Tidbits
// posts

CVE Day

There’s nothing like spending a day at work upgrading high CVE’s vulnerabilities and come back home and…. fix CVE’s vulnerabilities……

But that’s the life of self-hosting.

CVEs

Node.js - October 21, 2026

Fixed in 22.23.4, 24.22.1 and 26.12.1. Official advisory

CVESeverityDescriptionAffected lines
CVE-2026-111497HighBrotli decoder out-of-bounds write (remote code execution)22, 24, 26
CVE-2026-105482HighDNS resolve truncates names at a NUL character22, 24, 26
CVE-2026-106069HighTLS hostname bypass with non-canonical IP addresses22, 24, 26
CVE-2026-105483HighTLS hostname bypass with fullwidth digits24, 26
CVE-2026-106072MediumDNS names in certificates accepted for IP endpoints22, 24, 26
CVE-2026-105481MediumKeep-alive socket accepts a response sent too early22, 24, 26
CVE-2026-106074MediumRepeated random values in startup snapshots and SEAs22, 24, 26
CVE-2026-106070Lowzlib.ZipFile returns stray bytes after a failed header check26
CVE-2026-106071LowPermission Model over-grants with wildcard paths26
CVE-2026-106073LowPermission Model bypass through fs.realpathSync22, 24, 26

PHP - October 21, 2026

Fixed in 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Source backports are available for 7.4, 8.0 and 8.1. Official announcement

CVESeverityDescription
CVE-2026-109618Critical (CVSS 4.0: 9.2)Remote code execution via out-of-memory handling
CVE-2026-109619Critical (CVSS 4.0: 9.2)Remote code execution via fatal-error handling

Python (CPython) - September 30, 2026

These are now near 1 month old. I heard rumours of new CVEs making it soon but I couldn’t find any reference. So took the chance to also make sure these are upgraded properly.

Fixed in 3.10.22, 3.11.17, 3.12.15, 3.13.16 and 3.14.8. Release notes

CVESeverityDescription
CVE-2026-19445Critical (9.2)TLS server crash or use-after-free when sni_callback swaps SSLContext
CVE-2026-19553—SSLContext.wrap_bio() missing validation of server_hostname
CVE-2026-15310LowMemory exhaustion in zipfile with bzip2/LZMA/Zstandard members
CVE-2026-82049—tarfile extraction-filter bypass via hard links (3.10–3.13 only)

so yeah.. a fun day altogether.

What to upgrade

The process was quite straightforward. I self-host docker images and LXC containers so I only need to run through them and find affected version. We can ignore our dev docker since is only used for development, nothing is public and apps are removed daily (maybe more on that in a future post).

The following script gives us all the docker that need upgrading

1for c in $(docker ps --format '{{.Names}}'); do
2  if ! docker exec "$c" sh -c 'exit 0' >/dev/null 2>&1; then
3    printf '%-30s %s\n' "$c" "(no shell, skipped)"; continue
4  fi
5  node=$(docker exec "$c" sh -c 'command -v node >/dev/null 2>&1 && node -v' 2>/dev/null)
6  php=$(docker exec "$c" sh -c 'command -v php >/dev/null 2>&1 && php -r "echo PHP_VERSION;"' 2>/dev/null)
7  py=$(docker exec "$c" sh -c 'for p in python3 python; do command -v $p >/dev/null 2>&1 && { $p -c "import platform;print(platform.python_version())"; break; }; done' 2>/dev/null)
8  printf '%-30s node=%-12s php=%-10s python=%s\n' "$c" "${node:--}" "${php:--}" "${py:--}"
9done

For LXC I run a similar command

 1CHECK='
 2n=$(command -v node >/dev/null 2>&1 && node -v)
 3p=$(command -v php >/dev/null 2>&1 && php -r "echo PHP_VERSION;")
 4y=""
 5for b in python3 python; do
 6  if command -v $b >/dev/null 2>&1; then
 7    y=$($b -c "import platform;print(platform.python_version())")
 8    break
 9  fi
10done
11printf "node=%-12s php=%-10s python=%s\n" "${n:--}" "${p:--}" "${y:--}"
12'
13
14for id in $(pct list | awk 'NR>1 && $2=="running" {print $1}'); do
15  name=$(pct config "$id" | awk '/^hostname:/ {print $2}')
16  res=$(pct exec "$id" -- sh -c "$CHECK" 2>/dev/null) || res="(exec failed)"
17  printf '%-6s %-30s %s\n' "$id" "$name" "$res"
18done

That said, since the fixes are a few old days is likely that you need to upgrade all of them, even if that only means repulling the latest tag.

Upgrading

In the end I found a few services so always start for what is exposed to the public. That meant upgrading Immich and a Wordpress I have for my wife.

Of course the wordpress was not up to date nor it’s plugins or themes… so first upgraded that and then pull the latest image to get a fixed php version.

For the rest was just pulling latest versions, as we do upgrades somewhat consistently no major pain was discovered.

Calibre-web uses Ubuntu 24.04 which patched it’s version without a version upgrade so the way to check it was patched was checking dpkg

1docker exec calibre-web dpkg -l 'libpython3.12*' | grep ^ii

For LXC was only needed to use update for the community script ones or apt updatte && apt full-upgrade or the alpine alternative.

The only project I found that didn’t had a patched version was Homepage but luckily a nightly tag was built with the newer Node version so I pulled that as a short term solution.

I also found PiHole with php dependencies that didn’t need anymore, running apt purge 'php*' got rid of it.