CVE-2025-14177

Source
https://cve.org/CVERecord?id=CVE-2025-14177
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-14177.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-14177
Aliases
Downstream
Related
Published
2025-12-27T20:15:40.400Z
Modified
2026-04-10T05:21:26.456099Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/php/php-src

Affected ranges

Type
GIT
Repo
https://github.com/php/php-src
Events
Database specific
{
    "versions": [
        {
            "introduced": "8.1.0"
        },
        {
            "fixed": "8.1.34"
        },
        {
            "introduced": "8.2.0"
        },
        {
            "fixed": "8.2.30"
        },
        {
            "introduced": "8.3.0"
        },
        {
            "fixed": "8.3.29"
        },
        {
            "introduced": "8.4.0"
        },
        {
            "fixed": "8.4.16"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "8.5.0"
        }
    ]
}

Affected versions

Other
POST_64BIT_BRANCH_MERGE
POST_AST_MERGE
POST_PHP7_NSAPI_REMOVAL
POST_PHP7_REMOVALS
POST_PHPNG_MERGE
PRE_64BIT_BRANCH_MERGE
PRE_AST_MERGE
PRE_PHP7_EREG_MYSQL_REMOVALS
PRE_PHP7_NSAPI_REMOVAL
PRE_PHP7_REMOVALS
security-audit-2024
php-8.*
php-8.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-14177.json"