CVE-2026-129501

Source
https://cve.org/CVERecord?id=CVE-2026-129501
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-129501.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-129501
Aliases
  • GHSA-x8r7-mg3g-74hg
Downstream
ALPINE (1)
ALSA (2)
CGA (592)
DEBIAN (1)
openSUSE (1)
RHSA (4)
RLSA (2)
UBUNTU (1)
Related
Published
2026-11-19T14:44:39Z
Modified
2026-11-25T01:00:50Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
Double free during DOM XML serialization
Details

Double free during DOM XML serialization.

The XML serializer of Dom\XMLDocument and Dom\HTMLDocument can share ownership of a generated namespace prefix between the namespace-prefix maps of an element and a descendant, so the prefix is used after being freed and then freed a second time. The document does not need to be malformed. An application that parses attacker-controlled XML or HTML with these classes and serializes it with saveXml() can be crashed, and repeated requests can cause denial of service. Code execution has not been demonstrated.

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

Database specific
{
    "cna_assigner":  "php",
    "cwe_ids":  [
        "CWE-415",
        "CWE-416"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/129xxx/CVE-2026-129501.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.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-129501.json"