# CVE-2025-6491: NULL Pointer Dereference in PHP SOAP Extension via Large XML Namespace Prefix

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-13 · Modified: 2025-11-04
- Aliases: UBUNTU-CVE-2025-6491, DEBIAN-CVE-2025-6491, ALPINE-CVE-2025-6491
- Record: https://cvemate.com/vulnerability/CVE-2025-6491 · JSON: https://cvemate.com/vulnerability/CVE-2025-6491/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.117%, percentile 67.185%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine php81 (Alpine Linux): \< 8.1.33-r0
- alpine php82 (Alpine Linux): \< 8.2.29-r0
- alpine php83 (Alpine Linux): \< 8.3.23-r0
- alpine php84 (Alpine Linux): \< 8.4.10-r0 \| \< 8.4.9-r0
- debian php8.2 (Debian): \< 8.2.29-1~deb12u1
- debian php8.4 (Debian): \< 8.4.10-1
- ubuntu php5 (Ubuntu): All versions (No fix recorded)
- ubuntu php7.0 (Ubuntu): \< 7.0.33-0ubuntu0.16.04.16+esm16
- ubuntu php7.2 (Ubuntu): \< 7.2.24-0ubuntu0.18.04.17+esm9
- ubuntu php7.4 (Ubuntu): \< 7.4.3-4ubuntu2.29+esm1
- ubuntu php8.1 (Ubuntu): \< 8.1.2-1ubuntu2.22
- ubuntu php8.3 (Ubuntu): \< 8.3.6-0ubuntu0.24.04.5
- ubuntu php8.4 (Ubuntu): \< 8.4.11-1ubuntu1
- php group php: ≥ 8.1.\*, \< 8.1.33 \| ≥ 8.2.\*, \< 8.2.29 \| ≥ 8.3.\*, \< 8.3.23 \| ≥ 8.4.\*, \< 8.4.10
- php php: ≥ 8.1.0, \< 8.1.33 \| ≥ 8.2.0, \< 8.2.29 \| ≥ 8.3.0, \< 8.3.23 \| ≥ 8.4.0, \< 8.4.10

## References

- <https://github.com/php/php-src/security/advisories/GHSA-453j-q27h-5p8x>
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00017.html>
- <http://www.openwall.com/lists/oss-security/2025/07/11/4>
- <https://ubuntu.com/security/CVE-2025-6491>
- <https://www.cve.org/CVERecord?id=CVE-2025-6491>
- <https://ubuntu.com/security/notices/USN-7648-1>
- <https://ubuntu.com/security/notices/USN-7648-2>
- <https://security-tracker.debian.org/tracker/CVE-2025-6491>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6491>
- <https://security.alpinelinux.org/vuln/CVE-2025-6491>

---

Data as of 2026-12-05T02:45:32.589Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
