vendor:
PHP
by:
Unknown
7.5
CVSS
HIGH
Memory Corruption
122
CWE
Product Name: PHP
Affected Version From: PHP 7.2.2
Affected Version To: Unknown
Patch Exists: YES
Related CWE:
CPE: a:php:php:7.2.2
Platforms Tested:
2018
Memory Corruption Bug in PHP
The latest PHP distributions contain a memory corruption bug while parsing malformed HTTP response packets. If the proceeding buffer contains 'r' as either controlled content or junk on stack, under a realistic setting (non-ASAN), tmp_line_len could go do -1, resulting in an extra large string being copied subsequently. Under ASAN a segfault can be observed.
Mitigation:
Update to a version of PHP that includes the fix for this vulnerability.