Skip to main content
VulnerabilityPublished

CVE-2026-129538: Php5 · The PHP CGI binary (php-cgi) can access memory outside the supplied path information when a

Affects php5Source GCVE Database

0
Compare
Authoritative record:CVE-2026-129538· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium.

Data as of 19 Nov 2026, 23:50 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (php)CVSS 4.06.9
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10php8.5pkg:deb/ubuntu/php8.5?arch=source&distro=stonkingOther threatsAffected
  • 8.5.4-0ubuntu1 – 8.5.9-0ubuntu2.1
5 affected builds
Fixed in–
Ubuntu 26.04 LTSphp8.5pkg:deb/ubuntu/php8.5?arch=source&distro=resoluteOther threatsAffected
  • 8.5.2-0ubuntu1 – 8.5.4-0ubuntu1.5
7 affected builds
Fixed in–
Ubuntu 24.04 LTSphp8.3pkg:deb/ubuntu/php8.3?arch=source&distro=nobleOther threatsAffected
  • 8.3.0-1 – 8.3.6-0ubuntu0.24.04.13
18 affected builds
Fixed in–
Ubuntu 22.04 LTSphp8.1pkg:deb/ubuntu/php8.1?arch=source&distro=jammyOther threatsAffected
  • 8.1.0-1 – 8.1.2-1ubuntu2.28
29 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSphp7.4pkg:deb/ubuntu/php7.4?arch=source&distro=esm-infra/focalOther threatsAffected
  • 7.4.3-4build1 – 7.4.3-4ubuntu2.29+esm5
32 affected builds
Fixed in–
Ubuntu Pro 18.04 LTSphp7.2pkg:deb/ubuntu/php7.2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • 7.2.1-1ubuntu2 – 7.2.24-0ubuntu0.18.04.17+esm14
42 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

As a mitigation, administrators may consider disabling or setting cgi.fix_pathinfo=0 if feasible, or avoiding use of php-cgi in CGI or FastCGI mode. Using PHP-FPM or running PHP as an Apache module avoids this vulnerability.

Description

CVE-2026-129538 is a vulnerability in the PHP CGI binary (php-cgi) affecting versions of php5 packaged for Ubuntu. When the web server passes inconsistent script and path values and cgi.fix_pathinfo is set to 1 (the default), an unauthenticated attacker may cause the PHP process to crash, expose process memory, or corrupt memory. This issue affects php-cgi running in CGI and FastCGI modes but does not affect PHP-FPM or PHP as an Apache module.

References

Community reviews

Loading reviews…