CVE-2025-14178: 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…

CVE-2025-14178 · Severity: medium · CVSS 6.5 · Published 2025-12-27

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.

Technologies: Php. Vendors: PHP.

Quick answers

Is CVE-2025-14178 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-14178 being exploited in the wild.
How severe is CVE-2025-14178?
Medium severity, with a CVSS score of 6.5, published 27 December 2025.
Which products and versions are affected?
Php. The advisory does not name versions.
Is there a fix for CVE-2025-14178?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2025-14178?
Check whether you run Php. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • Php

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.