Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

vulnerability

Alpine Linux: CVE-2022-31630: Incorrect Calculation of Buffer Size

Severity
6
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:P)
Published
Nov 14, 2022
Added
Aug 22, 2024
Modified
Mar 25, 2026

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. 

Solutions

alpine-linux-upgrade-php7alpine-linux-upgrade-php8alpine-linux-upgrade-php81alpine-linux-upgrade-php82
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.