Lucene search
+L

MiracleLinux 9 : php-8.0.30-8.el9_8.1.ML.1 (AXSA:2026-2346:07)

🗓️ 24 Nov 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 8 Views

Multiple vulnerabilities in php on MiracleLinux 9 including RCE and use-after-free.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-129496
23 Nov 202616:55
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-129289
26 Nov 202611:57
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-128064
26 Nov 202611:59
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-129496
23 Nov 202609:23
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-129289
20 Nov 202611:24
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-129496
20 Nov 202611:25
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-126714
20 Nov 202613:14
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-129289
23 Nov 202616:54
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-126714
20 Nov 202613:48
–githubexploit
githubexploit
GithubExploit
Exploit for CVE-2026-129496
24 Nov 202610:17
–githubexploit
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The package checks in this plugin were extracted from
# Miracle Linux Security Advisory AXSA:2026-2346:07.
##

include('compat.inc');

if (description)
{
  script_id(385597);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/11/25");

  script_cve_id(
    "CVE-2026-15353",
    "CVE-2026-126714",
    "CVE-2026-127960",
    "CVE-2026-128064",
    "CVE-2026-128090",
    "CVE-2026-129289",
    "CVE-2026-129291",
    "CVE-2026-129292",
    "CVE-2026-129474",
    "CVE-2026-129496",
    "CVE-2026-129506",
    "CVE-2026-129538"
  );

  script_name(english:"MiracleLinux 9 : php-8.0.30-8.el9_8.1.ML.1 (AXSA:2026-2346:07)");

  script_set_attribute(attribute:"synopsis", value:
"The remote MiracleLinux host is missing one or more security updates.");
  script_set_attribute(attribute:"description", value:
"The remote MiracleLinux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the
AXSA:2026-2346:07 advisory.

    - Fix RCE via corrupted session file (always truncate before write)
      CVE-2026-126714 (GHSA-fm2m-fjf5-v3cp)
    - Fix FastCGI request smuggling via unread request body
      CVE-2026-129289 (GHSA-qc49-hpvq-g2w6)
    - Fix FPM worker stdio pipe fd closed twice (use-after-free in master)
      CVE-2026-129291 (GHSA-jm4m-qfqx-967m)
    - Fix DATEG(tzcache) use-after-free when logging outside a request
      CVE-2026-129496 (GHSA-gr4f-wgx5-jpfv)
    - Fix SOAP use-after-free: keep the DTD alive during cleanup_xml_node()
      CVE-2026-129506 (GHSA-4646-p932-gw34)
    - Fix PATH_INFO underflow in CGI init_request_info()
      CVE-2026-129538 (GHSA-5j3f-64r7-f564)
    - Fix plaintext connection for mixed case HTTPS:// and FTPS:// URLs
      CVE-2026-128064 (GHSA-f6gg-rchx-xw8j)
    - Refuse keyless phar signature when a .pubkey file exists
      CVE-2026-128090 (GHSA-68fq-fh7h-f8gr)
    - Fix out-of-bounds read on empty SOAP-ENC:arraySize
      CVE-2026-15353 (GHSA-q23r-hr55-xmpg)
    - Fix quadratic folded header concatenation in the http:// wrapper
      CVE-2026-127960 (GHSA-mmf9-xm3v-hg2x)
    - Fix XSS in FPM status page via method, auth user and script filename
      CVE-2026-129292 (GHSA-3mg3-cr28-46gc)
    - Fix use-after-free in debug_backtrace_get_args() on trampoline calls
      CVE-2026-129474 (GHSA-8mjj-2r7p-4hg2)
    CVE(s):
    CVE-2026-126714
    Partially overwritten session files can lead to remote code execution. The files session save handler,
    which is the default, writes updated session data into the existing session file without first clearing
    it. If a write is interrupted, the file can contain the beginning of the new session followed by the end
    of the old one, and bytes of an ordinary string can later be unserialized as objects. An attacker who can
    influence the session data, for example through session upload progress, 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. Session data can also be corrupted. This issue affects PHP versions before 8.2.36,
    8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129289
    PHP-FPM request smuggling through an unread HTTP request body. 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, which is not the default in nginx or Apache (for
    example nginx with fastcgi_keep_conn on, or Apache mod_proxy_fcgi with enablereuse=on), PHP-FPM can parse
    the leftover bytes as a new FastCGI request. An unauthenticated remote attacker can use a single crafted
    multipart/form-data request to forge a backend request with chosen parameters such as SCRIPT_FILENAME,
    REMOTE_ADDR and PHP_ADMIN_VALUE, which can lead to execution of attacker-controlled PHP code. With LSAPI,
    subsequent requests on the connection can be disrupted. This issue affects PHP versions before 8.2.36,
    8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129291
    PHP-FPM epoll use-after-free can lead to local privilege escalation. When catch_workers_output is enabled
    and the epoll event backend is used, the PHP-FPM master can close a worker's output pipe in
    fpm_child_close() without removing the associated event, and the delayed cleanup can free the worker
    record while its epoll registration is still active. A later event is then dispatched through a pointer
    into freed memory. A local attacker who can execute PHP code in an FPM worker can crash the master or
    execute code with its privileges, commonly root. catch_workers_output is disabled by default but enabled
    in the official PHP-FPM Docker images. This issue affects PHP versions from 8.1.20 through 8.1.34, from
    8.2.7 before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129496
    Timezone cache use-after-free can lead to remote code execution. In non-thread-safe builds, a diagnostic
    written to a file-based error_log during module startup, for example for an invalid date.timezone value or
    a session configuration warning, causes the timezone cache to be allocated in startup memory that is freed
    while a reference to it is kept. A diagnostic raised early in the first request of a worker, such as the
    max_input_vars warning, then accesses the freed cache. On such a deployment an unauthenticated remote
    attacker can crash PHP-FPM, Apache mod_php or CGI workers with a crafted request. Arbitrary code execution
    may be possible and has been demonstrated with known memory addresses. This issue affects PHP versions
    before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129506
    SOAP use-after-free when processing DTD entity references. The SOAP extension frees the document type
    definition (DTD) of a parsed XML document while attribute values can still refer to entities it owns, and
    can then read freed memory. Removing the DTD also bypasses the SOAP server's rejection of documents that
    contain one. An unauthenticated remote attacker who can send a crafted request to a SOAP endpoint, or who
    controls a WSDL or schema document loaded by the application, can crash the PHP process and cause denial
    of service. Memory disclosure and code execution have not been confirmed. This issue affects PHP versions
    before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129538
    PHP-CGI out-of-bounds read and write during PATH_INFO correction. The PHP CGI binary (php-cgi), in CGI and
    FastCGI mode with cgi.fix_pathinfo enabled (the default), can perform an out-of-bounds read and write when
    the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or when
    PATH_INFO is empty. This requires a web server mapping that passes such inconsistent values, or a FastCGI
    listener reachable by untrusted clients. An unauthenticated remote attacker can crash the process, may
    obtain process memory if the application exposes PATH_INFO or PATH_TRANSLATED, and may corrupt memory.
    PHP-FPM and the Apache module are not affected. This issue affects PHP versions before 8.2.36, 8.3.*
    before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-128064
    Mixed-case HTTPS and FTPS URLs can expose data in plaintext. The HTTP and FTP stream wrappers recognise
    URL schemes case-insensitively, but enable TLS only when the scheme contains a lowercase s at a fixed
    position. A URL such as HTTPS:// or FTPS:// passed to file_get_contents(), fopen() or other stream
    functions, or received as an HTTP redirect target, is therefore handled over unencrypted HTTP or FTP. An
    attacker able to observe the network traffic can read data the application expected TLS to protect,
    including credentials, request bodies and transferred files. This issue affects PHP versions before
    8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-128090
    PHAR OpenSSL signature bypass via algorithm downgrade. The Phar extension selects the signature
    verification method from the signature type stored in the archive, and only the OpenSSL types consult the
    separate .pubkey file holding the trusted public key. An attacker who can modify an OpenSSL-signed Phar
    archive, but not its public key file, can switch the signature type to a keyless hash such as SHA-256 with
    a recomputed digest, so the altered archive passes verification even with phar.require_hash enabled. An
    application that loads the archive may then execute attacker-controlled PHP code. Native, tar-based and
    zip-based phars are affected. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.*
    before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-15353
    SOAP information disclosure through malformed array dimensions. The SOAP extension reads an uninitialized
    array position when decoding an encoded array whose arraySize attribute is empty, whitespace-only or non-
    numeric, or when such dimensions come from a WSDL definition. Four bytes of unrelated heap data can then
    be used as an integer key in the decoded array. An unauthenticated remote client can trigger this with a
    crafted request to a SoapServer endpoint, and a malicious SOAP server with a response to SoapClient. Heap
    memory is disclosed only if the application returns or otherwise exposes the decoded array. This issue
    affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-127960
    Denial of service through folded HTTP response headers. The HTTP stream wrapper joins each continuation
    line of a folded response header to the accumulated value by allocating a new string and copying the whole
    value, so a response with many short continuation lines takes disproportionate CPU time to parse. An
    attacker who controls an HTTP or HTTPS response fetched through file_get_contents(), fopen() or other
    stream functions, by making the application request a chosen URL or by influencing a server it already
    contacts, can keep PHP workers busy. Repeated or concurrent requests can cause a denial of service. This
    issue affects PHP versions from 8.1.32 through 8.1.34, from 8.2.28 before 8.2.36, from 8.3.18 before
    8.3.37, from 8.4.5 before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129292
    PHP-FPM status endpoint XSS via unescaped user and script fields. The PHP-FPM full status output includes
    the request method, authentication user and script filename of each worker without escaping them for the
    HTML, XML or JSON format. When the status endpoint is enabled, an unauthenticated remote attacker can
    store markup in a worker's scoreboard entry with an ordinary request, for example through the username of
    an HTTP Basic authentication header that the web server forwards to PHP-FPM, or through the script
    filename where the attacker can influence it. When a user views the full status page as HTML, the injected
    JavaScript runs in the origin of that page. The attacker does not need access to the status endpoint.
    Malformed XML or JSON output can also disrupt monitoring tools. This issue affects PHP versions before
    8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.
    CVE-2026-129474
    Use-after-free in magic method backtraces can lead to remote code execution. When collecting the arguments
    of a method call handled by __call() or __callStatic() for a backtrace, PHP can read stale values that may
    refer to freed memory. If a fatal error such as exceeding memory_limit occurs while an application enters
    such a call, with fatal_error_backtraces enabled (the default) and zend.exception_ignore_args disabled, a
    remote attacker who controls enough request data to influence memory allocation may cause memory
    corruption, crash the PHP worker or, with knowledge of memory addresses, execute arbitrary code. php.ini-
    production enables zend.exception_ignore_args, which prevents this. This issue affects PHP versions 8.5.*
    before 8.5.13.

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

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:"https://tsn.miraclelinux.com/en/node/25171");
  script_set_attribute(attribute:"solution", value:
"Update the affected packages.");
  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:POC/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:P");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-15353");
  script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2026-129538");
  script_set_attribute(attribute:"cvss4_score_source", value:"CVE-2026-129496");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"vendor_severity", value:"High");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/11/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/11/24");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/11/24");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-bcmath");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-cli");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-common");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-dba");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-dbg");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-embedded");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-enchant");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-ffi");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-fpm");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-gd");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-gmp");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-intl");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-ldap");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-mbstring");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-mysqlnd");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-odbc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-opcache");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-pdo");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-pgsql");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-process");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-snmp");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-soap");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:php-xml");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:miracle:linux:9");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Miracle Linux Local Security Checks");

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

  script_dependencies("ssh_get_info2.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/MiracleLinux/release", "Host/MiracleLinux/rpm-list", "Host/cpu");

  exit(0);
}


include('rpm2.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_product = get_kb_item('installed_os/local/SSH/0/product');
if (isnull(os_product) || 'MIRACLE LINUX' >!< os_product) audit(AUDIT_OS_NOT, 'MIRACLE LINUX');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'MIRACLE LINUX');
if (! preg(pattern:"^9([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'MiracleLinux 9.x', 'MIRACLE LINUX ' + os_version);

if (!get_kb_item('Host/MiracleLinux/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('aarch64' >!< cpu && 'ppc' >!< cpu && 's390' >!< cpu && 'x86_64' >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'MIRACLE LINUX', cpu);

var constraints = [
  {
    'release': '9',
    'pkgs': [
      {'reference':'php-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-bcmath-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-cli-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-common-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-dba-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-dbg-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-devel-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-embedded-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-enchant-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-ffi-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-fpm-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-gd-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-gmp-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-intl-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-ldap-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-mbstring-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-mysqlnd-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-odbc-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-opcache-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-pdo-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-pgsql-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-process-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-snmp-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-soap-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'php-xml-8.0.30-8.el9_8.1.ML.1', 'cpu':'x86_64', 'el_string':'el9_8', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'}
    ]
  }
];

var os_release = get_one_kb_item('installed_os/local/SSH/0/release');
var os_sp = get_one_kb_item('Host/*/minor_release');

var flag = 0;
var reference;
var sp;
var _cpu;
var el_string;
var rpm_spec_vers_cmp;
var epoch;
var allowmaj;
var exists_check;
var cves;
foreach var constraint ( constraints ) {
  # Check that the target release is equal to the affected release
  if (!empty_or_null(constraint['release'])){
    if (constraint['release'] != os_release) continue;
  }
  if (!empty_or_null(constraint['sp'])){
    if (constraint['sp'] != os_sp) continue;
  }
  foreach var pkg ( constraint['pkgs'] ) {
    reference = NULL;
    sp = NULL;
    _cpu = NULL;
    el_string = NULL;
    rpm_spec_vers_cmp = NULL;
    epoch = NULL;
    allowmaj = NULL;
    exists_check = NULL;
    cves = NULL;
    if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
    if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
    if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
    if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
    if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
    if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
    if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
    if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
    if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
    if (reference &&
        ## (no known rpm to check OR known rpm_exists)
        (!exists_check || rpm_exists(rpm:exists_check)) &&
        rpm_check(sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
  }
}
if (flag)
{
  security_report_v4(
      port       : 0,
      severity   : SECURITY_HOLE,
      extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'php / php-bcmath / php-cli / php-common / php-dba / php-dbg / etc');
}

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

25 Nov 2026 00:00Current
8.4High risk
Vulners AI Score8.4
CVSS 49.2
EPSS0.33772
SSVC
8