Advisory

UBUNTU-CVE-2025-14177

Also known as: CVE-2025-14177

Summary

The record has no summary.

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 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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2025-12-27 20:15 UTC
Modified
2026-04-22 15:31 UTC

Affected packages and fixes

php8.3

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 8.3.6-0ubuntu0.24.04.6 (ecosystem)

Fixed versions

8.3.6-0ubuntu0.24.04.6

Fix

  • Fixed version 8.3.6-0ubuntu0.24.04.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php8.4

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 8.4.11-1ubuntu1.1 (ecosystem)

Fixed versions

8.4.11-1ubuntu1.1

Fix

  • Fixed version 8.4.11-1ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences