UBUNTU-CVE-2022-31627

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-31627

    UBUNTU-CVE-2022-31627

    Published: 15 Jul 2022Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: In PHP versions 8.1.x below 8.1.8, when fileinfo functions, such as finfo_buffer, due to incorrect patch applied to the third party code from libmagic, incorrect function may be used to free allocated memory, which may lead to heap corruption.

    Affected packages

    Package

    Name: php8.1

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

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -8.1.2-1ubuntu2.2

    Affected versions

    8.1.0~rc4-1ubuntu2
    8.1.0-1
    8.1.2-1ubuntu1
    8.1.2-1ubuntu2
    8.1.2-1ubuntu2.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
    UBUNTU-CVE-2022-31627 | CVE-DB