CVE-2025-14178: Heap buffer overflow in array_merge()
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.45% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: PHP Group PHP 8.1.34, 8.2.30, 8.3.29; cbl2 php 8.1.33-1 on CBL Mariner 2.0 8.1.34-1.
Low priority for now. Upgrade to PHP Group PHP 8.1.34, 8.2.30, 8.3.29; cbl2 php 8.1.33-1 on CBL Mariner 2.0 8.1.34-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2026-02749
- ALSA-2026:1409
- ALSA-2026:1412
- ALSA-2026:1429
- ALSA-2026:1628
- ALSA-2026:2470
- ALSA-2026:2799
- DLA-4447-1
- DSA-6088-1
- DSA-6154-1
- openSUSE-SU-2025:15837-1
- openSUSE-SU-2026:20113-1
- RHSA-2026:1169
- RHSA-2026:1185
- RHSA-2026:1187
- RHSA-2026:1190
- RHSA-2026:1409
- RHSA-2026:1412
- RHSA-2026:1429
- RHSA-2026:1628
- Published
- Dec 27, 2025
- Updated
- Oct 13, 2026
- EPSS
- 0.4% · 39th percentile
- CWE
- CWE-190
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 32 / 40 · 8.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.4%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 8.2
- CNA · php
- 6.5
- 1.7 point gap
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Using php? Add it to your stack and be the first to know about CVEs like this one. (PHP)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- php php8.1.0 and later · before 8.1.34
- php php8.2.0 and later · before 8.2.30
- php php8.3.0 and later · before 8.3.29
- php php8.4.0 and later · before 8.4.16
- php php8.5.0 and later · before 8.5.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (php). Independent of NVD's CPE analysis and usually ahead of it.
PHP Group PHP
- 8.1.* and later · before 8.1.34affected · semver
- 8.2.* and later · before 8.2.30affected · semver
- 8.3.* and later · before 8.3.29affected · semver
- 8.4.* and later · before 8.4.16affected · semver
- 8.5.* and later · before 8.5.1affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | php | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-bcmath | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-cli | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-common | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-dba | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-dbg | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-devel | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-embedded | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-enchant | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-ffi | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-fpm | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-gd | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-gmp | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-intl | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-ldap | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-mbstring | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-mysqlnd | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-odbc | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-opcache | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-pdo | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-pgsql | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-process | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-snmp | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
| AlmaLinux:10 | php-soap | before 8.3.29-1.el10_1 | 8.3.29-1.el10_1 |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Now
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Now
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle queKEV99Now
Published before and after this one in the same product
- ← EarlierCVE-2025-1735Jul 13, 2025 · pgsql extension does not check for errors during escaping30Monitor
- ← EarlierCVE-2025-14177Dec 27, 2025 · Information Leak of Memory in getimagesize25Monitor
- Later →CVE-2025-14180Dec 27, 2025 · NULL Pointer Dereference in PDO quoting32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| PHP Group PHP | 8.1.34 | Vendor (CNA) |
| PHP Group PHP | 8.2.30 | Vendor (CNA) |
| PHP Group PHP | 8.3.29 | Vendor (CNA) |
| PHP Group PHP | 8.4.16 | Vendor (CNA) |
| PHP Group PHP | 8.5.1 | Vendor (CNA) |
| cbl2 php 8.1.33-1 on CBL Mariner 2.0 | 8.1.34-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:apcu-panel | 5.1.23-1.module_el9.4.0+65+49ff6472 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-bcmath | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-cli | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-common | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-dba | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-dbg | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-devel | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-embedded | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-enchant | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-ffi | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:php-fpm | 8.2.30-1.module_el9.7.0+205+fe410f10 · AlmaLinux:9 | Package registry (OSV) |
| alpine:php81 | 8.1.34-r0 · Alpine:v3.19 | Package registry (OSV) |
| alpine:php82 | 8.2.30-r0 · Alpine:v3.22 | Package registry (OSV) |
| alpine:php83 | 8.3.29-r0 · Alpine:v3.22 | Package registry (OSV) |
| alpine:php84 | 8.4.16-r0 · Alpine:v3.22 | Package registry (OSV) |
| alpine:php85 | 8.5.1-r0 · Alpine:v3.23 | Package registry (OSV) |
| debian:php7.4 | 7.4.33-1+deb11u10 · Debian:11 | Package registry (OSV) |
| debian:php8.2 | 8.2.30-1~deb12u1 · Debian:12 | Package registry (OSV) |
| debian:php8.4 | 8.4.16-1~deb13u1 · Debian:13 | Package registry (OSV) |
| opensuse:apache2-mod_php7 | 7.4.33-150400.4.55.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:apache2-mod_php8 | 8.2.30-150600.3.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php7 | 7.4.33-150400.4.55.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| opensuse:php7-embed | 7.4.33-150400.4.55.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
+41
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Niels Dosschereporter
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-14181272 days apartInteger overflow to buffer overflow in soap HTTP parsing26Monitor
- CVE-2026-6103272 days apartPhar TAR phar_tar_number() Integer Overflow - Archive Entry Injection13Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- low · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- Low
- Availability impact
- High
Weakness class (CWE)
CWE-190 · Integer Overflow or WraparoundCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (1 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.