CVE-2025-14178
Heap buffer overflow in array_merge()
In PHP versions:8.1.* before 8.1.34, 8.2.* before 8.2.30, 8.3.* before 8.3.29, 8.4.* before 8.4.16, 8.5.* before 8.5.1, a heap buffer overflow occurs in array_merge() when the total element count of packed arrays exceeds 32-bit limits or HT_MAX_SIZE, due to an integer overflow in the precomputation of element counts using zend_hash_num_elements(). This may lead to memory corruption or crashes and affect the integrity and availability of the target server.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.455% · 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:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.2 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Assessment source · checked 2026-11-19T10:05:26.094Z
CVSS 3.1 · 6.5 · published by phpCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Assessment source · checked 2026-11-19T10:45:54.586Z
CVSS 3.1 · 6.5 · published by [email protected]CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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:H/PR:N/UI:N/S:U/C:N/I:L/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:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T10:05:26.094Z | NVD |
| epss | verified | 2026-11-19T16:04:40.125Z | FIRST EPSS |
| patches | verified | 2026-11-19T14:19:09.487Z | Ubuntu Security |
| affected | verified | 2026-11-19T10:45:54.586Z | CVE Program |
| lifecycle | verified | 2026-11-19T10:45:54.586Z | CVE Program |
Affected versions and configuration
PHP Group PHP; default status: affected: 8.1.* to < 8.1.34 [affected; scheme: semver]; 8.2.* to < 8.2.30 [affected; scheme: semver]; 8.3.* to < 8.3.29 [affected; scheme: semver]; 8.4.* to < 8.4.16 [affected; scheme: semver]; 8.5.* to < 8.5.1 [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": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.5-1ubuntu1.2",
"release_codename": "plucky"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.4.11-1ubuntu1.1",
"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": "plucky"
},
{
"pocket": "security",
"status": "DNE",
"component": null,
"description": "",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "needs-triage",
"component": null,
"description": "",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "8.3.6-0ubuntu0.24.04.6",
"release_codename": "noble"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "PHP Group",
"product": "PHP",
"versions": [
{
"status": "affected",
"version": "8.1.*",
"lessThan": "8.1.34",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.2.*",
"lessThan": "8.2.30",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.3.*",
"lessThan": "8.3.29",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.4.*",
"lessThan": "8.4.16",
"versionType": "semver"
},
{
"status": "affected",
"version": "8.5.*",
"lessThan": "8.5.1",
"versionType": "semver"
}
],
"packageName": "php",
"defaultStatus": "affected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-14178",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-12-29T16:00:50.197017Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-12-29T16:01:02.639Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://lists.debian.org/debian-lts-announce/2026/01/msg00019.html"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2026-01-24T11:04:01.892Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "56FCF002-3946-40DF-A774-75C6DDE6CA26",
"versionEndExcluding": "8.1.34",
"versionStartIncluding": "8.1.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AB314013-4F2F-40F0-968B-35FEC22CC8A4",
"versionEndExcluding": "8.2.30",
"versionStartIncluding": "8.2.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DAD5402D-688D-44AA-B083-5157FDC53D7A",
"versionEndExcluding": "8.3.29",
"versionStartIncluding": "8.3.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8813328B-AC06-4060-916F-CD27144F41E2",
"versionEndExcluding": "8.4.16",
"versionStartIncluding": "8.4.0"
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E56CD990-B79E-4253-B810-13787B23B028",
"versionEndExcluding": "8.5.1",
"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 |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / plucky | php8.4 | security | 8.4.5-1ubuntu1.2 | Official record |
| distribution-package | Ubuntu / questing | php8.4 | security | 8.4.11-1ubuntu1.1 | Official record |
| distribution-package | Ubuntu / noble | php8.3 | security | 8.3.6-0ubuntu0.24.04.6 | 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:45:54.586ZArchived source JSON
Source publication: 2025-12-27T19:27:41.691Z
Source modification: 2026-01-24T11:04:01.892ZDocument fingerprint
64b0327ff911a9e4c30474a7912d365ffd795fd856598906a0d2f4487d42e474 - NVDConsulted: 2026-11-19T10:05:26.094ZArchived source JSON
Source publication: 2025-12-27T20:15:40.570Z
Source modification: 2026-10-13T09:10:00.323ZDocument fingerprint
1c8297d969248fbf89b5ff19942100dcf8b2aaa408f73b42aea4643bfa5ba1b0 - Ubuntu SecurityConsulted: 2026-11-19T14:19:00.134ZArchived source JSON
Source publication: 2025-12-27T20:15:00.000Z
Source modification: 2026-01-12T10:21:40.649ZDocument fingerprint
20fddfeece0f74c8829da78cd57103d95bb1a0e20b339dd1fef11a36202bd2f8 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived 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: 2025-12-27T20:15:00.000Z
Source modification: 2026-01-12T10:21:40.649ZDocument fingerprint
0e7f48abf40bd2e76a89d5742caff50ab5ef27fdf1365221ab7fee37916899e3 - FIRST EPSSConsulted: 2026-11-19T16:04:40.125ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
7110337ea01b81d7d0eef5fde179582e77e740d9cbc9bc26ad284dce47f01898
Official status history
- UNKNOWN → PUBLISHED · · evidence