The short version
A fully patched Ubuntu 24.04 server answers php -v with 8.3.6. The upstream fix for October's critical PHP flaws is 8.3.36. The server is still fixed.
Ubuntu backports security fixes into the PHP version it shipped, so php -v cannot tell you whether you are patched. The package version can, once you compare it with the "fixed in" version in your OS vendor's advisory.
A distro suffix such as ~deb12u1 on the version string does not mean the fix is in. Debian 12 has one such version marked vulnerable and another marked fixed, and numbering differs by OS: Debian 12's fixed version matches upstream.
Before you read on
This is part of my series Protect Your Own Service Yourself. It is for anyone running PHP that was installed with apt on Ubuntu or Debian.
A patched server that looks thirty releases behind
Here is a container running Ubuntu 24.04, right after installing PHP from the Ubuntu packages.
php -v says 8.3.6.…