# PHP2Shell: Your SBOMs Already Know Which PHP Builds You're Running

DevFeed: [PHP2Shell: Your SBOMs Already Know Which PHP Builds You're Running](<https://devfeed.tech/articles/php2shell-your-sboms-already-know-which-php-builds-you-re-running-115875.md>)

Original publisher: [Read original article](<https://anchore.com/blog/php2shell-your-sboms-already-know-which-php-builds-youre-running/>)

Author: Aaron Stewart

Published: 2026-10-26T15:26:56Z

Content type: article

Language: en

Sources: [Anchore](<https://devfeed.tech/sources/anchore.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>), [software dark matter](<https://devfeed.tech/topics/software-dark-matter.md>), [content-addressed tagging](<https://devfeed.tech/topics/content-addressed-tagging.md>), [Composer](<https://devfeed.tech/topics/composer.md>)

Tags: [anchore](<https://devfeed.tech/tags/anchore.md>), [anchore-enterprise](<https://devfeed.tech/tags/anchore-enterprise.md>), [apache](<https://devfeed.tech/tags/apache.md>), [api](<https://devfeed.tech/tags/api.md>), [aws](<https://devfeed.tech/tags/aws.md>), [base](<https://devfeed.tech/tags/base.md>), [blog](<https://devfeed.tech/tags/blog.md>), [cli](<https://devfeed.tech/tags/cli.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compile](<https://devfeed.tech/tags/compile.md>), [composer](<https://devfeed.tech/tags/composer.md>), [container](<https://devfeed.tech/tags/container.md>), [container-images](<https://devfeed.tech/tags/container-images.md>), [critical](<https://devfeed.tech/tags/critical.md>), [cve](<https://devfeed.tech/tags/cve.md>), [engine](<https://devfeed.tech/tags/engine.md>), [interpreter](<https://devfeed.tech/tags/interpreter.md>), [php](<https://devfeed.tech/tags/php.md>), [php2shell](<https://devfeed.tech/tags/php2shell.md>), [sboms](<https://devfeed.tech/tags/sboms.md>), [version](<https://devfeed.tech/tags/version.md>)

## AI overview

PHP2Shell affects the PHP interpreter, so identifying exposed builds requires checking interpreter binaries, versions, and live workloads--not only Composer manifests or image tags. Anchore Enterprise's PHP cataloger reads compiled version strings and records php-cli, php-fpm, libphp, and detected C extensions; distro-installed PHP is assessed against its distribution's advisories. Because analyzed image SBOMs are already stored, teams can query fleet vulnerability findings once feeds are current without rescanning. Anchore's Kubernetes inventory tracks workloads by image digest, helping identify pods still running vulnerable builds after a tag moves to a fixed image. The post says PHP's only safe mitigation is updating, recommends blocking images matching the CVEs, and notes AWS reports branches 5.4-8.1 receive no upstream fix, with CVE-2026-109618 unfixable on those branches.

## Source excerpt

The post PHP2Shell: Your SBOMs Already Know Which PHP Builds You're Running appeared first on Anchore.When a critical CVE lands in a library, the first hours of a response go into working out which applications pull it in. PHP2Shell skips that step. Both flaws sit in the PHP engine, so the only facts that matter are which interpreter builds you run, how each one serves traffic, and whether its version [...]