Описание
HTTP.sys Remote Code Execution Vulnerability
Integer overflow or wraparound in Windows HTTP.sys allows an unauthorized attacker to execute code over a network.
Меры по смягчению последствий
To help protect against this vulnerability prior to installing the June 2026 security updates for your operating system, you may need to modify the MaxRequestBytes registry value used by the Windows HTTP stack if it isn't set to the default value.
Note
- Systems using the default value (16384 bytes / 16 KB) are not impacted by this vulnerability.
- Configurations that increase this value beyond safe limits may expose the system.
- The minimum safe value to avoid this vulnerability is 65534 bytes (~65 KB).
- Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Use Registry Editor at your own risk.
Configure the registry setting using Registry Editor
Select Start, type regedit, and open Registry Editor.
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\ParametersLocate the value MaxRequestBytes:
If the value does not exist:
- Right-click in the right pane → New → DWORD (32-bit) Value
- Name the value: MaxRequestBytes
- Double-click MaxRequestBytes and configure the value:
Select Decimal
Set one of the following values:
- 16384 → Default (recommended; not vulnerable)
- 65534 → Lowest value that avoids exposure while allowing larger requests
Select OK, and then close Registry Editor.
Restart the HTTP service or restart the system
net stop http /y net start http
Configure the registry setting using PowerShell
Open PowerShell as Administrator.
Run the following command:
$path = "HKLM:\SYSTEM\CurrentControlSet\Services\HTTP\Parameters" New-ItemProperty -Path $path -Name MaxRequestBytes -PropertyType DWORD -Value 16384 -Force- Replace 16384 with another value (for example, 65534) if required.
Restart the HTTP service:
net stop http /y net start http
Verify the registry setting
Run the following command to confirm the configured value:
reg query HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters /v MaxRequestBytes
How to revert the change (undo the mitigation)
Restore the default value
Open Registry Editor.
Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\ParametersSet MaxRequestBytes to:
16384
Or remove the registry value
- Delete the MaxRequestBytes registry entry.
- Windows will use the default behavior.
Apply the rollback
- Double-click MaxRequestBytes and configure the value:
- Restart the HTTP service or restart the system.
FAQ
How could an attacker exploit this vulnerability?
In most situations, an unauthenticated attacker could send a specially crafted packet to a targeted server utilizing the HTTP Protocol Stack (http.sys) to process packets.
Обновления
| Продукт | Статья | Обновление |
|---|---|---|
| Windows Server 2012 | ||
| Windows Server 2012 (Server Core installation) | ||
| Windows Server 2012 R2 | ||
| Windows Server 2012 R2 (Server Core installation) | ||
| Windows Server 2016 | ||
| Windows 10 Version 1607 for 32-bit Systems | ||
| Windows 10 Version 1607 for x64-based Systems | ||
| Windows Server 2016 (Server Core installation) | ||
| Windows 10 Version 1809 for 32-bit Systems | ||
| Windows 10 Version 1809 for x64-based Systems |
Показывать по
Возможность эксплуатации
Publicly Disclosed
Exploited
Latest Software Release
EPSS
9.8 Critical
CVSS3
Связанные уязвимости
Integer overflow or wraparound in Windows HTTP.sys allows an unauthorized attacker to execute code over a network.
Integer overflow or wraparound in Windows HTTP.sys allows an unauthorized attacker to execute code over a network.
Уязвимость драйвера HTTP.sys операционной системы Windows, позволяющая нарушителю выполнить произвольный код
EPSS
9.8 Critical
CVSS3