CVE-2026-129501 Affecting php-8.6 package, versions <8.6.0-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.65% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-PHP86-22634703
  • published20 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-129501  (opens in a new tab)

How to fix?

Upgrade Wolfi php-8.6 to version 8.6.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-8.6 package and not the php-8.6 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1