NULL Pointer Dereference Affecting php-devel package, versions <0:8.2.30-1.module+el9.7.0+23849+7b831f17


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.25% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS9-PHPDEVEL-10668918
  • published9 Jul 2025
  • disclosed5 Jul 2025

Introduced: 5 Jul 2025

CVE-2025-6491  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Centos:9 php-devel to version 0:8.2.30-1.module+el9.7.0+23849+7b831f17 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-devel package and not the php-devel package as distributed by Centos. See How to fix? for Centos:9 relevant fixed versions and status.

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 Base Scores

version 3.1