PoC Monitor
← All CVEs
CVE-2025-14178published 27 Dec 2025 19:27 UTCData: JSON · API

PHP Group PHP

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by NVD · CWE-787
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

PHP Group PHP
  • >= 8.1.*, < 8.1.34
  • >= 8.2.*, < 8.2.30
  • >= 8.3.*, < 8.3.29
  • >= 8.4.*, < 8.4.16
  • >= 8.5.*, < 8.5.1

Fixed in 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1

Mitigation

Upgrade PHP to 8.1.34 or 8.2.30 or 8.3.29 or 8.4.16 or 8.5.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
gl1tch0x1/PHP_8.1.x_Exploit 29 Apr 2026 +122 d 1 Informational · detection
Flags · score 35
  • README asks to download a release/binary/archive

Below the suspicion threshold (50); does not change the assessment.

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.