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.

Project Subscriptions

Vendors Products
Php Group Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4447-1 php7.4 security update
Debian DSA Debian DSA DSA-6088-1 php8.4 security update
Ubuntu USN Ubuntu USN USN-7953-1 PHP vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 24 Jan 2026 11:30:00 +0000

Type Values Removed Values Added
References

Fri, 09 Jan 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Php
Php php
CPEs cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
Vendors & Products Php
Php php

Tue, 30 Dec 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 29 Dec 2025 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Php Group
Php Group php
Vendors & Products Php Group
Php Group php

Mon, 29 Dec 2025 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 27 Dec 2025 19:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Heap buffer overflow in array_merge()
Weaknesses CWE-190
CWE-787
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2026-01-24T11:04:01.892Z

Reserved: 2025-12-06T06:25:31.535Z

Link: CVE-2025-14178

cve-icon Vulnrichment

Updated: 2026-01-24T11:04:01.892Z

cve-icon NVD

Status : Modified

Published: 2025-12-27T20:15:40.570

Modified: 2026-01-24T11:15:49.520

Link: CVE-2025-14178

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-12-27T19:27:41Z

Links: CVE-2025-14178 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-12-29T22:33:27Z

Weaknesses