Ubuntu 22.04 LTS / 24.04 LTS / 25.10 / 26.04 LTS : PHP vulnerabilities (USN-8336-1)

critical Nessus Plugin ID 318235

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 22.04 LTS / 24.04 LTS / 25.10 / 26.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-8336-1 advisory.

Aleksey Solovev and Nikita Sveshnikov discovered that PHP improperly handled NUL bytes when preparing SQL queries in the PDO Firebird driver. An attacker could possibly use this issue to perform SQL injection attacks. (CVE-2025-14179)

It was discovered that PHP incorrectly handled certain encoding names in mbstring. An attacker could possibly use this issue to obtain sensitive information or cause a denial of service. This issue only affected Ubuntu 25.10 and Ubuntu 26.04 LTS. (CVE-2026-6104)

It was discovered that PHP incorrectly handled object references while parsing crafted SOAP requests. A remote attacker could possibly use this issue to execute arbitrary code. (CVE-2026-6722)

It was discovered that PHP incorrectly sanitized certain data in the PHP-FPM status page. A remote attacker could possibly use this issue to inject arbitrary JavaScript code. (CVE-2026-6735)

It was discovered that PHP had an encoding mismatch in mbstring. An attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2026-7259)

It was discovered that PHP incorrectly handled SOAP session persistence after errors. A remote attacker could possibly use this issue to obtain sensitive information or cause PHP to crash, resulting in a denial of service. (CVE-2026-7261)

It was discovered that PHP incorrectly handled missing values in SOAP typemap decoding. A remote attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2026-7262)

It was discovered that PHP incorrectly handled XML canonicalization in DOMNode::C14N(). An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 26.04 LTS.
(CVE-2026-7263)

It was discovered that PHP incorrectly handled very long input in metaphone(). An attacker could possibly use this issue to cause PHP to crash, resulting in a denial of service. (CVE-2026-7568)

Tenable has extracted the preceding description block directly from the Ubuntu security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-8336-1

Plugin Details

Severity: Critical

ID: 318235

File Name: ubuntu_USN-8336-1.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 6/2/2026

Updated: 6/2/2026

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-7261

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.5

Threat Score: 9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS Score Source: CVE-2026-6722

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:php8.4-cli, p-cpe:/a:canonical:ubuntu_linux:php8.5-dev, p-cpe:/a:canonical:ubuntu_linux:php8.1-readline, cpe:/o:canonical:ubuntu_linux:24.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:php8.5-sybase, p-cpe:/a:canonical:ubuntu_linux:php8.1-bz2, p-cpe:/a:canonical:ubuntu_linux:php8.1-cli, p-cpe:/a:canonical:ubuntu_linux:php8.3-enchant, p-cpe:/a:canonical:ubuntu_linux:php8.1-bcmath, p-cpe:/a:canonical:ubuntu_linux:libphp8.1-embed, p-cpe:/a:canonical:ubuntu_linux:php8.3, p-cpe:/a:canonical:ubuntu_linux:php8.1-sqlite3, p-cpe:/a:canonical:ubuntu_linux:php8.1, p-cpe:/a:canonical:ubuntu_linux:php8.4-odbc, p-cpe:/a:canonical:ubuntu_linux:php8.5-tidy, p-cpe:/a:canonical:ubuntu_linux:php8.3-mysql, p-cpe:/a:canonical:ubuntu_linux:php8.1-gd, p-cpe:/a:canonical:ubuntu_linux:php8.1-fpm, p-cpe:/a:canonical:ubuntu_linux:php8.4-sybase, p-cpe:/a:canonical:ubuntu_linux:php8.5-interbase, p-cpe:/a:canonical:ubuntu_linux:php8.4-zip, p-cpe:/a:canonical:ubuntu_linux:php8.1-common, p-cpe:/a:canonical:ubuntu_linux:php8.5-gmp, p-cpe:/a:canonical:ubuntu_linux:php8.3-curl, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php8.3, p-cpe:/a:canonical:ubuntu_linux:php8.1-dba, p-cpe:/a:canonical:ubuntu_linux:php8.3-soap, p-cpe:/a:canonical:ubuntu_linux:php8.3-readline, p-cpe:/a:canonical:ubuntu_linux:php8.5-pgsql, p-cpe:/a:canonical:ubuntu_linux:php8.5-gd, cpe:/o:canonical:ubuntu_linux:26.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:php8.1-sybase, p-cpe:/a:canonical:ubuntu_linux:php8.4-xml, p-cpe:/a:canonical:ubuntu_linux:php8.1-mbstring, p-cpe:/a:canonical:ubuntu_linux:php8.3-phpdbg, p-cpe:/a:canonical:ubuntu_linux:php8.3-bcmath, p-cpe:/a:canonical:ubuntu_linux:php8.1-snmp, p-cpe:/a:canonical:ubuntu_linux:php8.1-intl, p-cpe:/a:canonical:ubuntu_linux:php8.3-opcache, p-cpe:/a:canonical:ubuntu_linux:php8.3-tidy, p-cpe:/a:canonical:ubuntu_linux:php8.1-opcache, p-cpe:/a:canonical:ubuntu_linux:php8.1-zip, p-cpe:/a:canonical:ubuntu_linux:php8.1-enchant, p-cpe:/a:canonical:ubuntu_linux:php8.3-snmp, p-cpe:/a:canonical:ubuntu_linux:php8.3-sqlite3, p-cpe:/a:canonical:ubuntu_linux:php8.5-xsl, p-cpe:/a:canonical:ubuntu_linux:php8.5-mysql, p-cpe:/a:canonical:ubuntu_linux:php8.3-cgi, p-cpe:/a:canonical:ubuntu_linux:php8.4-dba, p-cpe:/a:canonical:ubuntu_linux:php8.3-mbstring, p-cpe:/a:canonical:ubuntu_linux:php8.3-bz2, p-cpe:/a:canonical:ubuntu_linux:php8.1-ldap, p-cpe:/a:canonical:ubuntu_linux:php8.4-mysql, p-cpe:/a:canonical:ubuntu_linux:php8.5-common, p-cpe:/a:canonical:ubuntu_linux:php8.4-bz2, p-cpe:/a:canonical:ubuntu_linux:php8.5-intl, p-cpe:/a:canonical:ubuntu_linux:php8.3-pgsql, p-cpe:/a:canonical:ubuntu_linux:php8.3-intl, p-cpe:/a:canonical:ubuntu_linux:php8.3-ldap, p-cpe:/a:canonical:ubuntu_linux:php8.4-ldap, p-cpe:/a:canonical:ubuntu_linux:php8.4-cgi, p-cpe:/a:canonical:ubuntu_linux:php8.3-dev, p-cpe:/a:canonical:ubuntu_linux:php8.1-xsl, p-cpe:/a:canonical:ubuntu_linux:php8.1-cgi, p-cpe:/a:canonical:ubuntu_linux:php8.4-interbase, p-cpe:/a:canonical:ubuntu_linux:php8.1-soap, p-cpe:/a:canonical:ubuntu_linux:php8.3-gmp, p-cpe:/a:canonical:ubuntu_linux:php8.4-bcmath, p-cpe:/a:canonical:ubuntu_linux:libphp8.3-embed, p-cpe:/a:canonical:ubuntu_linux:php8.4-fpm, p-cpe:/a:canonical:ubuntu_linux:php8.5-cli, p-cpe:/a:canonical:ubuntu_linux:php8.4-soap, p-cpe:/a:canonical:ubuntu_linux:php8.1-interbase, p-cpe:/a:canonical:ubuntu_linux:php8.3-cli, p-cpe:/a:canonical:ubuntu_linux:php8.3-fpm, p-cpe:/a:canonical:ubuntu_linux:libphp8.4-embed, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php8.0, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php7.4, p-cpe:/a:canonical:ubuntu_linux:php8.3-xsl, p-cpe:/a:canonical:ubuntu_linux:php8.4-gmp, p-cpe:/a:canonical:ubuntu_linux:php8.4-opcache, p-cpe:/a:canonical:ubuntu_linux:php8.5, p-cpe:/a:canonical:ubuntu_linux:php8.5-odbc, p-cpe:/a:canonical:ubuntu_linux:php8.5-sqlite3, p-cpe:/a:canonical:ubuntu_linux:php8.5-enchant, p-cpe:/a:canonical:ubuntu_linux:php8.1-mysql, p-cpe:/a:canonical:ubuntu_linux:php8.4, p-cpe:/a:canonical:ubuntu_linux:php8.3-common, p-cpe:/a:canonical:ubuntu_linux:php8.4-sqlite3, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php8.4, p-cpe:/a:canonical:ubuntu_linux:php8.4-curl, p-cpe:/a:canonical:ubuntu_linux:php8.1-xml, p-cpe:/a:canonical:ubuntu_linux:php8.3-dba, p-cpe:/a:canonical:ubuntu_linux:php8.5-litespeed, p-cpe:/a:canonical:ubuntu_linux:php8.3-gd, p-cpe:/a:canonical:ubuntu_linux:php8.5-soap, p-cpe:/a:canonical:ubuntu_linux:php8.4-enchant, p-cpe:/a:canonical:ubuntu_linux:php8.4-gd, p-cpe:/a:canonical:ubuntu_linux:php8.1-imap, p-cpe:/a:canonical:ubuntu_linux:php8.3-pspell, p-cpe:/a:canonical:ubuntu_linux:php8.3-imap, p-cpe:/a:canonical:ubuntu_linux:php8.4-intl, p-cpe:/a:canonical:ubuntu_linux:php8.1-gmp, p-cpe:/a:canonical:ubuntu_linux:php8.1-dev, p-cpe:/a:canonical:ubuntu_linux:php8.5-cgi, p-cpe:/a:canonical:ubuntu_linux:php8.4-snmp, p-cpe:/a:canonical:ubuntu_linux:php8.1-pgsql, p-cpe:/a:canonical:ubuntu_linux:php8.5-curl, p-cpe:/a:canonical:ubuntu_linux:php8.5-snmp, p-cpe:/a:canonical:ubuntu_linux:php8.4-pgsql, p-cpe:/a:canonical:ubuntu_linux:php8.4-common, p-cpe:/a:canonical:ubuntu_linux:php8.1-pspell, p-cpe:/a:canonical:ubuntu_linux:php8.5-fpm, p-cpe:/a:canonical:ubuntu_linux:php8.5-dba, p-cpe:/a:canonical:ubuntu_linux:php8.5-phpdbg, p-cpe:/a:canonical:ubuntu_linux:php8.5-zip, p-cpe:/a:canonical:ubuntu_linux:php8.5-bz2, p-cpe:/a:canonical:ubuntu_linux:php8.3-xml, p-cpe:/a:canonical:ubuntu_linux:php8.3-zip, p-cpe:/a:canonical:ubuntu_linux:php8.1-tidy, p-cpe:/a:canonical:ubuntu_linux:php8.3-interbase, p-cpe:/a:canonical:ubuntu_linux:php8.3-odbc, cpe:/o:canonical:ubuntu_linux:22.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:php8.4-xsl, p-cpe:/a:canonical:ubuntu_linux:php8.5-xml, p-cpe:/a:canonical:ubuntu_linux:php8.4-dev, p-cpe:/a:canonical:ubuntu_linux:php8.1-phpdbg, p-cpe:/a:canonical:ubuntu_linux:php8.4-phpdbg, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php8.5, p-cpe:/a:canonical:ubuntu_linux:php8.4-mbstring, p-cpe:/a:canonical:ubuntu_linux:php8.5-readline, p-cpe:/a:canonical:ubuntu_linux:php8.4-readline, cpe:/o:canonical:ubuntu_linux:25.10, p-cpe:/a:canonical:ubuntu_linux:php8.5-ldap, p-cpe:/a:canonical:ubuntu_linux:php8.1-odbc, p-cpe:/a:canonical:ubuntu_linux:php8.4-tidy, p-cpe:/a:canonical:ubuntu_linux:php8.3-sybase, p-cpe:/a:canonical:ubuntu_linux:php8.1-curl, p-cpe:/a:canonical:ubuntu_linux:php8.5-mbstring, p-cpe:/a:canonical:ubuntu_linux:php8.5-bcmath, p-cpe:/a:canonical:ubuntu_linux:libphp8.5-embed, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php8.1

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/28/2026

Vulnerability Publication Date: 5/6/2026

Reference Information

CVE: CVE-2025-14179, CVE-2026-6104, CVE-2026-6722, CVE-2026-6735, CVE-2026-7259, CVE-2026-7261, CVE-2026-7262, CVE-2026-7263, CVE-2026-7568

USN: 8336-1