Vendors › PHP

CVE-2025-6491

Medium (5.9) EPSS 0.9% PHP · core

NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix

If a SoapVar instance is created with a fully qualified name larger than 2G, this will cause a NULL pointer dereference resulting in a segmentation fault, leading to a denial of service. **Product**: PHP <= 8.5.0-dev with libxml2 < 2.13 **Discovered by**: Ahmed Lekssays (Qatar Computing Research Institute).

Published2025-07-03
Updated2025-07-03
AffectedPHP versions < 8.1.33; PHP versions < 8.2.29; PHP versions < 8.3.23; PHP versions < 8.4.10
FixUpgrade to 8.1.33, 8.2.29, 8.3.23, 8.4.10 (first fixed release per supported branch).
Vendor advisoryhttps://github.com/php/php-src/security/advisories/GHSA-453j-q27h-5p8x

CVEs (1)

CVECWETypeImpactLinks
CVE-2025-6491CWE-476Memory CorruptionDenial of ServiceNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.