Pular para o conteúdo
← Back to Skalablog

Published article

Why AI found 2 critical bugs but caused no blackout

Software EngineeringOpenAI

AI found real, critical memory-safety bugs in PHP and zlib during October 2026, but it did not trigger an internet-ending event. The flaws sat in old C code for years, and researchers directing AI tools located them faster than manual review would allow.

What AI found vulnerabilities in October 2026 actually were

AI found vulnerabilities in October 2026 that boiled down to two memory-safety flaws in old C code: one in the PHP interpreter and one in the zlib compression library. The many names circulating, such as PHP-to-Shell, Node-to-Shell and Brotli-to-Shell, describe downstream technologies touched by those two bugs rather than separate discoveries. Luiz Viana, an offensive security instructor at Solyd, laid out this distinction in a November 13, 2026 video, and it is the cleanest way to read the month's headlines.

The naming pattern matters because a scary list of products suggests an ecosystem-wide break. In practice, a compression flaw inside a library used by many runtimes propagates to every wrapper that calls it. The flaw count stays small even when the affected-product count looks large.

Why a global blackout on November 17 did not happen

A global blackout on November 17 did not happen because no technical document, advisory or official alert ever announced one. The rumour combined unrelated events into a single narrative: the PHP and zlib flaws, a reported Binance social-engineering incident, a controlled test of the United States emergency alert system, and a generic Brazilian Civil Defense recommendation to keep a 72-hour emergency kit.

Emergency agencies publish general preparedness guidance that applies to storms, outages and any other disruption. Treating that guidance as a hacker-attack warning is an inference, and the inference has no primary source behind it.

This does not mean October 2026 was quiet. Critical flaws did appear. The point is that fear spread faster than the technical facts, and readers who want to assess risk need to separate an unverified rumour from a published advisory.

Inside the PHP remote code execution flaws

The PHP flaws allowed remote code execution without authentication, and the vulnerable versions date back years rather than affecting current PHP 8 releases. A single crafted request could reach the bug, which is the most severe class of web vulnerability because it needs no login and no privilege.

PHP runs as an interpreter written in C. For each incoming request it builds a memory structure, processes the request, then tears the structure down. The bugs sit in that teardown path.

The first flaw involves a request that exceeds PHP's memory limit while the structure is half-built. The interpreter skips the cleanup, leaves an incomplete object behind, and later treats that leftover memory as valid data. The second flaw is worse: the incomplete state persists and contaminates later requests. Neither is a classic buffer overflow, and neither is a newly introduced zero-day in the sense of fresh code, because the logic is old.

The practical consequence is availability of patched versions. Servers pinned to PHP 5.4 from around 2012 carry the exposure, and the fix is an upgrade path many operators postponed. Current PHP branches are documented on php.net, which lists supported release lines and their support windows.

How the zlib buffer overflow bypasses your validation code

The zlib buffer overflow happens during automatic decompression, before application code runs, so input validation and authentication checks never get a chance to inspect the payload. zlib is the compression library that sits beneath Node.js, Python's standard library and most HTTP stacks. Its behaviour is documented in the zlib manual.

The mechanism is simpler than the PHP bug. zlib decompresses data in chunks and checks each chunk for corruption. An optimized code path omitted that check, so even when the function flagged broken data, decompression continued and wrote past the end of the intended buffer.

Writing past a buffer lets an attacker overwrite adjacent memory. If the overwritten region includes a return address or function pointer, control flow redirects to attacker-chosen instructions. That is code execution at the compression layer.

The aggravating factor is placement. Frameworks, proxies and middleware decompress request bodies automatically. A malicious compressed payload therefore executes at the internal processing layer, ahead of any login check or schema validation. Defenders need to look at the request pipeline, not only at application controllers.

Who actually drove the AI-assisted bug hunt

Researchers directed the AI-assisted bug hunt; the models did not operate autonomously. Viana describes AI as a force multiplier for code review and reverse engineering, compressing weeks of analysis into days while still requiring an expert to choose targets, supply context and interrogate the results.

A 2025 Chrome exploit demonstration is the clearest public example. A team used an OpenAI model to chain three Chrome flaws and escape the browser sandbox, and Google paid the team 250,000 US dollars through its reward programme. The same team reported spending six days and more than 40,000 US dollars in AI processing to get there.

That ratio is the story. AI lowered the cost of raw analysis while the expert supplied the targeting that made the analysis pay off. A less experienced operator steering the same model would plausibly have burned more budget without reaching the exploit chain.

Why a flood of CVE reports does not mean a flood of exploits

A flood of CVE reports does not equal a flood of exploits, because a large share of AI-generated findings fail validation. The count cited in Viana's video puts fewer than 200 catalogued vulnerabilities that directly credit AI for discovery, a small fraction of the total.

The practitioner experience matches that ratio. Viana recounts a security professional who received 300 findings from an AI tool, spent two days reviewing them, and discarded more than 200 as nonsense. The industry has a nickname for the pattern: CVE slop, meaning reports describing theoretical or nonexistent flaws.

Validation effort scales with the report volume. Companies that deploy automated scanners without an analyst to triage results end up with remediation queues full of noise and real issues buried inside them.

What security teams should change now

Security teams should change their patch cadence and their triage staffing, because the main current shift is speed rather than a new class of attack. Searching for flaws has become cheaper for attackers and defenders alike, which shortens the window between disclosure and exploitation.

Concrete actions follow from the two bug classes above:

  • Inventory PHP versions on every server and retire lines that no longer receive security fixes; the PHP supported versions page lists which branches still get patches.
  • Check which components decompress request bodies before your code runs, including reverse proxies, middleware and framework defaults, and confirm they are patched against zlib advisories.
  • Keep an SBOM or dependency inventory so a compression-library CVE maps to affected services quickly.
  • Staff a triage role for scanner output; automated findings need a human to validate them before they become tickets.
  • Assume a single bug may only be a first step, and design privilege boundaries so a limited-user code execution does not become root.

Layered defence covers what patching cannot. Backups, network segmentation and least privilege limit the blast radius when a server falls, and those controls were already the recommendation before AI entered the picture.

FAQ

  • Did AI find the PHP and zlib flaws on its own? No. Researchers used AI tools to accelerate code review while experts selected targets and validated results. Viana is explicit that no autonomous agent found the flaws without a human directing the work.
  • Are current PHP versions affected by the October 2026 flaw? The RCE flaw was tied to old branches such as PHP 5.4 from around 2012 rather than current PHP 8 releases. Operators on any outdated branch should still confirm their version against the official PHP support table.
  • What is CVE slop? CVE slop is AI-generated vulnerability reporting that describes theoretical or nonexistent flaws and floods tracking systems with noise. Validating those reports is why security teams still need analysts to filter tool output.
  • Was there an official warning about a November 17 blackout? No official alert, advisory or technical document supported a dated blackout. The rumour combined the October flaws, an unrelated exchange incident, a US emergency-system test and general Civil Defense preparedness advice.
  • Does AI make offensive security jobs less valuable? The evidence points the other way. AI makes analysis cheaper, which raises the value of people who can pick targets, validate findings and chain flaws into a real attack path; the CVE Program still relies on human review of reports.
  • What is the single best mitigation for these bug classes? Running a supported software version and patching promptly covers most of the exposure. The zlib bug bypassed application validation, so pipeline-level patching carried more weight than application-level input checks.

Where this leaves offensive security work

Offensive security work gains value as the cost of finding flaws drops, because the bottleneck moves from discovery to judgement. A model can surface thousands of candidate issues; deciding which ones chain into a working exploit still depends on context, judgement and willingness to keep interrogating the output.

That is the sober version of the October 2026 story. Two old C bugs, a handful of researcher-directed AI campaigns, and a rumour that outran its evidence. The risk that remains is ordinary: unpatched servers, automatic decompression ahead of validation checks, and a preference for reaction over maintenance.

If you keep explanations, interviews or lessons about security inside YouTube videos, Skalablog turns that recorded material into a written article you can review and publish, working from the transcript rather than from a blank page.

Paste the video URL on CrazyStack Typescript to move from recording to reviewable draft.

Source video