{"id":"CVE-2025-14178","details":"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.","aliases":["BIT-libphp-2025-14178","BIT-php-2025-14178","BIT-php-min-2025-14178","GHSA-h96m-rvf9-jgm2"],"modified":"2026-04-16T04:31:43.804869853Z","published":"2025-12-27T20:15:40.570Z","related":["ALSA-2026:1409","ALSA-2026:1412","ALSA-2026:1429","ALSA-2026:1628","ALSA-2026:2470","ALSA-2026:2799","SUSE-SU-2026:0071-1","SUSE-SU-2026:0086-1","SUSE-SU-2026:0245-1","SUSE-SU-2026:0370-1","SUSE-SU-2026:20146-1","openSUSE-SU-2025:15837-1","openSUSE-SU-2026:20113-1"],"references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00019.html"},{"type":"ADVISORY","url":"https://github.com/php/php-src/security/advisories/GHSA-h96m-rvf9-jgm2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115"},{"fixed":"94abff74457effe4432f0bd49f5230aa11155dff"},{"introduced":"70ee6c20ad97e02c2b8098aeea96fefbbc3ac5c2"},{"fixed":"b233e9d0631bd14e775db4e7b93f6bb82fccf1a0"},{"introduced":"d26068059e83fe40de3430a512471d194119bee0"},{"fixed":"2fe579bc267e70c53b45b859d8f312a55edd38a6"},{"introduced":"b437f2b32eb364c9496d24abcc734272e5c9c980"},{"fixed":"2890cbbc4940f382f2f781d08f12c127b1a06a26"},{"introduced":"685e99655ae97c667950f7f7d176985958718f56"},{"fixed":"3f6a5c8a76764dcea9872fee5beed8fa7d1d5bcd"}],"database_specific":{"versions":[{"introduced":"8.1.0"},{"fixed":"8.1.34"},{"introduced":"8.2.0"},{"fixed":"8.2.30"},{"introduced":"8.3.0"},{"fixed":"8.3.29"},{"introduced":"8.4.0"},{"fixed":"8.4.16"},{"introduced":"8.5.0"},{"fixed":"8.5.1"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-14178.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"}]}