{"schemaVersion":3,"id":"CVE-2025-14177","aliases":["UBUNTU-CVE-2025-14177","DEBIAN-CVE-2025-14177"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-12-27T19:33:23.973Z","modified":"2025-12-29T16:01:36.231Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00508,"percentile":0.42187,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.007999999999999934,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00516},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00508,"percentile":0.42187}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00516,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00488,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00508,"percentile":0.42187}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_PHP_PHP-SRC","name":"Php Src","source":"github","url":"https://github.com/php/php-src/commit/fb58e69a84f4fde603a630d2c9df2fa3be16d846","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"}],"affected":[{"vendor":"debian","product":"php8.2","name":"php8.2","label":"php8.2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.2","purlType":"deb","versions":[{"text":"< 8.2.30-1~deb12u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.2.30-1~deb12u1","eol":null,"hubHref":null},{"vendor":"debian","product":"php8.4","name":"php8.4","label":"php8.4","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php8.4","purlType":"deb","versions":[{"text":"< 8.4.16-1~deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 8.4.16-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.4.16-1~deb13u1 | < 8.4.16-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.3","name":"php8.3","label":"php8.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.3","purlType":"deb","versions":[{"text":"< 8.3.6-0ubuntu0.24.04.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.3.6-0ubuntu0.24.04.6","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php8.4","name":"php8.4","label":"php8.4","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php8.4","purlType":"deb","versions":[{"text":"< 8.4.11-1ubuntu1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8.4.11-1ubuntu1.1","eol":null,"hubHref":null},{"vendor":"php_group","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1.*, < 8.1.34","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.*, < 8.2.30","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.*, < 8.3.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.*, < 8.4.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.5.*, < 8.5.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.*, < 8.1.34 | ≥ 8.2.*, < 8.2.30 | ≥ 8.3.*, < 8.3.29 | ≥ 8.4.*, < 8.4.16 | ≥ 8.5.*, < 8.5.1","eol":null,"hubHref":"/vendor/php_group/php"},{"vendor":"php","product":"php","name":"PHP","label":"php","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 8.1.0, < 8.1.34","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.2.0, < 8.2.30","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.3.0, < 8.3.29","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.4.0, < 8.4.16","noFixRecorded":false,"fixedIn":null},{"text":"8.5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 8.1.0, < 8.1.34 | ≥ 8.2.0, < 8.2.30 | ≥ 8.3.0, < 8.3.29 | ≥ 8.4.0, < 8.4.16 | 8.5.0","eol":{"isEol":false,"eolDate":"2029-12-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8.5","label":"8.5","eolFrom":"2029-12-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.5.11"},"product":{"name":"php","label":"PHP","category":"lang"}},"hubHref":"/vendor/php/php"}],"affectedCount":6,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7","label":"github.com/php/php-src/security/advisories/GHSA-3237-qqm7-mfv7","hostname":"github.com","tags":["REPORT","Exploit","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-14177","label":"ubuntu.com/security/CVE-2025-14177","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-14177","label":"www.cve.org/CVERecord?id=CVE-2025-14177","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://github.com/php/php-src/commit/c5f28c7cf0a052f48e47877c7aa5c5bcc54f1cfc","label":"github.com/php/php-src/commit/c5f28c7cf0a052f48e47877c7aa5c5bcc54f1cfc","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7953-1","label":"ubuntu.com/security/notices/USN-7953-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-14177","label":"security-tracker.debian.org/tracker/CVE-2025-14177","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14177","label":"nvd.nist.gov/vuln/detail/CVE-2025-14177","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-6088-1","DSA-6154-1","MGASA-2025-0330","OPENSUSE-SU-2025:15837-1","OPENSUSE-SU-2026:20113-1","RHSA-2026:1409","RHSA-2026:1412","RHSA-2026:1429","RHSA-2026:1628","RHSA-2026:2470","RHSA-2026:2799","RHSA-2026:7614","SUSE-SU-2026:0071-1","SUSE-SU-2026:0086-1","SUSE-SU-2026:20146-1","USN-7953-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:15837-1","OPENSUSE-SU-2026:20113-1","SUSE-SU-2026:0071-1","SUSE-SU-2026:0086-1","SUSE-SU-2026:20146-1","USN-7953-1"]},"timeline":[{"kind":"published","date":"2025-12-27T19:33:23.973Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-12-29T16:01:36.231Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:26:44.454Z","stale":false,"partial":false}}