Skip to content
RedCVE

CVE-2026-129538Php Group PHP out-of-bounds read

PHP GroupPublished:

CVSS score

6.9

Medium

CVSS 4.0 from php.net

Exploit probability (EPSS)

12.8%

12.8% chance of exploitation in the next 30 days, higher than 96.4% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

PHP-CGI out-of-bounds read and write during PATH_INFO correction. The PHP CGI binary (php-cgi), in CGI and FastCGI mode with cgi.fix_pathinfo enabled (the default), can perform an out-of-bounds read and write when the path removed from SCRIPT_FILENAME or PATH_TRANSLATED is longer than the supplied PATH_INFO, or when PATH_INFO is empty. This requires a web server mapping that passes such inconsistent values, or a FastCGI listener reachable by untrusted clients. An unauthenticated remote attacker can crash the process, may obtain process memory if the application exposes PATH_INFO or PATH_TRANSLATED, and may corrupt memory. PHP-FPM and the Apache module are not affected. This issue affects PHP versions before 8.2.36, 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Source: NVD · CNA: security@php.net

How to fix it, step by step

  1. Check whether you're affected

    Find every system running PHP Group PHP and compare its version with the affected versions.

  2. Update to a fixed version

    • Update PHP to 8.2.36, 8.3.37, 8.4.28, 8.5.13 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected products

Affected productsVersions
PHP Group PHP< 8.2.36 · ≥ 8.3.0, < 8.3.37 · ≥ 8.4.0, < 8.4.28 · ≥ 8.5.0, < 8.5.13

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-129538 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 12.8% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-129538?

CVE-2026-129538 has a CVSS 4.0 base score of 6.9 (medium).

Which versions are affected?

Php Group PHP (< 8.2.36; ≥ 8.3.0, < 8.3.37; ≥ 8.4.0, < 8.4.28; ≥ 8.5.0, < 8.5.13)

Is there a patch for CVE-2026-129538?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.