MEDIUM · CVSS 6.5 Published: 2025-12-27
CVE-2025-14178 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-14178 |
|---|---|
| Base Severity / Score | MEDIUM (6.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H |
| Weakness Classification | CWE-190, CWE-787 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/php/php-src/security/advisories/GHSA-h96m-rvf9-jgm2
- https://lists.debian.org/debian-lts-announce/2026/01/msg00019.html
Related Security Advisories
CVE-2025-14177 HIGH 7.5
CVE-2025-14179 CRITICAL 9.8
CVE-2025-14175 MEDIUM 6.5
CVE-2025-14181 MEDIUM 6.5
CVE-2025-14182 MEDIUM 6.3
CVE-2025-14193 MEDIUM 6.3
CVE-2025-14195 MEDIUM 6.3
CVE-2025-14198 MEDIUM 5.3