CVE-2025-14177: Information Leak of Memory in getimagesize

Published Dec 18, 2025
·
Updated

Fixed (Information Leak of Memory in getimagesize). (CVE-2025-14177)

Other sources

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 phpreadstreamallchunks() 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.

NVD

Affected Software

9 affected componentsFixes available
PHP PHP<8.1.34
8.1.34
Microsoft azl3 php 8.3.23-1
Microsoft cbl2 php 8.1.33-1
PHP PHP>=8.1.0<8.1.34
PHP PHP>=8.2.0<8.2.30
PHP PHP>=8.3.0<8.3.29
PHP PHP>=8.4.0<8.4.16
PHP PHP=8.5.0
Microsoft azl3 php 8.3.29-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.1.34
  2. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 8.1.34
  3. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 8.2.30
  4. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 8.3.29
  5. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 8.4.16
  6. Upgrade

    Upgrade php to a version that resolves this vulnerability.

    Fixed in 8.5.1

Event History

Dec 18, 2025
CVE Published
via PHP·12:00 AM
Data Sourced
via PHP·12:00 AM
DescriptionAffected Software
Dec 27, 2025
CVE Published
via MITRE·07:33 PM
Data Sourced
via MITRE·07:33 PM
DescriptionWeakness
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeaknessAffected Software
Dec 29, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:01 AM
SeverityAffected Software
Updated
via Microsoft·09:01 AM
DescriptionSeverity
Updated
via Microsoft·09:01 AM
SeverityAffected Software
Updated
via Microsoft·09:01 AM
Affected Software
Jul 7, 58527
Event
via NVD·09:14 AM

Frequently Asked Questions

1

What is the severity of CVE-2025-14177?

CVE-2025-14177 is classified as a medium severity vulnerability.

2

How do I fix CVE-2025-14177?

To fix CVE-2025-14177, upgrade PHP to version 8.1.34 or later.

3

What type of vulnerability is CVE-2025-14177?

CVE-2025-14177 is an information leak vulnerability occurring in the getimagesize function.

4

What versions of PHP are affected by CVE-2025-14177?

CVE-2025-14177 affects all versions of PHP prior to 8.1.34.

5

Is CVE-2025-14177 exploitable remotely?

Yes, CVE-2025-14177 can be exploited remotely by manipulating image processing functions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203