AI description
CVE-2025-14177 is an information disclosure vulnerability found in multiple versions of PHP, specifically within the `getimagesize()` function. The flaw occurs when this function processes images in multi-chunk mode, such as through `php://filter`. The root cause is a bug in the `php_read_stream_all_chunks()` function, where the buffer is overwritten without the pointer advancing, leaving certain tail bytes uninitialized. This can lead to the leakage of uninitialized heap memory into APPn segments (e.g., APP1) of the image, potentially exposing sensitive data from the server's memory.
- Description
- 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.
- Source
- security@php.net
- NVD status
- Analyzed
- Products
- php
CVSS 4.0
- Type
- Secondary
- Base score
- 6.3
- Impact score
- -
- Exploitability score
- -
- Vector string
- 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
- Severity
- MEDIUM
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity
- HIGH
- security@php.net
- CWE-125
- Hype score
- Not currently trending
PHP CVE-2025-14177: getimagesize() blutet Heap-Speicher, iptcembed() bleibt offen https://t.co/4V1u6AxGhS https://t.co/iIDAZopzPa
@moselwal
19 May 2026
273 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
🚨 New JPEG Image Attack Exposes Critical PHP Memory Bugs: #CVE-2025-14177 & iptcembed Heap Overflow + Video https://t.co/RR6rip7Cv4 Educational Purposes!
@UndercodeUpdate
18 May 2026
317 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
PHPの画像サイズ取得関数getimagesizeに、細工したJPEGの処理を通じてサーバーのヒープメモリが漏洩しうる脆弱性CVE-2025-14177が報告されています。CMSやWebメール、画像CDNなど、ユーザーがアップロードした画像の
@MalwareBibleJP
16 May 2026
1458 Impressions
2 Retweets
14 Likes
1 Bookmark
0 Replies
2 Quotes
PHPの画像処理機能で、JPEG画像だけで情報漏洩やDoSを引き起こせる脆弱性2件が修正された。公開アップロード機能への影響が懸念される。 問題はPHP ext/standard拡張の「getimagesize」と「iptcembed」に存在する。CVE-2
@yousukezan
16 May 2026
6102 Impressions
23 Retweets
74 Likes
29 Bookmarks
0 Replies
1 Quote
New research reveals two critical heap memory bugs in PHP's core JPEG processing functions. Memory disclosure in getimagesize() and buffer overflow in iptcembed() affecting millions of PHP applications worldwide. Key technical details: • CVE-2025-14177: getimagesize() memory h
@DFIR_Radar
15 May 2026
657 Impressions
2 Retweets
7 Likes
0 Bookmarks
2 Replies
0 Quotes
🐘 PHP JPEG bugs: how image parsing leads to memory corruption. Our researcher Nikita Sveshnikov discovered two JPEG-related memory-safety bugs in PHP’s ext/standard: CVE-2025-14177 in getimagesize and a heap buffer overflow in iptcembed. https://t.co/nNKziv8oxn https://t.
@akaclandestine
15 May 2026
1127 Impressions
2 Retweets
8 Likes
3 Bookmarks
0 Replies
0 Quotes
🐘 PHP JPEG bugs: how image parsing leads to memory corruption. Our researcher Nikita Sveshnikov discovered two JPEG-related memory-safety bugs in PHP’s ext/standard: CVE-2025-14177 in getimagesize and a heap buffer overflow in iptcembed. https://t.co/WCQWlfuPZl https://t.
@ptswarm
15 May 2026
5628 Impressions
20 Retweets
65 Likes
27 Bookmarks
0 Replies
0 Quotes
🔐 Critical PHP vulnerabilities disclosed in #Ubuntu (USN-7953-1). Affects PHP 7.2-8.4. Can lead to DoS & info disclosure (CVE-2025-14177, -14178, -14180). Read more: 👉 https://t.co/mQvut1U8xr #Security https://t.co/egG6nZrXcT
@Cezar_H_Linux
12 Jan 2026
11 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
After analyzing 92% of vulnerabilities from past week, CVE-2025-14177 has 8 articles published from different internet sources, no other cve has these many articles. More information here: https://t.co/SyyDujjO8C #vulnerability #CyberSecurity #ThreatIntel #CVE #SecurityAlert
@stooee_
3 Jan 2026
95 Impressions
0 Retweets
0 Likes
0 Bookmarks
1 Reply
0 Quotes
⚠️ Vulnerabilidades en PHP ❗ CVE-2025-14180 ❗ CVE-2025-14178 ❗ CVE-2025-14177 ➡️ Más info: https://t.co/froC0Srbx0 https://t.co/SqVOorvsPd
@CERTpy
24 Dec 2025
106 Impressions
2 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
kusanagi-php84 Module Update 8.4.16-1 KUSANAGI 9 modules have been updated. The updated modules are as follows: php 8.4.16-1 This update includes support for vulnerability(CVE-2025-14180, CVE-2025-14178, CVE-2025-14177). The module update can... https://t.co/XHrMr8ucpT
@kusanagi_saya
22 Dec 2025
8 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
kusanagi-php85 モジュール更新情報 8.5.1-1 KUSANAGI 9 を構成している各モジュールのアップデートを行いました。 アップデートにより適用される各モジュールのバージョンは、以下のとおりとなります。 php 8.5.1-1
@kusanagi_saya
22 Dec 2025
86 Impressions
1 Retweet
1 Like
0 Bookmarks
0 Replies
0 Quotes
URGENT: #Mageia 9 security advisory MGASA-2025-0330 patches high-severity PHP flaws (CVE-2025-14177/78/80). Read more: 👉 https://t.co/i8XBPDb5R6 #Security https://t.co/puT6nk5JJw
@Cezar_H_Linux
21 Dec 2025
57 Impressions
0 Retweets
0 Likes
0 Bookmarks
0 Replies
0 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"matchCriteriaId": "56FCF002-3946-40DF-A774-75C6DDE6CA26",
"versionEndExcluding": "8.1.34",
"versionStartIncluding": "8.1.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"matchCriteriaId": "AB314013-4F2F-40F0-968B-35FEC22CC8A4",
"versionEndExcluding": "8.2.30",
"versionStartIncluding": "8.2.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"matchCriteriaId": "DAD5402D-688D-44AA-B083-5157FDC53D7A",
"versionEndExcluding": "8.3.29",
"versionStartIncluding": "8.3.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
"matchCriteriaId": "8813328B-AC06-4060-916F-CD27144F41E2",
"versionEndExcluding": "8.4.16",
"versionStartIncluding": "8.4.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:php:php:8.5.0:*:*:*:*:*:*:*",
"matchCriteriaId": "F7465128-DC9D-49F2-BFC2-6B307D7BC373",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]