CVE-2026-129481

Source
https://cve.org/CVERecord?id=CVE-2026-129481
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-129481.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-129481
Aliases
  • GHSA-g3vh-838c-65v7
Downstream
ALPINE (1)
ALSA (4)
AZL (1)
BELL (1)
CGA (796)
DEBIAN (1)
ECHO (1)
openSUSE (1)
RHSA (8)
RLSA (4)
SUSE (1)
UBUNTU (1)
Related
Published
2026-11-19T14:43:45Z
Modified
2026-11-25T01:00:50Z
Severity
  • 9.2 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Use-after-free after interrupted session shutdown
Details

Use-after-free after interrupted session shutdown.

The session extension records the filename of the executing script when a session starts. If a fatal error occurs in an application callback while the session variables are destroyed at shutdown, such as stream_close() of a user-defined stream wrapper, the pointer is retained after the request memory is freed, and a later request handled by the same worker can free the stale string. An attacker who can trigger such a failing cleanup may crash the worker or corrupt memory; code execution has not been demonstrated. This requires the filename to be allocated in request memory, for example when the script is not cached by OPcache.

This issue affects PHP versions 8.3.* before 8.3.37, 8.4.* before 8.4.28 and 8.5.* before 8.5.13.

Database specific
{
    "cna_assigner":  "php",
    "cwe_ids":  [
        "CWE-416",
        "CWE-459"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129481.json"
}
References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "8.3.0"
                },
                {
                    "fixed":  "8.3.37"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "8.4.0"
                },
                {
                    "fixed":  "8.4.28"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "8.5.0"
                },
                {
                    "fixed":  "8.5.13"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-129481.json"