Information Disclosure Vulnerability in PHP Affects Multichunk Image Processing

6.3MEDIUM

CVE-2025-14177

Key Information:

Vendor

PHP Group

Status
PHP
CVE ID
CVE ID:
CVE-2025-14177
Vendor
CVE Published:
27 December 2025
Fixed in
Fixed in:
8.1.34, 8.2.30, 8.3.29 +2 more

Timeline

Exploit known 142 days after it was published

  • 🟑

    Public PoC available

  • πŸ‘Ύ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ‘Ύ Exploit Exists🟑 Public PoC

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (1 proof-of-concept)
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the PHP release that fixes your version line, or later:

8.1.348.2.308.3.298.4.168.5.1
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach PHP. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploit code is public, so check logs on exposed PHP systems for unusual requests or new processes from before you patched. The 1 public proof-of-concept show what an attack looks like.

4Why it's rated "Patch this week"
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • Its CVSS severity is medium (6.3).

What is CVE-2025-14177?

The getimagesize() function in PHP versions earlier than specified versions is affected by a vulnerability that results in the potential leak of uninitialized heap memory through the APPn segments when processing images in a multi-chunk mode. This can expose sensitive information from the server's memory, compromising data confidentiality. The flaw arises from a bug in the php_read_stream_all_chunks() function, which fails to properly manage the buffer pointer, leaving parts of it uninitialized. This issue underscores the importance of timely software updates and implementations of best security practices.

Affected Version(s)

PHP 8.1.*

PHP 8.1.* < 8.1.34

PHP 8.2.* < 8.2.30

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Request Smuggling in PHP-FPM

CVE-2026-129289
PHP GroupPHPπŸ‘Ύ9.2CRITICAL

Use-After-Free Vulnerability in PHP Affects Multiple Versions and Releases

CVE-2026-129496
PHP GroupPHPπŸ˜„πŸ‘Ύ9.2CRITICAL

Remote Code Execution Vulnerability in PHP Session Management

CVE-2026-126714
PHP GroupPHPπŸ”₯πŸ˜„πŸ‘Ύ9.2CRITICAL
View more PHP Group vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Credit

Nikita Sveshnikov (Positive Technologies)
.