Vulnerabilities / PHP / Ubuntu 22.04

PHP 8.1.2 on Ubuntu 22.04: which build fixes which CVE

The newest Ubuntu 22.04 LTS security build of PHP is 8.1.2-1ubuntu2.28, published 21 October 2026. A server reporting an older build is missing the fixes listed above its own in the table below.

Ubuntu has published fixes for 42 CVEs in PHP on Ubuntu 22.04 across 10 builds, and 18 have no fixed build in the regular archive yet. Source package: php8.1.

Is my build patched?

Paste the version your scanner reported, the server’s banner, or the output of the command in the next section. It is compared here, in your browser, the way dpkg --compare-versions would; nothing you type is sent anywhere.

Where the version you were given comes from

PHP prints its version in php -v and, while expose_php is on, in the X-Powered-By header of every page it serves. Whether that string carries Ubuntu's build depends on how the package was built, so read the build from dpkg-query, not from the header. Every PHP extension package (php8.x-mysql, php8.x-curl and the rest) is built from the same source and moves to the same build.

Read the build on the server

The package version is the only number that says whether a fix is installed. Either of these prints it; the second also shows the newest build your configured archives offer, so a gap between the two lines is an update waiting.

Installed build
dpkg-query -W -f='${Package} ${Version}\n' php8.1-cli php8.1-fpm libapache2-mod-php8.1 2>/dev/null
Installed and available
apt-cache policy php8.1-cli

Every Ubuntu 22.04 build of PHP that fixed a CVE

Newest first. Each build carries every fix in the builds below it, so a server on a given row is missing the rows above it and nothing else. The advisory is the Ubuntu Security Notice that shipped the build where the data names one, and the date is that notice’s, or the CVE’s where it does not.

BuildPublishedAdvisoryCVEs fixed
8.1.2-1ubuntu2.28newest21 October 2026-CVE-2026-109618, CVE-2026-109619
8.1.2-1ubuntu2.2719 October 2026USN-8936-1CVE-2025-1218, CVE-2025-14181, CVE-2026-6103, CVE-2026-91765, CVE-2026-91766, CVE-2026-91767, CVE-2026-91768, CVE-2026-91769, CVE-2026-92842, CVE-2026-93682
8.1.2-1ubuntu2.2610 September 2026USN-8743-1CVE-2026-17543, CVE-2026-17544, CVE-2026-7260
8.1.2-1ubuntu2.2520 July 2026USN-8564-1CVE-2026-12184, CVE-2026-14355
8.1.2-1ubuntu2.2410 May 2026-CVE-2025-14179, CVE-2026-6722, CVE-2026-6735, CVE-2026-7259, CVE-2026-7261, CVE-2026-7262, CVE-2026-7568
8.1.2-1ubuntu2.2312 January 2026USN-7953-1CVE-2025-14177, CVE-2025-14178, CVE-2025-14180
8.1.2-1ubuntu2.2217 July 2025USN-7648-1CVE-2025-1220, CVE-2025-1735, CVE-2025-6491
8.1.2-1ubuntu2.2131 March 2025USN-7400-1CVE-2024-11235, CVE-2025-1217, CVE-2025-1219, CVE-2025-1734, CVE-2025-1736, CVE-2025-1861
8.1.2-1ubuntu2.2013 December 2024USN-7157-1CVE-2024-11233, CVE-2024-11234, CVE-2024-11236, CVE-2024-8929, CVE-2024-8932
8.1.2-1ubuntu2.191 October 2024USN-7049-1CVE-2024-8925

These are the builds behind the newest 60 of the 83 advisories Ubuntu has published for this package on Ubuntu 22.04. Builds older than the last row fixed more, and a server below the last row is missing those as well.

Advisory data last read 22 November 2026, from Ubuntu’s own advisories through OSV. It is re-read daily, and this page is rebuilt with it.

No fixed build yet

Ubuntu has published an advisory for each of these on Ubuntu 22.04 and no fixed build in the regular archive. Every build above is exposed to them, the newest included. Fixes that Ubuntu ships only through Ubuntu Pro are not counted on this page.

CVEPublishedUbuntu’s status
CVE-2026-11556019 November 2026Ubuntu CVE tracker
CVE-2026-12671419 November 2026Ubuntu CVE tracker
CVE-2026-12796019 November 2026Ubuntu CVE tracker
CVE-2026-12806419 November 2026Ubuntu CVE tracker
CVE-2026-12809019 November 2026Ubuntu CVE tracker
CVE-2026-12918219 November 2026Ubuntu CVE tracker
CVE-2026-12928919 November 2026Ubuntu CVE tracker
CVE-2026-12929119 November 2026Ubuntu CVE tracker
CVE-2026-12929219 November 2026Ubuntu CVE tracker
CVE-2026-12943819 November 2026Ubuntu CVE tracker
CVE-2026-12947419 November 2026Ubuntu CVE tracker
CVE-2026-12948119 November 2026Ubuntu CVE tracker
CVE-2026-12949619 November 2026Ubuntu CVE tracker
CVE-2026-12950119 November 2026Ubuntu CVE tracker
CVE-2026-12950619 November 2026Ubuntu CVE tracker
CVE-2026-12953819 November 2026Ubuntu CVE tracker
CVE-2026-1535319 November 2026Ubuntu CVE tracker
CVE-2026-1754525 September 2026Ubuntu CVE tracker

Update, then finish the job

Ubuntu 22.04
sudo apt update && sudo apt upgrade

Restart whatever runs PHP for your sites: sudo systemctl restart php8.x-fpm for PHP-FPM, or Apache for mod_php. Until then the old build is still answering requests.

Standard security maintenance for Ubuntu 22.04 LTS ends in April 2027. After that, new fixes for its packages are published through Ubuntu Pro, which this page does not count, so a server staying on 22.04 needs Ubuntu Pro or an upgrade to 24.04 to keep receiving them.

What this page does not tell you

Whether a CVE matters on your server. A missing build is a fact; whether the flaw it fixes is reachable depends on what is enabled and who can connect to it. The advisory linked on each row says what each fix is for. And it covers only what Ubuntu publishes: software installed from a PPA, a vendor repository or a container image is versioned by whoever built it.

Read next

Stop checking builds by hand

SecAI’s agent reads the installed packages on each server and checks them against published advisories every 12 hours, Ubuntu’s included, and tells you which servers are behind and by which fix. Before installing anything, the free assessment checks the rest of a server’s setup with one read-only command.