CVE-2022-31630 Vulnerability Details

  /     /     /  

CVE-2022-31630 Metadata Quick Info

CVE Published: 14/11/2022 | CVE Updated: 03/08/2024 | CVE Year: 2022
Source: php | Vendor: PHP Group | Product: PHP
Status : PUBLISHED

CVE-2022-31630 Description

In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information. 

Metrics

CVSS Version: 3.1 | Base Score: 6.5 MEDIUM
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

l➤ Exploitability Metrics:
    Attack Vector (AV)* NETWORK
    Attack Complexity (AC)* LOW
    Privileges Required (PR)* NONE
    User Interaction (UI)* NONE
    Scope (S)* UNCHANGED

l➤ Impact Metrics:
    Confidentiality Impact (C)* LOW
    Integrity Impact (I)* NONE
    Availability Impact (A)* LOW

Weakness Enumeration (CWE)

CWE-ID: CWE-131
CWE Name: CWE-131 Incorrect Calculation of Buffer Size
Source: PHP Group

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID: CAPEC-540
CAPEC Description: CAPEC-540 Overread Buffers


Source: NVD (National Vulnerability Database).