Critical PHP vulnerabilities: how to safely patch LibreTime 4.5.0

Hi everyone,

I’m running LibreTime 4.5.0 on a dedicated production server and would appreciate the community’s advice following the PHP security advisory published on October 21, 2026, covering CVE-2026-109618 and CVE-2026-109619.

My current setup is:

  • LibreTime: 4.5.0

  • Operating system: Debian GNU/Linux 11 — Bullseye

  • PHP: 7.4.33, with Debian package version 7.4.33-1+deb11u12 for PHP-FPM, CLI and the core extensions

  • Web server: Nginx with PHP-FPM

  • Audio streaming: Icecast2

APT currently reports no available PHP updates from my configured Debian repositories.

I’m considering switching to the Sury PHP 7.4 packages, specifically revision 7.4.33-31, whose changelog includes fixes for both vulnerabilities. The Debian 11 package identified is:

1:7.4.33-31+0~20261021.121+debian11~1.gbpe9c428

Before making this change on a live radio server, I would appreciate feedback on the following:

  1. Has anyone successfully applied this update with LibreTime 4.5.0 on Debian 11? Are there any known compatibility issues with the legacy interface or PHP extensions?

  2. Is Sury the recommended immediate patching route for this setup, or would the maintainers recommend another approach?

  3. Which services actually need to restart? Can Liquidsoap, Playout and Icecast remain running throughout the PHP update? What interruption should I expect for the web interface?

  4. Is there a tested upgrade and rollback procedure that preserves the existing PHP configuration and LibreTime FPM pool?

My main priority is to patch these vulnerabilities while keeping the radio on air. Any guidance, tested commands or experience with this specific configuration would be very helpful.

Thank you!

Hey,

you can safely install the php sury repository and upgrade your php packages with an “apt upgrade”.

No need to run the install script.

I haven’t tested this.

You only need to restart php-fpm. Or you could also reboot.

LibreTime 4.5.0 on Debian 11: successful PHP 7.4 security update

I successfully updated my LibreTime 4.5.0 server from Debian’s 7.4.33-1+deb11u12 to Sury’s 1:7.4.33-31+…. My PHP modules remained unchanged, and Icecast did not restart.

Below is a shortened procedure for the same setup: Debian 11 (Bullseye), Nginx, PHP 7.4-FPM and Icecast2, starting without an existing Sury configuration or other PHP versions.

Run this as root in Bash. Review APT’s proposed changes before confirming: no PHP 8 packages or removals should appear. The web interface may briefly be unavailable while PHP-FPM restarts.

(
  set -euo pipefail
  umask 022
  export LC_ALL=C NEEDRESTART_MODE=l UCF_FORCE_CONFFOLD=1

  apt-get -o APT::Update::Error-Mode=any update
  apt-get install --no-install-recommends ca-certificates curl

  php_keyring=$(mktemp --suffix=.deb)
  curl -fsSL https://packages.sury.org/debsuryorg-archive-keyring.deb \
    -o "$php_keyring"
  dpkg -i "$php_keyring"
  rm -- "$php_keyring"

  cat > /etc/apt/preferences.d/libretime-php74.pref <<'EOF'
Package: php7.4 php7.4-* libpcre2-*
Pin: origin "packages.sury.org"
Pin-Priority: 990

Package: *
Pin: origin "packages.sury.org"
Pin-Priority: -1
EOF

  printf '%s\n' \
    'deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ bullseye main' \
    > /etc/apt/sources.list.d/php.list

  apt-get -o APT::Update::Error-Mode=any update

  mapfile -t php_packages < <(
    dpkg-query -W -f='${binary:Package} ${db:Status-Status}\n' 'php7.4*' |
      awk '$2 == "installed" {print $1}'
  )
  test "${#php_packages[@]}" -gt 0

  apt-get --no-remove --no-install-recommends \
    -o Dpkg::Options::=--force-confold \
    install "${php_packages[@]}"

  printf '%s\n' 'session.upload_progress.enabled=0' \
    > /etc/php/7.4/fpm/conf.d/99-libretime-upload-progress.ini

  php-fpm7.4 -t
  systemctl restart php7.4-fpm
)

This selects the installed PHP 7.4 packages, preserves customized configuration files and restricts Sury to PHP 7.4 and PCRE2. There is no need to rerun the LibreTime installer or restart libretime.target.

Then verify:

dpkg-query -W php7.4-fpm
php-fpm7.4 -i | grep '^session.upload_progress.enabled'
systemctl is-active php7.4-fpm nginx icecast2

Expected results: Sury package version 1:7.4.33-31+… or a newer patched revision, Off => Off, and three active lines. Check the package version: php -v will still report PHP 7.4.33.

Finally, log into LibreTime, test a small audio upload and open a new connection to your stream.