USN-7645-1: PHP vulnerabilities

Publication date

17 July 2025

Overview

Several security issues were fixed in PHP.


Packages

  • php7.0 - HTML-embedded scripting language interpreter
  • php7.2 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP incorrectly parsed certain HTTP response
headers. An attacker could possibly use this issue to cause incorrect
MIME type parsing which could result in unexpected behavior.
(CVE-2025-1217)

It was discovered that PHP did not properly validate certain HTTP
headers. An attacker could possibly use this issue to perform an HTTP
request smuggling attack. (CVE-2025-1734)

It was discovered that PHP did not properly validate certain HTTP
headers. An attacker could possibly use this issue to prevent certain
headers from being sent which could result in a denial of service or
other unexpected behavior. (CVE-2025-1736)

It was discovered that PHP incorrectly performed URL truncation. An
attacker could possibly use this issue to specially craft a URL that
would result in unintended redirections...

It was discovered that PHP incorrectly parsed certain HTTP response
headers. An attacker could possibly use this issue to cause incorrect
MIME type parsing which could result in unexpected behavior.
(CVE-2025-1217)

It was discovered that PHP did not properly validate certain HTTP
headers. An attacker could possibly use this issue to perform an HTTP
request smuggling attack. (CVE-2025-1734)

It was discovered that PHP did not properly validate certain HTTP
headers. An attacker could possibly use this issue to prevent certain
headers from being sent which could result in a denial of service or
other unexpected behavior. (CVE-2025-1736)

It was discovered that PHP incorrectly performed URL truncation. An
attacker could possibly use this issue to specially craft a URL that
would result in unintended redirections or a denial of service.
(CVE-2025-1861)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
18.04 bionic libapache2-mod-php7.2 –  7.2.24-0ubuntu0.18.04.17+esm8  
libphp7.2-embed –  7.2.24-0ubuntu0.18.04.17+esm8  
php7.2-cgi –  7.2.24-0ubuntu0.18.04.17+esm8  
php7.2-cli –  7.2.24-0ubuntu0.18.04.17+esm8  
php7.2-fpm –  7.2.24-0ubuntu0.18.04.17+esm8  
16.04 xenial libapache2-mod-php7.0 –  7.0.33-0ubuntu0.16.04.16+esm15  
libphp7.0-embed –  7.0.33-0ubuntu0.16.04.16+esm15  
php7.0-cgi –  7.0.33-0ubuntu0.16.04.16+esm15  
php7.0-cli –  7.0.33-0ubuntu0.16.04.16+esm15  
php7.0-fpm –  7.0.33-0ubuntu0.16.04.16+esm15  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›