Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-17082
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:11 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-17082
Complete source record
{
"id": "8d39098431761c75769aa553517d934ae5f169086a72f371817b5d81d01be682",
"url": "https://osv.dev/vulnerability/CVE-2018-17082",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-17082",
"summary": "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.",
"evidence": "osv:CVE-2018-17082",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2018-17082",
"aliases": [
"CVE-2018-17082"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/php/php-src",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b0822792c8d4c8d535ea1beb8ea63025496668e7"
},
{
"introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
},
{
"fixed": "cff4562e6dfe5db877504f310bf00e00198fbb73"
},
{
"introduced": "0221e9f827632942225586687a33cfd554860d5e"
},
{
"fixed": "7f6558bf5d54cc03ad8cdad3c13188563c24f422"
},
{
"introduced": "8148cbb78841c8ec0759c0836e7f35dec799d300"
},
{
"fixed": "00d2b7a3d28d29383450fc2607c7d4fb91d57a4a"
},
{
"fixed": "23b057742e3cf199612fa8050ae86cae675e214e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "5.6.38"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.32"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.1.0"
},
{
"fixed": "7.1.22"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.2.0"
},
{
"fixed": "7.2.10"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "23b057742e3cf199612fa8050ae86cae675e214e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"POST_PHP7_NSAPI_REMOVAL",
"PRE_PHP7_NSAPI_REMOVAL",
"PRE_PHP7_EREG_MYSQL_REMOVALS",
"PRE_PHP7_REMOVALS",
"POST_PHP7_REMOVALS",
"POST_AST_MERGE",
"PRE_AST_MERGE",
"POST_64BIT_BRANCH_MERGE",
"PRE_64BIT_BRANCH_MERGE",
"POST_PHPNG_MERGE"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17082.json",
"vanir_signatures": [
{
"id": "CVE-2018-17082-68a51ab8",
"digest": {
"length": 3972,
"function_hash": "286714666792502187029051883559319256746"
},
"source": "https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e",
"target": {
"file": "sapi/apache2handler/sapi_apache2.c",
"function": "php_handler"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-17082-fa554c7b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"152064786699712677301454464694779181018",
"29303015709440994030888303854153240592",
"111547859227363177804637785761047134821",
"289592337297551983891992604857677649335"
]
},
"source": "https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e",
"target": {
"file": "sapi/apache2handler/sapi_apache2.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:11:28Z"
}
}
],
"modified": "2026-10-24T14:11:28.539919904Z",
"provider": "osv",
"references": [
"https://www.tenable.com/security/tns-2019-07",
"https://access.redhat.com/errata/RHSA-2019:2519",
"https://lists.debian.org/debian-lts-announce/2018/09/msg00020.html",
"https://security.gentoo.org/glsa/201812-01",
"https://security.netapp.com/advisory/ntap-20180924-0001/",
"https://www.debian.org/security/2018/dsa-4353",
"https://bugs.php.net/bug.php?id=76582",
"https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-17082",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443253,
"published_at": "2018-09-16T15:29:00.253+00:00"
}