Skip to main content
VulnerabilityPublished

CVE-2026-129501: Libphp · Double free during DOM XML serialization

Affects libphpSource GCVE Database

0
Compare
Authoritative record:CVE-2026-129501· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 8.5.13 or 8.4.28 when convenient.

Data as of 27 Nov 2026, 08:30 UTC

CVSS 4.0 base score
6.3Medium
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.3
Patch
Available – fixed in 8.5.13, 8.4.28
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

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 26 Nov 2026.

What to do

Upgrade libphp to 8.5.13 or 8.4.28.

Affected software

ProductAffectedFixed in
Bitnamilibphppkg:bitnami/libphpOther threatsAffected
  • >=8.4.0 <8.4.28
  • >=8.5.0 <8.5.13
Fixed in
  • 8.4.28
  • 8.5.13

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

AI-suggested

Apply the official patches by upgrading to PHP versions 8.4.28 or later, or 8.5.13 or later, where this vulnerability is fixed. Since patchAvailable is true and fixed versions are known, updating to these versions fully mitigates the issue.

Description

A double free vulnerability exists in the XML serializer of PHP's Dom\XMLDocument and Dom\HTMLDocument classes. This flaw occurs when a generated namespace prefix is shared between an element and its descendant, leading to use-after-free and double free during serialization with saveXml(). The vulnerability affects PHP versions 8.4.0 through 8.4.27 and 8.5.0 through 8.5.12. Exploitation can cause application crashes and denial of service, but code execution has not been demonstrated.

References

Community reviews

Loading reviews…