Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 90%

CVE-2026-7259: CWE-476 NULL Pointer Dereference in PHP Group PHP

0
Low
VulnerabilityCVE-2026-7259cvecve-2026-7259cwe-476
Published: Sun May 10 2026 (05/10/2026, 04:13:26 UTC)
Source: CVE Database V5
Vendor/Project: PHP Group
Product: PHP

Description

In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, a mismatch between encoding lists in Oniguruma and mbfl leads to  a NULL pointer dereference, resulting in a segmentation fault and denial of service. The vulnerability is exploitable when user-controlled input can influence the encoding passed to mb_regex_encoding().

CVSS v4.0

Score 2.1low

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
Low
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/AU:Y/U:Amber

Affected software

Affected versions
>=8.2.0 <8.3.0>=8.3.0 <8.4.0>=8.4.0 <8.5.0>=8.5.0 <8.6.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/17/2026, 10:49:56 UTC

Technical Analysis

This vulnerability arises from a mismatch between encoding lists used by Oniguruma and mbfl libraries in certain PHP versions, leading to a NULL pointer dereference. When user input controls the encoding parameter passed to mb_regex_encoding(), it can cause a segmentation fault resulting in denial of service. The affected PHP versions are 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6. The CVSS 4.0 base score is 2.1, indicating low severity. There is no vendor advisory or patch information currently available to confirm remediation status.

Potential Impact

The vulnerability can cause a denial of service via segmentation fault when exploited, impacting availability of PHP applications running affected versions. There is no indication of privilege escalation, data confidentiality loss, or integrity compromise. Exploitation requires user-controlled input to influence encoding passed to mb_regex_encoding(). No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting or validating user input that influences mb_regex_encoding() to prevent triggering the NULL pointer dereference. Monitor official PHP Group communications for updates on patches or workarounds.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
php
Date Reserved
2026-04-28T05:07:03.118Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a000b48cbff5d861022ac74

Added to database: 5/10/2026, 4:36:24 AM

Last enriched: 5/17/2026, 10:49:56 AM

Last updated: 6/18/2026, 5:16:51 AM

Views: 75

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses