CVE-2026-7259
Null pointer dereference in php_mb_check_encoding() via mb_ereg_search_init()
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().
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.186% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 2.1 · published by phpCVSS: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
Assessment source · checked 2026-11-19T10:46:20.607Z
CVSS 4.0 · 2.1 · published by [email protected]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/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
Assessment source · checked 2026-11-19T10:05:26.094Z
CVSS 4.0 · 2.1 · published by Ubuntu SecurityCVSS: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
Assessment source · checked 2026-11-19T14:19:00.134Z
CVSS 3.1 · 6.5 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T10:05:26.094Z
CVSS 3.1 · 6.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T14:19:00.134Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T10:46:20.607Z | CVE Program |
| epss | verified | 2026-11-19T16:04:54.940Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:09.487Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:46:20.607Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:46:20.607Z | CVE Program |
Affected versions and configuration
PHP Group PHP; default status: affected: 8.2.* to < 8.2.31 [affected; scheme: semver]; 8.3.* to < 8.3.31 [affected; scheme: semver]; 8.4.* to < 8.4.21 [affected; scheme: semver]; 8.5.* to < 8.5.6 [affected; scheme: semver]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "php8.4",
"debian": "https://tracker.debian.org/pkg/php8.4",
"source": "https://ubuntu.com/security/cve?package=php8.4",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=php8.4",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.21",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.11-1ubuntu1.2",
"release_codename": "questing"
}
]
}
]Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "php8.3",
"debian": "https://tracker.debian.org/pkg/php8.3",
"source": "https://ubuntu.com/security/cve?package=php8.3",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=php8.3",
"statuses": [
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "resolute"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.3.31",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.3.6-0ubuntu0.24.04.9",
"release_codename": "noble"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "PHP Group",
"product": "PHP",
"versions": [
{
"status": "affected",
"version": "8.2.*",
"lessThan": "8.2.31",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.3.*",
"lessThan": "8.3.31",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.4.*",
"lessThan": "8.4.21",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.5.*",
"lessThan": "8.5.6",
"versionType": "semver"
}
],
"packageName": "mbstring",
"defaultStatus": "affected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-7259",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-11T13:12:58.875843Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-11T13:13:50.416Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A892B6FF-F4EB-40C6-8DD0-D2246A71D271",
"versionEndExcluding": "8.2.31",
"versionStartIncluding": "8.2.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9DBBB51D-F0C4-4CEC-9B6B-33D0BF0044A5",
"versionEndExcluding": "8.3.31",
"versionStartIncluding": "8.3.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BA663C03-392C-41CC-BD11-4A1245203C42",
"versionEndExcluding": "8.4.21",
"versionStartIncluding": "8.4.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6101DA12-5AA1-4882-A52A-61FB74254F9A",
"versionEndExcluding": "8.5.6",
"versionStartIncluding": "8.5.0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | php8.4 | Not a distribution channel | 8.4.21 | Official record |
| distribution-package | Ubuntu / questing | php8.4 | security | 8.4.11-1ubuntu1.2 | Official record |
| upstream-release | upstream / upstream | php8.3 | Not a distribution channel | 8.3.31 | Official record |
| distribution-package | Ubuntu / noble | php8.3 | security | 8.3.6-0ubuntu0.24.04.9 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T10:46:20.607ZArchived source JSON
Source publication: 2026-05-10T04:13:26.766Z
Source modification: 2026-05-11T13:13:50.416ZDocument fingerprint
f6f2a87005cdc119cc6e0de4b7db9a12d6d5898ebba8b708ebe3865e29b7a42b - NVDConsulted: 2026-11-19T10:05:26.094ZArchived source JSON
Source publication: 2026-05-10T05:16:11.507Z
Source modification: 2026-07-24T08:10:00.150ZDocument fingerprint
1c8297d969248fbf89b5ff19942100dcf8b2aaa408f73b42aea4643bfa5ba1b0 - Ubuntu SecurityConsulted: 2026-11-19T14:19:00.134ZArchived source JSON
Source publication: 2026-05-10T05:16:00.000Z
Source modification: 2026-06-05T23:05:59.451ZDocument fingerprint
20fddfeece0f74c8829da78cd57103d95bb1a0e20b339dd1fef11a36202bd2f8 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - Ubuntu SecurityConsulted: 2026-11-19T14:19:09.487ZArchived source JSON
Source publication: 2026-05-10T05:16:00.000Z
Source modification: 2026-06-05T23:05:59.451ZDocument fingerprint
0e7f48abf40bd2e76a89d5742caff50ab5ef27fdf1365221ab7fee37916899e3 - FIRST EPSSConsulted: 2026-11-19T16:04:54.940ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
96853e60cbd03e738f78e465fb9b227c9cda51415230f40ab47644f75dd29296
Official status history
- UNKNOWN → PUBLISHED · · evidence