Lucene search
+L

PHP 8.5.x < 8.5.9 Multiple Vulnerabilities SQLI

🗓️ 30 Jul 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

PHP 8.5.x before 8.5.9 has multiple vulnerabilities: SQL injection, bccomp write, and phar recursion.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2026-17543
30 Jul 202611:22
attackerkb
attackerkb
ATTACKERKB
CVE-2026-17544
30 Jul 202611:22
attackerkb
attackerkb
ATTACKERKB
CVE-2026-7260
30 Jul 202611:22
attackerkb
alpinelinux
AlpineLinux
CVE-2026-17543
30 Jul 202611:22
alpinelinux
alpinelinux
AlpineLinux
CVE-2026-17544
30 Jul 202611:22
alpinelinux
alpinelinux
AlpineLinux
CVE-2026-7260
30 Jul 202611:22
alpinelinux
alpinelinux
AlpineLinux
CVE-2026-9672
31 Jul 202604:17
alpinelinux
circl
Circl
CVE-2026-17543
30 Jul 202612:11
circl
circl
Circl
CVE-2026-17544
30 Jul 202612:17
circl
circl
Circl
CVE-2026-7260
30 Jul 202612:19
circl
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(331218);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/30");

  script_cve_id(
    "CVE-2026-7260",
    "CVE-2026-9672",
    "CVE-2026-17543",
    "CVE-2026-17544"
  );

  script_name(english:"PHP 8.5.x < 8.5.9 Multiple Vulnerabilities SQLI");

  script_set_attribute(attribute:"synopsis", value:
"The version PHP running on the remote web server is affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of PHP installed on the remote host is prior to 8.5.9. It is, therefore, affected by multiple
vulnerabilities as referenced in the Version 8.5.9 advisory.

  - Improper escaping of backslashes in attacker-provided parameters would allow for trivial SQL injection in
    PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.* before 8.4.24, and from 8.5.*
    before 8.5.9. (CVE-2026-17543)

  - Attacker-provided inputs to bccomp() could lead to an out-of-bounds write with stack and heap corruption
    in PHP versions from 8.4.* before 8.4.24 and from 8.5.* before 8.5.9. (CVE-2026-17544)

  - Circular symbolic links in phar archives could lead to unbounded recursion, exhausting the C stack and
    crashing the PHP process, in PHP versions from 8.2.* before 8.2.33, from 8.3.* before 8.3.33, from 8.4.*
    before 8.4.24, and from 8.5.* before 8.5.9. (CVE-2026-7260)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"http://php.net/ChangeLog-8.php#8.5.9");
  # https://github.com/php/php-src/security/advisories/GHSA-7qpv-r5mr-78m4
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?017c8f8e");
  # https://github.com/php/php-src/security/advisories/GHSA-vc5h-9ppw-p5f3
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?28e6363b");
  # https://github.com/php/php-src/security/advisories/GHSA-x692-q9x7-8c3f
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?beb05408");
  script_set_attribute(attribute:"solution", value:
"Upgrade to PHP version 8.5.9 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N");
  script_set_attribute(attribute:"cvss4_supplemental", value:"CVSS:4.0/AU:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-17543");
  script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2026-17544");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/07/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/07/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/30");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:php:php");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("php_version.nasl");
  script_require_keys("www/PHP", "installed_sw/PHP");
  script_require_ports("Services/www", 80);

  exit(0);
}

include('vcf.inc');
include('http.inc');

var port = get_http_port(default:80, php:TRUE);
var app_info = vcf::get_app_info(app:'PHP', port:port, webapp:TRUE);

var backported = get_kb_item('www/php/' + port + '/' + app_info.version + '/backported');
if ((report_paranoia < 2) && backported)
  audit(AUDIT_BACKPORT_SERVICE, port, 'PHP ' + app_info.version + ' install');

var constraints = [
  { 'min_version' : '8.5.0alpha1', 'fixed_version' : '8.5.9' }
];
vcf::check_version_and_report(
    app_info:app_info,
    constraints:constraints,
    severity:SECURITY_HOLE,
    flags:{'sqli':TRUE}
);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

30 Jul 2026 00:00Current
6Medium risk
Vulners AI Score6
CVSS 49.3
SSVC
3