☢ [CVE-2026-XXXXXXX] Critical vulnerability in PHP, upgrade system package ASAP!

:uk: A critical vulnerability in PHP has been disclosed and fixed with following PHP versions PHP 8.5.13, PHP 8.4.28, PHP 8.3.37 and PHP 8.2.36. Some of those version are now available

We encourage you to perform YunoHost system upgrade as soon as possible.

  • via the Web UI: go at https://domain.tld/yunohost/admin/#/update, click “Retrieve available updates”, and then “Upgrade” under the “System” section
  • via SSH: sudo yunohost tools update && sudo yunohost tools upgrade system

More details:
→ PHP: News Archive - 2026

:fr: Une faille critique dans PHP vient d’être publiée et est corrigée avec les versions suivantes PHP 8.5.13, PHP 8.4.28, PHP 8.3.37 and PHP 8.2.36. Certaines versions semblent maintenant disponibles.

Nous vous encourageons à mettre à jour les paquets système de votre instance YunoHost dès que possible.

  • via l’interface web: allez sur https://domaine.tld/yunohost/admin/#/update, cliquez sur “Récupérer les mises à jours disponibles”, puis sur “Mettre à jour” sous la section “Système”.
  • via SSH: sudo yunohost tools update && sudo yunohost tools upgrade system

Plus d’informations:
→ (anglais) PHP: News Archive - 2026

Yes, lately it has become more complicated to self-host due to these vulnerabilities. We hope that the discoveries made by AI will eventually become less frequent.

Hang in there—we’re doing our best to simplify these monitoring and maintenance tasks.

Security issues have delayed some of our projects, but even though we haven’t had much time to communicate, we still need your donations and hope to be back with good news in a few days.

Looks like Sury has provided the update. It should be available now.

Updated!

Can I use this space to express my deepest en sincerest gratitude to @ljf and everyone from @YunoHost for this fast response, monitoring and your ongoing work to make self-hosting not only easy, but also as secure as can be.

I love you :heart:

Hm, got an “upgrade denied” in the log:

WARNING /usr/sbin/policy-rc.d returned 101, not running 'restart nginx.service'
INFO + Unpacking nginx (1.22.1-9+deb12u11) over (1.22.1-9+deb12u10) ...
INFO + Setting up nginx (1.22.1-9+deb12u11) ...
WARNING invoke-rc.d: policy-rc.d denied execution of upgrade.

apparently due to the following file existing, maybe since YNH11->12 upgrade (for no reason known to me):

root@<host>:~# ls -l /usr/sbin/policy-rc.d 
-rwxr-xr-x 1 root root 55 Aug 31 13:18 /usr/sbin/policy-rc.d
root@<host>:~# cat /usr/sbin/policy-rc.d 
#!/bin/bash
[[ "$1" =~ "nginx" ]] && exit 101 || exit 0root@<host>:~#

Note the wrong not-newline-terminated file format.
A manual systemctl restart nginx.service did not complain.

Bonjour,

Bravo pour votre réactivité et plus globalement pour ce beau projet Yunohost que j’utilise depuis des années pour un serveur personnel.

Cordialement
Nicolas

Hm, seems all Yunohosts that have been upgraded to YNH12 have this upgrading problem.

Due to no cleaning up of the file /usr/sbin/policy-rc.d, which has also already been identified as cause for another known bug, see:


To to see if there are non-working log files (.log empty, and .log.1 still written to) see, e.g.:
find /var/log/nginx/ -name '*.log' -size 0 | { while read; do ls -l $REPLY $REPLY.1; echo; done; }