Description
The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a "Transfer-Encoding: chunked" request, because the bucket brigade is mishandled in the php_handler function in sapi/apache2handler/sapi_apache2.c.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | php7.0 | 7.0.33-0+deb9u1 | DSA-4353-1 |
| Debian 8 | php5 | 5.6.38+dfsg-0+deb8u1 | DLA-1509-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | php7.2 | 7.2.10-0ubuntu0.18.04.1 | — |
| Ubuntu 16.04 LTS | php7.0 | 7.0.32-0ubuntu0.16.04.1 | — |
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.26 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-php71-php +27 | 7.1.30-1.el7 | RHSA-2019:2519 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLES 15 | php7 | 7.2.5-4.12.2 | SUSE-SU-2022:4067-1, SUSE-SU-2018:3016-1 |
| SLES 12 SP3 | php5 | 5.5.14-109.41.1 | SUSE-SU-2018:3017-1 |
| SLES 12 SP3 | php7 | 7.0.7-50.52.1 | SUSE-SU-2018:2887-1 |
| SLES 12 | php5 | 5.5.14-109.41.1 | SUSE-SU-2018:3017-1 |
| SLES 12 | php7 | 7.0.7-50.52.1 | SUSE-SU-2018:2887-1 |
| SLES 11 SP4 | php53 | 5.3.17-112.41.1 | SUSE-SU-2018:3018-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP1 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLES for SAP 15 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLES for SAP 11 SP4 | php53 | 5.3.17-112.41.1 | SUSE-SU-2018:3018-1 |
| SLE HPC 15 SP1 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SLE HPC 15 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
| SUSE Enterprise Storage 6 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | php7 | 7.4.24-1.1 | openSUSE-SU-2024:11167-1 |
| openSUSE Tumbleweed | php8 | 8.0.11-1.1 | openSUSE-SU-2024:11169-1 |
| openSUSE Leap 15.4 | php7 | 7.2.34-150000.4.103.1 | SUSE-SU-2022:4067-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.8 | php5 | 5.6.38-r0 | — |
| Alpine v3.7 | php7 | 7.1.29-r0 | — |
| Alpine v3.5 | php5 | 5.6.38-r0 | — |
| Alpine v3.5 | php7 | 7.0.32-r0 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache2 - Transfer-Encoding Chunked XSS http/cves/2018/CVE-2018-17082.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 13
- RHSA-2019:2519 Red Hat Security Advisory: rh-php71-php security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DSA-4353-1 php7.0 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1509-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2022:4067-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3018-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3016-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11167-1 php7-7.4.24-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11169-1 php8-8.0.11-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3017-1 Security update for php5 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:2887-1 Security update for php7 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- ICSA-26-027-02 Festo Didactic SE MES PC CISA ICS & IT advisories · Jan 27, 2026
- FSA-202402 Several Vulnerabilities in MES PC (Windows 10) CERT@VDE · Dec 8, 2025
References
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- DSA-4353 vendor-advisory
- https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e
- [debian-lts-announce] 20180920 [SECURITY] [DLA 1509-1] php5 security update mailing-list
- https://bugs.php.net/bug.php?id=76582
- GLSA-201812-01 vendor-advisory
- https://security.netapp.com/advisory/ntap-20180924-0001/
- RHSA-2019:2519 vendor-advisory
- https://www.tenable.com/security/tns-2019-07