Skip to main content
CVE-2025-14177VulnerabilityPublished Updated

CVE-2025-14177: PHP · Out-of-bounds Read

Affects PHPSource CVE Database V5

0

Not known to be exploited · CVSS 6.3 Medium · fixed in 8.6.0 : update PHP when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.6.0, 8.5.0, 8.4.0 +2
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
GitHubphp/php-srcpkg:github/php/php-srcOther threatsAffected
  • >=8.1.0 <8.2.0
  • >=8.2.0 <8.3.0
  • >=8.3.0 <8.4.0
  • >=8.4.0 <8.5.0
  • >=8.5.0 <8.6.0
Fixed in
  • 8.2.0
  • 8.3.0
  • 8.4.0
  • 8.5.0
  • 8.6.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should prioritize upgrading PHP to the fixed versions: 8.1.34 or later, 8.2.30 or later, 8.3.29 or later, 8.4.16 or later, and 8.5.1 or later. Until upgrades are applied, organizations should audit and restrict the use of the getimagesize() function, especially when processing untrusted image inputs or streams. Implement strict input validation and sanitization for image uploads to reduce the risk of triggering the vulnerability. Employ web application firewalls (WAFs) with rules to detect and block suspicious image payloads or unusual php://filter usage patterns. Monitor application logs for anomalous image processing requests. Additionally, consider isolating PHP image processing in sandboxed environments to limit potential data exposure. Regularly review and update PHP and related dependencies as part of patch management processes. Finally, conduct security testing focused on image handling components to detect any residual risks.

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.

References

Community reviews

Loading reviews…