CVE-2025-14177 json
Information Leak of Memory in getimagesize
published 2025-12-18 10 mo ago modified 2026-10-13 26 d ago also BIT-libphp-2025-14177 , BIT-php-2025-14177 , BIT-php-min-2025-14177 , EUVD-2025-205484 , GHSA-3237-qqm7-mfv7
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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, the getimagesize() function may leak uninitialized heap memory into the APPn segments (e.g., APP1) when reading images in multi-chunk mode (such as via php://filter). This occurs due to a bug in php_read_stream_all_chunks() that overwrites the buffer without advancing the pointer, leaving tail bytes uninitialized. This may lead to information disclosure of sensitive heap data and affect the confidentiality of the target server.
Patch / fix
- bitnami libphp 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- bitnami php 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- bitnami php-min 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- PHP Group PHP 8.1.34, 8.2.30, 8.3.29, 8.4.16, 8.5.1
- php8.2 Debian 12 8.2.30-1~deb12u1
- php8.4 Debian 13 8.4.16-1~deb13u1
- php8.4 Debian 14 8.4.16-1
debian advisories DEBIAN-CVE-2025-14177
- php8.3 Ubuntu 24.04 LTS 8.3.6-0ubuntu0.24.04.6
- php8.4 Ubuntu 25.10 8.4.11-1ubuntu1.1
ubuntu advisories UBUNTU-CVE-2025-14177
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php hummingbird 1 8.5.5-1.1.hum1
- php-gd hummingbird 1 8.5.5-1.1.hum1
- php-cli hummingbird 1 8.5.5-1.1.hum1
- php-dba hummingbird 1 8.5.5-1.1.hum1
- php-dbg hummingbird 1 8.5.5-1.1.hum1
- php-ffi hummingbird 1 8.5.5-1.1.hum1
- php-fpm hummingbird 1 8.5.5-1.1.hum1
- php-gmp hummingbird 1 8.5.5-1.1.hum1
red hat advisories RHSA-2026:7614RHSA-2026:2799RHSA-2026:2470RHSA-2026:1628RHSA-2026:1429RHSA-2026:1412
- php8 SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8-fpm SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8-embed SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8-fastcgi SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- apache2-mod_php8 SLES for SAP applications 16.0, SLES 16.0 8.4.16-160000.1.1
- php8 SLE Module for Web and Scripting 15 SP7 8.3.29-150700.3.9.1
- php8-fpm SLE Module for Web and Scripting 15 SP7 8.3.29-150700.3.9.1
- php8-test SLE Module for Web and Scripting 15 SP7 8.3.29-150700.3.9.1
suse advisories SUSE-SU-2026:20146-1SUSE-SU-2026:0086-1SUSE-SU-2026:0071-1
- php8 openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-fpm openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-test openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-embed openSUSE Leap 16.0 8.4.16-160000.1.1
- php8-fastcgi openSUSE Leap 16.0 8.4.16-160000.1.1
- apache2-mod_php8 openSUSE Leap 16.0 8.4.16-160000.1.1
- php8 openSUSE Tumbleweed 8.4.16-1.1
opensuse advisories openSUSE-SU-2026:20113-1openSUSE-SU-2025:15837-1
- php AlmaLinux 9 8.0.30-5.el9_7
- php-gd AlmaLinux 9 8.0.30-5.el9_7
- php-cli AlmaLinux 9 8.0.30-5.el9_7
- php-dba AlmaLinux 9 8.0.30-5.el9_7
- php-dbg AlmaLinux 9 8.0.30-5.el9_7
- php-ffi AlmaLinux 9 8.0.30-5.el9_7
- php-fpm AlmaLinux 9 8.0.30-5.el9_7
- php-gmp AlmaLinux 9 8.0.30-5.el9_7
almalinux advisories ALSA-2026:2799ALSA-2026:2470ALSA-2026:1628ALSA-2026:1409ALSA-2026:1412ALSA-2026:1429
- php Rocky Linux 9 8.0.30-5.el9_7
- libzip Rocky Linux 8 1.6.1-1.module+el8.10.0+1912+72767185
- php-pear Rocky Linux 8 1:1.10.13-1.module+el8.10.0+1912+72767185
- php-pear Rocky Linux 8 1:1.10.13-1.module+el8.10.0+1605+02e07af7
- php-pecl-rrd Rocky Linux 8 2.0.1-1.module+el8.4.0+414+2e7afcdd
- php-pecl-rrd Rocky Linux 8 2.0.1-1.module+el8.10.0+1912+72767185
- php-pecl-zip Rocky Linux 8 1.18.2-1.module+el8.10.0+1912+72767185
- php-pecl-apcu Rocky Linux 8 5.1.18-1.module+el8.10.0+1912+72767185
rocky linux advisories RLSA-2026:2799RLSA-2026:2470RLSA-2026:1628RLSA-2026:1409RLSA-2026:1429RLSA-2026:1412
- php81 Alpine 3.19 8.1.34-r0
- php82 Alpine 3.22 8.2.30-r0
- php83 Alpine 3.24, Alpine 3.23, Alpine 3.22 8.3.29-r0
- php84 Alpine 3.24, Alpine 3.23, Alpine 3.22 8.4.16-r0
- php85 Alpine 3.24, Alpine 3.23 8.5.1-r0
alpine advisories ALPINE-CVE-2025-14177
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- php Azure Linux 3.0 8.3.29-1
- php CBL-Mariner 2.0 8.1.34-1
azure linux advisories AZL-73195AZL-73240
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-14177 updated cvss 3.7
php: PHP: Information disclosure via getimagesize() function when reading multi-chunk images
-
Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 10 php8.4 Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces-tech-preview/idea-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 8) php 7.4.33-3.module+el8.10.0+23902+d3c8dd8f, php 8.2.30-1.module+el8.10.0+23848+33d54484, libzip 1.6.1-1.module+el8.10.0+22485+a3539972, libzip 1.7.3-1.module+el8.10.0+20770+a5eca186, php-gd 7.4.33-3.module+el8.10.0+23902+d3c8dd8f, php-gd 8.2.30-1.module+el8.10.0+23848+33d54484, +60 morefixed: vendor fix RHSA-2026:2470
-
Red Hat Enterprise Linux AppStream (v. 9) php 8.0.30-5.el9_7, php-gd 8.0.30-5.el9_7, php-cli 8.0.30-5.el9_7, php-dba 8.0.30-5.el9_7, php-dbg 8.0.30-5.el9_7, php-ffi 8.0.30-5.el9_7, +77 morefixed: vendor fix RHSA-2026:1409
-
Red Hat Enterprise Linux AppStream (v. 10) php 8.3.29-1.el10_1, php-gd 8.3.29-1.el10_1, php-cli 8.3.29-1.el10_1, php-dba 8.3.29-1.el10_1, php-dbg 8.3.29-1.el10_1, php-ffi 8.3.29-1.el10_1, +18 morefixed: vendor fix RHSA-2026:1628
-
Red Hat Hardened Images php 8.5.5-1.1.hum1, php-gd 8.5.5-1.1.hum1, php-cli 8.5.5-1.1.hum1, php-dba 8.5.5-1.1.hum1, php-dbg 8.5.5-1.1.hum1, php-ffi 8.5.5-1.1.hum1, +21 morefixed: vendor fix RHSA-2026:7614
-
Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 10 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N |
| CNA | 4.0 | 6.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libphp | <8.1.34 >=8.2.0, <8.2.30 >=8.3.0, <8.3.29 >=8.4.0, <8.4.16 >=8.5.0, <8.5.1 |
8.1.34 8.2.30 8.3.29 8.4.16 8.5.1 |
| bitnami | php | <8.1.34 >=8.2.0, <8.2.30 >=8.3.0, <8.3.29 >=8.4.0, <8.4.16 >=8.5.0, <8.5.1 |
8.1.34 8.2.30 8.3.29 8.4.16 8.5.1 |
| bitnami | php-min | <8.1.34 >=8.2.0, <8.2.30 >=8.3.0, <8.3.29 >=8.4.0, <8.4.16 >=8.5.0, <8.5.1 |
8.1.34 8.2.30 8.3.29 8.4.16 8.5.1 |
Affected products
- PHP Group PHP
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
- Technology feeds
References
-
github.com
/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7
exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-14177
web
Sources
- CVE List CVE-2025-14177
- NVD CVE-2025-14177
- OSV BIT-libphp-2025-14177
- OSV BIT-php-2025-14177
- OSV BIT-php-min-2025-14177
- Maintainer advisory GHSA-3237-qqm7-mfv7
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.