CVE-2022-31627

    Dashboard / Vulnerabilities / CVE-2022-31627

    CVE-2022-31627

    Published: 28 Jul 2022Last Modified: 12 Aug 2026

    Summary: Heap buffer overflow in finfo_buffer

    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:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 381ba9f5d0edd0c9c8ec1dea7e21d513ad08b115

    Affected versions

    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
    CVE-2022-31627 | CVE-DB