UBUNTU-CVE-2022-31630
Dashboard / Vulnerabilities / UBUNTU-CVE-2022-31630
UBUNTU-CVE-2022-31630
Published: 31 Oct 2022Last Modified: 22 Apr 2026
Upstream:
Aliases:
Summary:
Details: 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.
References: https://ubuntu.com/security/CVE-2022-31630, https://github.com/php/php-src/commit/ac45ce85c8750a6fb9745093180674d029acc5bd, https://ubuntu.com/security/notices/USN-5717-1, https://www.cve.org/CVERecord?id=CVE-2022-31630
Affected packages
Package
Name: php7.4
Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=focal
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -7.4.3-4ubuntu2.15
Affected versions
7.4.3-4build1
7.4.3-4build2
7.4.3-4ubuntu1
7.4.3-4ubuntu1.1
7.4.3-4ubuntu2.2
7.4.3-4ubuntu2.4
7.4.3-4ubuntu2.5
7.4.3-4ubuntu2.6
7.4.3-4ubuntu2.7
7.4.3-4ubuntu2.8
7.4.3-4ubuntu2.9
7.4.3-4ubuntu2.10
7.4.3-4ubuntu2.11
7.4.3-4ubuntu2.12
7.4.3-4ubuntu2.13
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
