Alpine: php81: security update to 8.1.34-r0

critical Tenable Self-Hosted Container Security Plugin ID 483053

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- 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-7261)

- In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.*
before 8.5.1, the getimagesize() function may leak uninitialized heap memory into the APPn segments (e.g.,
APP1) when reading images in multi-chunk mode (such as via php://filter). This occurs due to a bug in
php_read_stream_all_chunks() that overwrites the buffer without advancing the pointer, leaving tail bytes
uninitialized. This may lead to information disclosure of sensitive heap data and affect the
confidentiality of the target server. (CVE-2025-14177)

- In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.*
before 8.5.1, a heap buffer overflow occurs in array_merge() when the total element count of packed arrays
exceeds 32-bit limits or HT_MAX_SIZE, due to an integer overflow in the precomputation of element counts
using zend_hash_num_elements(). This may lead to memory corruption or crashes and affect the integrity and
availability of the target server. (CVE-2025-14178)

- In PHP versions 8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.*
before 8.5.1 when using the PDO PostgreSQL driver with PDO::ATTR_EMULATE_PREPARES enabled, an invalid
character sequence (such as \x99) in a prepared statement parameter may cause the quoting function
PQescapeStringConn to return NULL, leading to a null pointer dereference in pdo_parse_params() function.
This may lead to crashes (segmentation fault) and affect the availability of the target server.
(CVE-2025-14180)

- 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 map without
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-6722)

Solution

Update the php81 library and its related packages to version 8.1.34-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2025-14177

https://security.alpinelinux.org/vuln/CVE-2025-14178

https://security.alpinelinux.org/vuln/CVE-2025-14180

https://security.alpinelinux.org/vuln/CVE-2026-6722

https://security.alpinelinux.org/vuln/CVE-2026-6735

https://security.alpinelinux.org/vuln/CVE-2026-7258

https://security.alpinelinux.org/vuln/CVE-2026-7259

https://security.alpinelinux.org/vuln/CVE-2026-7261

https://security.alpinelinux.org/vuln/CVE-2026-7262

https://security.alpinelinux.org/vuln/CVE-2026-7568

Plugin Details

Severity: Critical

ID: 483053

Version: Revision 1.2

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.2

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

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 12/17/2025

Reference Information

CVE: CVE-2025-14177, CVE-2025-14178, CVE-2025-14180, CVE-2026-6722, CVE-2026-6735, CVE-2026-7258, CVE-2026-7259, CVE-2026-7261, CVE-2026-7262, CVE-2026-7568

IAVA: 2026-A-0020-S, 2026-A-0440