CVE-2026-47291: Remote Code Execution in the Windows HTTP.sys Driver
A critical security vulnerability in the Windows HTTP.sys driver allows remote, unauthenticated attackers to potentially execute malicious code or crash systems by sending specifically crafted HTTP requests over TLS connections.

English Brief
A critical security vulnerability in the Windows HTTP.sys driver allows remote, unauthenticated attackers to potentially execute malicious code or crash systems by sending specifically crafted HTTP requests over TLS connections.
الموجز العربي
CVE-2026-47291: ثغرة تنفيذ تعليمات برمجية عن بُعد في برنامج تشغيل HTTP.sys في نظام ويندوز
ثغرة أمنية حرجة في برنامج تشغيل HTTP.sys في نظام ويندوز، تسمح للمهاجمين غير المصرح لهم بتنفيذ تعليمات برمجية ضارة أو التسبب في تعطل الأنظمة عبر إرسال طلبات HTTP معدة خصيصاً.
- 1Apply the official Microsoft security update for June 2026.
- 2To mitigate manually, set MaxRequestBytes registry key:
- 3Restart the HTTP service or the server to apply changes.
English Advisory
// Intelligence Summary
A vulnerability (CVE-2026-47291) exists in the Windows HTTP.sys kernel-mode driver, allowing for remote code execution (RCE) or denial-of-service (DoS). The flaw stems from an integer overflow during HTTP/1.x header parsing when processed over TLS connections. ### Technical Context
The HTTP.sys parser manages a dynamically allocated buffer reference array. During header parsing, when the count of buffer references reaches capacity, the array is grown by 5 slots. A 16-bit integer overflow occurs when 'capacity' reaches 0xFFFF, leading to a truncated calculation and subsequent kernel pool heap buffer overflow. This requires specific memory layout conditions for RCE but consistently results in kernel-mode system termination. ### Exposure Notes
This vulnerability is reachable only via HTTP/1.x requests encapsulated in TLS. It is triggered by providing a large number of header lines across numerous TLS records to force the integer overflow. Systems with high 'MaxRequestBytes' registry values are particularly susceptible, as the default limit of 16,384 bytes prevents the accumulation of sufficient headers to trigger the overflow. ### Defensive Priority
Organizations must apply the June 2026 security updates. As a compensatory control, administrators should ensure the 'MaxRequestBytes' registry key at HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters is set to a conservative value, ideally 65,535 bytes or lower, to mitigate the attack vector until patching is complete.
التقرير العربي
// ملخص استخباراتي
توجد ثغرة أمنية (CVE-2026-47291) في برنامج تشغيل HTTP.sys في نظام ويندوز، مما يتيح إمكانية تنفيذ تعليمات برمجية عن بُعد (RCE) أو التسبب في حجب الخدمة (DoS). ينبع الخلل من فيضان عدد صحيح (Integer Overflow) أثناء تحليل ترويسات HTTP/1.x عبر اتصالات TLS. ### Technical Context
يقوم محلل HTTP.sys بإدارة مصفوفة مرجعية للمخازن المؤقتة المخصصة ديناميكياً. عند تحليل الترويسات، وعندما يصل عدد المراجع إلى السعة القصوى، يتم توسيع المصفوفة بمقدار 5 خانات. يحدث فيضان للعدد الصحيح ذو 16 بت عندما تصل السعة إلى 0xFFFF، مما يؤدي إلى عملية حسابية مبتورة وفيضان في ذاكرة التخزين المؤقت (Kernel Pool). يتطلب استغلال الثغرة ظروفاً معينة لتخطيط الذاكرة لتنفيذ التعليمات البرمجية، ولكنه يؤدي دائماً إلى إنهاء النظام في وضع النواة. ### Exposure Notes
يمكن الوصول إلى هذه الثغرة فقط عبر طلبات HTTP/1.x المغلفة في TLS. يتم تفعيلها عن طريق تقديم عدد كبير من أسطر الترويسات عبر سجلات TLS متعددة. الأنظمة ذات قيم سجلات 'MaxRequestBytes' العالية معرضة للخطر بشكل خاص. ### Defensive Priority
يجب على المؤسسات تطبيق تحديثات الأمان لشهر يونيو 2026. كإجراء احترازي، يجب على المسؤولين التأكد من ضبط مفتاح التسجيل 'MaxRequestBytes' في المسار HKLM\SYSTEM\CurrentControlSet\Services\HTTP\Parameters على قيمة محافظة، لا تزيد عن 65,535 بايت، للحد من ناقل الهجوم حتى اكتمال الترقيع.
Mitigation Checklist
- 1Apply the official Microsoft security update for June 2026.
- 2To mitigate manually, set MaxRequestBytes registry key:
- 3Restart the HTTP service or the server to apply changes.
قائمة إجراءات التخفيف
- 1قم بتثبيت تحديث أمان مايكروسوفت الصادر في يونيو 2026.
- 2للحد من المخاطر يدوياً، قم بضبط مفتاح التسجيل MaxRequestBytes:
- 3أعد تشغيل خدمة HTTP أو الخادم لتطبيق التغييرات.
- High number of HTTP header lines (>1000) within a single TLS session
- Sustained TLS record transmission (>11 minutes duration)
# 1. Apply the official Microsoft security update for June 2026.
# 2. To mitigate manually, set MaxRequestBytes registry key:
# Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\HTTP\Parameters' -Name 'MaxRequestBytes' -Value 65535 -Type DWord
# 3. Restart the HTTP service or the server to apply changes.