Blog

What Is a PHP CVE?

4 min read
A metallic magenta stag beetle pinned like a museum specimen on a dark board under a spotlight, its wings spread, with a paper tag tied to the pin reading "CVE-2026-109618", beside the title "What Is a PHP CVE?"

A CVE (Common Vulnerabilities and Exposures) ID is a public identifier for a known security flaw. A PHP CVE is one assigned to a flaw in the PHP runtime itself: the interpreter, its core extensions, or bundled components such as PHP-FPM.

That’s different from a CVE in an application written in PHP, like a WordPress plugin or a Laravel package. Those affect sites running that app. A PHP CVE affects every application running on the vulnerable PHP version, whatever it’s built with.

PHP is its own CVE Numbering Authority, so the PHP project assigns and publishes CVEs for its own code. That makes PHP’s advisories the most direct source for any PHP vulnerability, including which versions are affected and which ones fix it.

The Latest PHP CVEs (2026)

These are the critical PHP CVEs disclosed in 2026. All of them are rated 9.2 under CVSS 4.0, and all are fixed in PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36 (and 8.6.0) where the branch is affected.

The November 19 release also fixed lower-severity PHP CVEs worth knowing about:

  • CVE-2026-129291 (8.8): local privilege escalation through PHP-FPM’s epoll event handling.
  • CVE-2026-128090 (high): a PHAR signature bypass via an OpenSSL algorithm downgrade.
  • CVE-2026-129538 (6.9): out-of-bounds read and write in PHP-CGI.
  • CVE-2026-15353 (6.3) and CVE-2026-129292 (5.3): information disclosure in SOAP, and cross-site scripting on the PHP-FPM status page.

For how these unfolded over the year, see our PHP vulnerability 2026 timeline.

Where to Find PHP CVE Information

No single source tells you everything about a PHP CVE, so it helps to know what each one is good for.

  • PHP’s GitHub security advisories. The php-src advisories page is the primary source. Each advisory lists the affected versions, the fixed versions, the CVSS score and, often, the preconditions an attacker needs.
  • The PHP changelog. Every release lists the CVEs it fixes, which makes it the quickest way to check whether a specific version includes a fix.
  • PHP’s news archive. PHP posts advance notice of security releases here, often a day before the patch ships.
  • NVD. The National Vulnerability Database adds standardized details and references for each CVE, which is useful for vulnerability scoring and for feeding scanners and tooling.
  • The CISA KEV catalog. If a PHP CVE appears in the CISA Known Exploited Vulnerabilities catalog, attackers are using it. Both PHP2Shell CVEs were added on October 26, 2026.
  • Distro and vendor advisories. If your PHP comes from Ubuntu, Red Hat or Debian packages, or ships inside an appliance, the vendor’s advisory tells you which of its builds includes the fix.

How to Check If a PHP CVE Affects You

  1. Find every PHP version you run. Run php -v on the command line, or check phpinfo() for the version web requests actually use, since the CLI and the web server can run different builds. Do this for every server, container image and appliance, not just one. An up-to-date asset inventory makes this far quicker.
  2. Compare against the fixed versions. Look up the CVE in PHP’s advisory and check whether your version is older than the “fixed in” release for its branch. For example, 8.4.27 is vulnerable to the November CVEs, while 8.4.28 is not.
  3. Check the preconditions. Many 2026 PHP CVEs only apply to specific setups. CVE-2026-129289 needs persistent FastCGI connections, CVE-2026-126714 needs file-based sessions, and several others only affect PHP 8.5. Your exposure to each one depends on how PHP is configured, not just on the version number.
  4. Account for backports. Linux distributions often patch PHP without changing the upstream version number, so php -v can show an “old” version that’s already fixed. In that case, check the distro’s security tracker for the CVE instead.
  5. Confirm after patching. Restart PHP-FPM or Apache once you’ve updated, then check the version again. Until the workers restart, the old, vulnerable code is still running.

Staying Ahead of New PHP CVEs

New PHP CVEs rarely arrive without warning. PHP gave advance notice before both the October and November 2026 releases, and follow-on CVEs tend to appear in the weeks after any major disclosure as researchers dig into the fix.

A few habits keep you ahead:

  • Subscribe to PHP’s security channels. Watch the php-src advisories and PHP’s news archive so an advance notice reaches you the day it’s posted, not the day the patch lands.
  • Track exploitation, not just disclosure. A new PHP CVE matters most once it’s exploited. Checking KEV and threat reports keeps vulnerability prioritization focused on the flaws attackers are actually using.
  • Keep your PHP map current. When you already know which versions run where, a new CVE becomes a five-minute lookup instead of a week-long hunt.

For where things stand with the PHP vulnerability today, the short answer is the same as for every PHP CVE above: update to the latest release for your branch, restart PHP, and verify.