UBUNTU-CVE-2018-12882

    Dashboard / Vulnerabilities / UBUNTU-CVE-2018-12882

    UBUNTU-CVE-2018-12882

    Published: 25 Jun 2018Last Modified: 22 Apr 2026

    Summary:

    Details: exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.

    Affected packages

    Package

    Name: php7.2

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=bionic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -7.2.7-0ubuntu0.18.04.2

    Affected versions

    7.2.1-1ubuntu2
    7.2.2-1ubuntu1
    7.2.2-1ubuntu2
    7.2.3-1ubuntu1
    7.2.5-0ubuntu0.18.04.1
    7.2.7-0ubuntu0.18.04.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High