Skip to content

Bishop Fox examines patch status ambiguity for CVE-2026-111497 and PHP2Shell fixes

Researcher shows version and package records can mislead when determining if Brotli and PHP fixes are present.

Reported by Bishop Fox

First reported Summary updated

Read the coverage
Public PoC
Not known
Exploited
Not known
Severity
Not rated

What happened

Bishop Fox investigated how to determine whether applications are patched for CVE-2026-111497 (Brotli decoder in Node.js) and PHP2Shell, finding that version and package records can be ambiguous.1

For Node.js, a fetch() request with Accept-Encoding: identity still reached the Brotli decoder when the server returned Content-Encoding: br, in both affected and fixed builds.1

Both Node.js 24.22.0 and 24.22.1 reported Brotli 1.2.0, but the 24.22.1 release notes record the fix, making the Node.js release the relevant patch identifier.1

For PHP, Ubuntu backported fixes to PHP 8.3.6, but the CLI and HTTP still reported 8.3.6; the full Apache module package revision libapache2-mod-php8.3 8.3.6-0ubuntu0.24.04.13 was needed to recognise the backport.1

Who is affected

  • Node.js Brotli decoder, Node.js 24.22.0 (affected); 24.22.1 fixed1
  • PHP (Apache module), PHP 8.3.35 affected; 8.3.36 fixed; Ubuntu 8.3.6 with backport1

Is there a public exploit?

Not known None of the sources mentions public exploit code yet.

Exploited in the wild?

Not known None of the sources reports attacks using it so far.

What to do

  • For Node.js, use the Node.js release notes (e.g., 24.22.1) as the patch identifier rather than the Brotli version.1
  • For PHP on Ubuntu, check the full Apache module package revision (libapache2-mod-php8.3) to confirm the backported fix.1

For bug hunters

This event concerns a decoder flaw (Brotli) reachable through HTTP response handling, and a PHP request-handling issue. Bug bounty hunters should look for similar cases where a library is invoked implicitly, such as automatic decompression or content decoding, and where version checks may not reflect the actual patched state. Test whether applications honour Accept-Encoding and process compressed responses from untrusted sources, and verify patch status via package revisions rather than reported versions.

What to test

  • Send requests with Accept-Encoding: br to endpoints that fetch external content and check if Brotli decoding occurs.
  • Inspect response handling for automatic decompression of Content-Encoding headers from user-controlled sources.
  • Compare reported library versions with package revision strings to detect backported fixes.
  • Test PHP applications for request handling behaviour that may be affected by PHP2Shell.

The Memory corruption lesson Every Memory corruption report

Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.

Coverage

The article this story is based on. Each headline opens the outlet's own article.

  1. 1

    Bishop Fox

    Patch Me If You Can: Tracing CVEs to Deployed Code
    “The PHP2Shell and Node2Shell disclosures prompted me to look at how the affected code fits into an application.”

Reports about Memory corruption

View all

Disclosed reports of the same bug class, clearest first.

More news

View all

Other stories from the last month, Memory corruption first.