Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2026-7259

Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()

Low2.1EPSS 0.19%
Published
Updated
Reserved
Assigned by
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().

Scores

CVSS scores of CVE-2026-7259, by who scored it
Scored byCVSSScoreVector
phpCNA (assigner)4.0Low2.1CVSS: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
NVDNVD · Analyzed4.0Low2.1CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:X/U:Amber
EPSS (exploitation in 30 days)
0.19% · top 92% of all CVEs (5 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.1.

Weakness

Affected products

  • PHP Group · PHP

    • affected 8.2.* – < 8.2.31
    • affected 8.3.* – < 8.3.31
    • affected 8.4.* – < 8.4.21
    • affected 8.5.* – < 8.5.6

References (1)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2026-7259 badge
[![CVE-2026-7259](https://trackcve.app/badge/CVE-2026-7259.svg)](https://trackcve.app/cve/CVE-2026-7259)

Record last updated .