CVE-2025-6491
NVDCVSS scored by security@php.net
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 5.9 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- Php >= 8.1.0 and < 8.1.33
- Php >= 8.2.0 and < 8.2.29
- Php >= 8.3.0 and < 8.3.23
- Php >= 8.4.0 and < 8.4.10
- Php 8.1.33
- Php 8.2.29
- Php 8.3.23
- Php 8.4.10
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Php and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jul 13, 2025Published
- Jul 22, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Php CVEsYou are reading CVE-2025-6491. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 29, 2026 21:13 UTC