Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-31630

published medium CVSS 3.1 · 6.5

OOB read due to insufficient input validation in imageloadfont()

Published
14 Nov 2022, 06:53:06 UTC
Updated
03 Aug 2024, 07:26:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
PHP Group — PHP7.4.x to < 7.4.33 · 8.0.x to < 8.0.25 · 8.1.x to < 8.1.12 · Other versions: unaffected Affected Not stated php
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PHP8.0-2023-004 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2PHP8.1-2023-001 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-081 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 apcu-panel Advisory build 5.1.18-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 apcu-panel Advisory build 5.1.20-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 libzip Advisory build 1.6.1-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 libzip Advisory build 1.6.1-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 libzip Advisory build 1.7.3-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 libzip Advisory build 1.7.3-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 libzip-devel Advisory build 1.6.1-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 libzip-devel Advisory build 1.6.1-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 libzip-devel Advisory build 1.7.3-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 libzip-devel Advisory build 1.7.3-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 libzip-tools Advisory build 1.6.1-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 libzip-tools Advisory build 1.6.1-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 libzip-tools Advisory build 1.7.3-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 libzip-tools Advisory build 1.7.3-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 php Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-bcmath Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-bcmath Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-cli Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-cli Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-common Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-common Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-dba Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-dba Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-dbg Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-dbg Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-devel Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-devel Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-embedded Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-embedded Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-enchant Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-enchant Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-ffi Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-ffi Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-fpm Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-fpm Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-gd Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-gd Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-gmp Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-gmp Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-intl Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-intl Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-json Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-ldap Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-ldap Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-mbstring Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-mbstring Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-mysqlnd Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-mysqlnd Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-odbc Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-odbc Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-opcache Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-opcache Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-pdo Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-pdo Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-pear Advisory build 1:1.10.13-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pear Advisory build 1:1.10.13-1.module_el8.6.0+3268+b150a051 ALSA-2023:2903
AlmaLinux 8 php-pecl-apcu Advisory build 5.1.18-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 php-pecl-apcu Advisory build 5.1.18-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 php-pecl-apcu Advisory build 5.1.20-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-apcu Advisory build 5.1.20-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 php-pecl-apcu-devel Advisory build 5.1.18-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 php-pecl-apcu-devel Advisory build 5.1.18-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 php-pecl-apcu-devel Advisory build 5.1.20-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-apcu-devel Advisory build 5.1.20-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 php-pecl-rrd Advisory build 2.0.1-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 php-pecl-rrd Advisory build 2.0.1-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 php-pecl-rrd Advisory build 2.0.3-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-rrd Advisory build 2.0.3-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 php-pecl-xdebug Advisory build 2.9.5-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 php-pecl-xdebug Advisory build 2.9.5-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 php-pecl-xdebug3 Advisory build 3.1.2-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-xdebug3 Advisory build 3.1.2-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 php-pecl-zip Advisory build 1.18.2-1.module_el8.6.0+2750+78feabcb ALSA-2023:2903
AlmaLinux 8 php-pecl-zip Advisory build 1.18.2-1.module_el8.6.0+3239+bedf0508 ALSA-2023:2903
AlmaLinux 8 php-pecl-zip Advisory build 1.19.2-1.module_el8.6.0+2739+efabdb8f ALSA-2023:0848
AlmaLinux 8 php-pecl-zip Advisory build 1.19.2-1.module_el8.6.0+3061+6878dd1b ALSA-2023:0848
AlmaLinux 8 php-pgsql Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-pgsql Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-process Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-process Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-snmp Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-snmp Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-soap Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-soap Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-xml Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 8 php-xml Advisory build 8.0.27-1.module_el8.7.0+3401+dfb61c00 ALSA-2023:0848
AlmaLinux 8 php-xmlrpc Advisory build 7.4.33-1.module_el8.8.0+3477+f828cbb0 ALSA-2023:2903
AlmaLinux 9 apcu-panel Advisory build 5.1.21-1.module_el9.1.0+15+94ba28e4 ALSA-2023:2417
AlmaLinux 9 php Advisory build 8.0.27-1.el9_1 ALSA-2023:0965
AlmaLinux 9 php Advisory build 8.1.14-1.module_el9.2.0+24+ca6bd7c2 ALSA-2023:2417
AlmaLinux 9 php-bcmath Advisory build 8.0.27-1.el9_1 ALSA-2023:0965
AlmaLinux 9 php-bcmath Advisory build 8.1.14-1.module_el9.2.0+24+ca6bd7c2 ALSA-2023:2417
AlmaLinux 9 php-cli Advisory build 8.0.27-1.el9_1 ALSA-2023:0965
AlmaLinux 9 php-cli Advisory build 8.1.14-1.module_el9.2.0+24+ca6bd7c2 ALSA-2023:2417
AlmaLinux 9 php-common Advisory build 8.0.27-1.el9_1 ALSA-2023:0965
AlmaLinux 9 php-common Advisory build 8.1.14-1.module_el9.2.0+24+ca6bd7c2 ALSA-2023:2417
AlmaLinux 9 php-dba Advisory build 8.0.27-1.el9_1 ALSA-2023:0965
AlmaLinux 9 php-dba Advisory build 8.1.14-1.module_el9.2.0+24+ca6bd7c2 ALSA-2023:2417
AlmaLinux 9 php-dbg Advisory build 8.0.27-1.el9_1 ALSA-2023:0965

Package entries are limited to the first 100 builds and 100 linked advisories.

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. 

en · php · cna

Vendor advisories explicitly linked to this CVE.

48

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
php · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
PHP Group PHP 7.4.x to < 7.4.33 (affected · custom)8.0.x to < 8.0.25 (affected · custom)8.1.x to < 8.1.12 (affected · custom)Default: unaffected php · cna

Weaknesses

2
  • CWE-131 CWE-131 Incorrect Calculation of Buffer Size (php · cna)
  • CWE-190 CWE-190 Integer Overflow or Wraparound (php · cna)

References

1

Provider assertions

2

php · cna

OOB read due to insufficient input validation in imageloadfont()

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
c338433b6a7fe1bd8d52b18d9f7777b5cb9f52eccdfbb6c6b230333f5bff425d
Ingested
23 Sep 2026, 08:00:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected