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

- Severity: Medium 5.9 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.12%, higher than 67% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-13T22:10:15.996Z
- Modified: 2026-09-08T08:48:24.764Z
- Also known as: BIT-LIBPHP-2025-6491, BIT-PHP-2025-6491, BIT-PHP-MIN-2025-6491, GHSA-453j-q27h-5p8x
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: php

## 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.

(As written by CVE List.)

## Affected

- soap: from 8.1.* before 8.1.33; from 8.2.* before 8.2.29; from 8.3.* before 8.3.23; from 8.4.* before 8.4.10
- php php: from 8.1.0 before 8.1.33; from 8.2.0 before 8.2.29; from 8.3.0 before 8.3.23; from 8.4.0 before 8.4.10
- libphp (Bitnami): before 8.1.33; from 8.2.0 before 8.2.29; from 8.3.0 before 8.3.23; from 8.4.0 before 8.4.10
- php (Bitnami): before 8.1.33; from 8.2.0 before 8.2.29; from 8.3.0 before 8.3.23; from 8.4.0 before 8.4.10
- php-min (Bitnami): before 8.1.33; from 8.2.0 before 8.2.29; from 8.3.0 before 8.3.23; from 8.4.0 before 8.4.10

## Every score

- php: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/php/php-src/security/advisories/GHSA-453j-q27h-5p8x> (exploit, advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/07/msg00017.html> (web)
- <http://www.openwall.com/lists/oss-security/2025/07/11/4> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6491> (web)

## Sources

- CVE List: [CVE-2025-6491](https://www.cve.org/CVERecord?id=CVE-2025-6491), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2025-6491](https://nvd.nist.gov/vuln/detail/CVE-2025-6491), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2025-6491](https://osv.dev/vulnerability/BIT-LIBPHP-2025-6491), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2025-6491](https://osv.dev/vulnerability/BIT-PHP-2025-6491), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2025-6491](https://osv.dev/vulnerability/BIT-PHP-MIN-2025-6491), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-6491 · Whole record: https://cve.day/CVE-2025-6491.json · Rebuilt by cve.day 2026-11-25T22:59:01.203Z
