CVE-2025-6491

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

Published Jul 13, 2025 CVSS 3.1 · 5.9 Medium EPSS 1.1% KEV · Not listed
Description
In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb) XML namespace prefix may lead to null pointer dereference. This may lead to crashes and affect the availability of the target server.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4254-1 php7.4 security update
Debian DSA Debian DSA DSA-5967-1 php8.2 security update
EUVD EUVD EUVD-2025-21276 In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb) XML namespace prefix may lead to null pointer dereference. This may lead to crashes and affect the availability of the target server.
Ubuntu USN Ubuntu USN USN-7648-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-7648-2 PHP vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.0006}

epss

{'score': 0.00081}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics epss

{'score': 0.0006}

Type Values Removed Values Added
Description A vulnerability was found in PHP. 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. In PHP versions:8.1.* before 8.1.33, 8.2.* before 8.2.29, 8.3.* before 8.3.23, 8.4.* before 8.4.10 when parsing XML data in SOAP extensions, overly large (>2Gb) XML namespace prefix may lead to null pointer dereference. This may lead to crashes and affect the availability of the target server.
Title php: NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix
Metrics epss

{}

Type Values Removed Values Added
Description A vulnerability was found in PHP. 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.
Title php: NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Weaknesses

Sources

Status
PUBLISHED
Assigner
php
Published
Updated
Nov 4, 2025, 9:14 PM
Reserved
Jun 22, 2025, 3:05 AM
Status
Modified
Published
Jul 13, 2025, 10:15 PM
Modified
Jun 17, 2026, 10:02 AM
Severity
Moderate
Public date
Jul 5, 2025, 12:00 AM