Alibaba Cloud Linux 3 : 0181: php:7.4 (ALINUX3-SA-2026:0181)

critical Nessus Plugin ID 325922

Synopsis

The remote Alibaba Cloud Linux host is missing one or more security updates.

Description

The remote Alibaba Cloud Linux 3 host has packages installed that are affected by multiple vulnerabilities as referenced in the ALINUX3-SA-2026:0181 advisory.

Package updates are available for Alibaba Cloud Linux 3 that fix the following vulnerabilities:

CVE-2026-6722:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global mapwithout incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution.

CVE-2026-6735:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, 8.5.* before 8.5.6, due to improper sanitation of user data, itallows an attacker to compose an URL, which will cause the target to execute arbitrary JavaScript code (XSS) on the target's machine when the target is viewing thePHP-FPM status page.

CVE-2026-7258:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, some functions, including urldecode(), pass signed char to ctype functions (likeisxdigit()). On the systems with default signed char and optimized table-lookup ctype functions - such as NetBSD - this can lead to accessing array with negative offset, whichcan trigger a denial of service.

CVE-2026-7261:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, when SoapServer is configured with SOAP_PERSISTENCE_SESSION, the handler object is persisted across requests via session storage. However, in the case SOAP requests results in an error, the persistance is handled incorrectly, resulting in freeing the object while keeping a pointer to it, which may lead to use- after-free. This may lead to memory corruption, information disclosure, or process crashes, with confidentiality, integrity, and availability impact on the vulnerable system.

CVE-2026-7262:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, when a SOAP server has a typemap configured, the decoding process contains a mistake which checks the wrong variable in case of missing value element. This leads todereferences a NULL pointer, causing a segmentation fault. This allows a remote unauthenticated attacker to crash the PHP SOAP server process, resulting in denial of service.

CVE-2026-7568:
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the metaphone() function in ext/standard/metaphone.c uses a signed int variable to track the current position within the input string. If a string longer than 2,147,483,647 bytes is passed, a signed integer overflow occurs, resulting in undefined behavior. This can lead to an out-of-bounds read, causing a segmentation fault or access to unrelated memory, and may affect the availability of the PHP process.

Tenable has extracted the preceding description block directly from the Alibaba Cloud Linux 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

http://mirrors.aliyun.com/alinux/3/cve/alinux3-sa-20260181.xml

Plugin Details

Severity: Critical

ID: 325922

File Name: alinux3_sa_2026-0181.nasl

Version: 1.1

Type: Local

Published: 7/9/2026

Updated: 7/9/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.92

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:alibabacloud:alibaba_cloud_linux_3:php-snmp, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-enchant, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-opcache, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-devel, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-mysqlnd, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-dbg, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-cli, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-process, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-ldap, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-gmp, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-json, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-dba, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-odbc, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-gd, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-embedded, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-pgsql, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-xmlrpc, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-bcmath, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-mbstring, cpe:/o:alibabacloud:alibaba_cloud_linux_3, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-common, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-fpm, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-soap, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-xml, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-intl, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-ffi, p-cpe:/a:alibabacloud:alibaba_cloud_linux_3:php-pdo

Required KB Items: Host/local_checks_enabled, Host/Alibaba/release, Host/Alibaba/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/6/2026

Vulnerability Publication Date: 5/6/2026

Reference Information

CVE: CVE-2026-6722, CVE-2026-6735, CVE-2026-7258, CVE-2026-7261, CVE-2026-7262, CVE-2026-7568