Executive Summary
PHP issued rebuilt Windows packages for versions 8.2 through 8.5 after identifying a Brotli memory-corruption flaw that could potentially lead to code execution. Teams running AI agents or LLM applications on affected PHP environments should review package versions and dependency exposure.
What Happened
PHP has rebuilt its official Windows packages for PHP 8.2 through 8.5 to fix CVE-2026-111497, a flaw in the Brotli compression library that the packages include. The flaw can let an attacker corrupt memory and potentially run code. PHP says the flaw can be reached through the cURL extension when the extension decompresses HTTP responses automatically. cURL leaves that off by default, but
Affected Products
- PHP 8.2
- PHP 8.3
- PHP 8.4
- PHP 8.5
- Brotli compression library
- cURL extension
Vulnerability / Attack Technique
Memory corruption leading to potential code execution
Technical Mechanism
The Brotli compression library included in the official Windows PHP packages contains CVE-2026-111497, which can allow memory corruption and potentially code execution. The issue can be reached through the cURL extension when it automatically decompresses HTTP responses, although cURL leaves automatic decompression disabled by default.
AI Security Category
Not AI-specific
RealGround Analysis
The article describes a conventional software supply-chain vulnerability rather than an AI-specific weakness or AI-enabled attack. It matters to AI teams because agent and LLM applications may depend on PHP services, HTTP clients, and packaged libraries whose vulnerabilities can affect the application runtime and connected systems.
Recommended Controls
- Inventory PHP runtimes and bundled libraries used by AI applications and agents.
- Upgrade affected official Windows PHP packages to rebuilt versions addressing CVE-2026-111497.
- Review cURL configuration and disable automatic HTTP response decompression unless it is required.
- Monitor vendor security advisories and establish a documented process for rapid dependency updates.
- Test package updates in staging and verify that production deployments do not retain vulnerable PHP builds.
Related RealGround Service
AI Agent SBOM and LLM Mapping · or start with the free AI Agent Security Scanner.
Sources
thehackernews.com: https://thehackernews.com/2026/10/php-issues-second-windows-security.html
Summary and analysis written by RealGround from the source above; last updated 2026-10-27.
