PHP 8.5.x < 8.5.13 Multiple Vulnerabilities

critical Nessus Plugin ID 383427

Synopsis

The version of PHP installed on the remote host is affected by multiple vulnerabilities.

Description

The version of PHP installed on the remote host is 8.5.x prior to 8.5.13. It is, therefore, affected by multiple vulnerabilities as referenced in the PHP 8.5.13 changelog, including the following:

- The files session save handler, which is the default, writes updated session data into the existing session file without first clearing it. An attacker who can influence the session data and interrupt a write at a suitable point may inject objects, which can lead to code execution when the application contains a suitable gadget chain. (CVE-2026-126714)

- PHP does not discard the unread part of an HTTP request body at request shutdown when the application has opened php://input without reading it to the end. When the front end reuses backend connections, an unauthenticated remote attacker can use a crafted multipart/form-data request to forge a PHP-FPM backend request with chosen parameters, which can lead to execution of attacker-controlled PHP code. (CVE-2026-129289)

- Session upload progress can store attacker-controlled data in a session key using the php_binary or php_serialize session serializer. If the same session is later read with the php serializer, a remote attacker able to submit a multipart upload can inject objects, which may lead to code execution when the reading application contains a suitable gadget chain. (CVE-2026-115560)

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

Solution

Upgrade to PHP version 8.5.13 or later.

See Also

https://www.php.net/ChangeLog-8.php#8.5.13

http://www.nessus.org/u?04365509

http://www.nessus.org/u?099dd5f8

http://www.nessus.org/u?0ee96c75

http://www.nessus.org/u?10560c02

http://www.nessus.org/u?124b66d7

http://www.nessus.org/u?13f77d8d

http://www.nessus.org/u?216040d2

http://www.nessus.org/u?2cae96a2

http://www.nessus.org/u?2dbb414b

http://www.nessus.org/u?6731e5aa

http://www.nessus.org/u?78d1e7b6

http://www.nessus.org/u?806750bb

http://www.nessus.org/u?a79e8a5a

http://www.nessus.org/u?b690d2bc

http://www.nessus.org/u?bb6e03de

http://www.nessus.org/u?bd43f840

http://www.nessus.org/u?de72a885

Plugin Details

Severity: Critical

ID: 383427

File Name: php_8_5_13.nasl

Version: 1.1

Type: Combined

Agent: windows, macosx, unix

Family: CGI abuses

Published: 11/19/2026

Updated: 11/19/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.9

Percentile: 99.33

CVSS v2

Risk Factor: High

Base Score: 7.6

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

CVSS Score Source: CVE-2026-126714

CVSS v3

Risk Factor: High

Base Score: 8.1

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

CVSS v4

Risk Factor: Critical

Base Score: 9.2

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

CVSS Score Source: CVE-2026-126714

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: installed_sw/PHP

Patch Publication Date: 11/19/2026

Vulnerability Publication Date: 11/19/2026

Reference Information

CVE: CVE-2026-115560, CVE-2026-126714, CVE-2026-127960, CVE-2026-128064, CVE-2026-128090, CVE-2026-129182, CVE-2026-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129438, CVE-2026-129474, CVE-2026-129481, CVE-2026-129496, CVE-2026-129501, CVE-2026-129506, CVE-2026-129538, CVE-2026-15353, CVE-2026-48841

CWE: 125, 190, 20, 252, 319, 347, 367, 400, 407, 415, 416, 444, 459, 502, 662, 670, 757, 787, 79, 823, 908