CVE-2026-7259: CWE-476 NULL Pointer Dereference in PHP Group PHP
A NULL pointer dereference vulnerability exists in PHP versions prior to 8. 2. 31, 8. 3. 31, 8. 4. 21, and 8. 5. 6 due to a mismatch between encoding lists in Oniguruma and mbfl. This can cause a segmentation fault and denial of service when user-controlled input influences the encoding passed to mb_regex_encoding().
AI Analysis
Technical Summary
CVE-2026-7259 is a NULL pointer dereference vulnerability (CWE-476) affecting PHP versions 8.2.*, 8.3.*, 8.4.*, and 8.5.* before specific patch versions (8.2.31, 8.3.31, 8.4.21, 8.5.6). The issue arises from a mismatch between encoding lists in the Oniguruma regex library and the mbfl multibyte function library, which leads to a NULL pointer dereference when user input controls the encoding passed to mb_regex_encoding(). This results in a segmentation fault causing denial of service. The vulnerability requires user interaction and has a low attack complexity and impact, reflected in a CVSS 4.0 base score of 2.1. No known exploits are reported in the wild, and no official patch or vendor advisory confirming remediation is currently available.
Potential Impact
Successful exploitation causes a segmentation fault leading to denial of service in affected PHP versions. There is no indication of code execution or data disclosure. The impact is limited to service availability disruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid passing user-controlled input to mb_regex_encoding() or implement input validation to restrict encoding values. Monitor PHP Group advisories for updates.
CVE-2026-7259: CWE-476 NULL Pointer Dereference in PHP Group PHP
Description
A NULL pointer dereference vulnerability exists in PHP versions prior to 8. 2. 31, 8. 3. 31, 8. 4. 21, and 8. 5. 6 due to a mismatch between encoding lists in Oniguruma and mbfl. This can cause a segmentation fault and denial of service when user-controlled input influences the encoding passed to mb_regex_encoding().
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-7259 is a NULL pointer dereference vulnerability (CWE-476) affecting PHP versions 8.2.*, 8.3.*, 8.4.*, and 8.5.* before specific patch versions (8.2.31, 8.3.31, 8.4.21, 8.5.6). The issue arises from a mismatch between encoding lists in the Oniguruma regex library and the mbfl multibyte function library, which leads to a NULL pointer dereference when user input controls the encoding passed to mb_regex_encoding(). This results in a segmentation fault causing denial of service. The vulnerability requires user interaction and has a low attack complexity and impact, reflected in a CVSS 4.0 base score of 2.1. No known exploits are reported in the wild, and no official patch or vendor advisory confirming remediation is currently available.
Potential Impact
Successful exploitation causes a segmentation fault leading to denial of service in affected PHP versions. There is no indication of code execution or data disclosure. The impact is limited to service availability disruption.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid passing user-controlled input to mb_regex_encoding() or implement input validation to restrict encoding values. Monitor PHP Group advisories for updates.
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/10/2026, 4:52:11 AM
Last updated: 5/10/2026, 8:08:54 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.