Skip to content
Fencer Vulns
high 7.5

CVE-2023-0662 json

DoS vulnerability when parsing multipart request body

published 2023-02-15 3 y ago modified 2026-09-08 2 mo ago also BIT-libphp-2023-0662 , BIT-php-2023-0662 , BIT-php-min-2023-0662 , EUVD-2023-12695 , GHSA-54hq-v5wp-fqgv

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.5%
EPSS 1.5% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and excessive number of log entries. This can cause denial of service on the affected server by exhausting CPU resources or disk space.

Patch / fix

  • bitnami libphp 8.0.28, 8.1.16, 8.2.3
  • bitnami php 8.0.28, 8.1.16, 8.2.3
  • bitnami php-min 8.0.28, 8.1.16, 8.2.3
  • PHP Group PHP 8.0.28, 8.1.16, 8.2.3
  • php8.2 Debian 12 8.2.4-1

debian advisories DEBIAN-CVE-2023-0662

  • php7.2 Ubuntu 18.04 LTS 7.2.24-0ubuntu0.18.04.17
  • php7.4 Ubuntu 20.04 LTS 7.4.3-4ubuntu2.18
  • php8.1 Ubuntu 22.04 LTS 8.1.2-1ubuntu2.11
  • php7.0 Ubuntu Pro 16.04 LTS 7.0.33-0ubuntu0.16.04.16+esm5

ubuntu advisories UBUNTU-CVE-2023-0662

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-gd RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-cli RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-dba RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-dbg RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-ffi RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-fpm RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976
  • php-gmp RHEL 9 8.1.27-1.module+el9.3.0.z+21063+f4ccb976

red hat advisories RHSA-2024:0387RHSA-2023:5927RHSA-2023:5926

  • php8 SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 8.0.28-150400.4.26.1
  • php8-fpm SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 8.0.28-150400.4.26.1
  • php8-test SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 8.0.28-150400.4.26.1
  • php8-embed SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 8.0.28-150400.4.26.1
  • php8-fastcgi SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 8.0.28-150400.4.26.1
  • apache2-mod_php8 SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 8.0.28-150400.4.26.1
  • php74 SLE Software Development Kit 12 SP5, SLE Module for Web and Scripting 12 7.4.33-1.53.1
  • php7 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS +1 more 7.2.34-150000.4.109.1

suse advisories SUSE-SU-2023:0527-1SUSE-SU-2023:0515-1SUSE-SU-2023:0514-1SUSE-SU-2023:0513-1SUSE-SU-2023:0476-1

  • php AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-gd AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-cli AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-dba AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-dbg AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-ffi AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-fpm AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1
  • php-gmp AlmaLinux 9 8.1.27-1.module_el9.3.0+53+44872dd1

almalinux advisories ALSA-2024:0387ALSA-2023:5926ALSA-2023:5927

  • php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.6.0+32040+1f1dedb8
  • php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.6.0+32041+66e66fb7
  • php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.6.0+32042+808943ae
  • php-pecl-zip Rocky Linux 9 1.20.1-1.module+el9.6.0+32040+1f1dedb8
  • php-pecl-apcu Rocky Linux 9 5.1.21-1.module+el9.6.0+32040+1f1dedb8
  • php-pecl-xdebug3 Rocky Linux 9 3.1.4-1.module+el9.6.0+32040+1f1dedb8
  • php Rocky Linux 9 8.0.30-1.el9_2
  • php Rocky Linux 8 8.0.30-1.module+el8.8.0+1550+d8f1b18f

rocky linux advisories RLSA-2024:0387RLSA-2023:5926RLSA-2023:5927

  • php7 Alpine 3.15 7.4.33-r1
  • php8 Alpine 3.16 8.0.28-r0
  • php81 Alpine 3.16 8.1.17-r0
  • php81 Alpine 3.19, Alpine 3.18, Alpine 3.17 8.1.16-r0
  • php82 Alpine 3.22, Alpine 3.21, Alpine 3.20 +2 more 8.2.3-r0

alpine advisories ALPINE-CVE-2023-0662

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php CBL-Mariner 2.0 8.1.16-1

azure linux advisories AZL-13605

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-0662 updated cvss 7.5

php: DoS vulnerability when parsing multipart request body

  • Red Hat Enterprise Linux AppStream (v. 8) php 8.0.30-1.module+el8.8.0+20302+42d2b711, libzip 1.7.3-1.module+el8.6.0+13671+84712317, php-gd 8.0.30-1.module+el8.8.0+20302+42d2b711, php-cli 8.0.30-1.module+el8.8.0+20302+42d2b711, php-dba 8.0.30-1.module+el8.8.0+20302+42d2b711, php-dbg 8.0.30-1.module+el8.8.0+20302+42d2b711, +26 more
    fixed: vendor fix “Users can decrease the post_max_size close to zero. This will render most websites non-interactive and break file uploads.” RHSA-2023:5927
  • Red Hat Enterprise Linux AppStream (v. 9) php 8.0.30-1.el9_2, php-gd 8.0.30-1.el9_2, php-cli 8.0.30-1.el9_2, php-dba 8.0.30-1.el9_2, php-dbg 8.0.30-1.el9_2, php-ffi 8.0.30-1.el9_2, +47 more
    fixed: vendor fix “Users can decrease the post_max_size close to zero. This will render most websites non-interactive and break file uploads.” RHSA-2023:5926
  • Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-027-02 updated cvss 7.5

Festo Didactic SE MES PC

  • Festo Didactic SE MES PC shipped_with_Windows_10
    affected: vendor fix

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-046-11 updated cvss 7.5

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

1.47% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami libphp
>=8.0.0, <8.0.28
>=8.1.0, <8.1.16
>=8.2.0, <8.2.3
8.0.28
8.1.16
8.2.3
bitnami php
>=8.0.0, <8.0.28
>=8.1.0, <8.1.16
>=8.2.0, <8.2.3
8.0.28
8.1.16
8.2.3
bitnami php-min
>=8.0.0, <8.0.28
>=8.1.0, <8.1.16
>=8.2.0, <8.2.3
8.0.28
8.1.16
8.2.3

Affected products

  • PHP Group PHP

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.