PT-2025-42242
CVE-2025-39967
·
Published
2025-09-22
·
Updated
2026-10-21
Description by
CVSS 4.0
8.5
HighMetricsAV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
An issue exists in the Linux kernel’s
fbcon do set font() function where integer overflows can occur during font size calculations when handling user-controlled font parameters. Specifically, overflows can happen in the following calculations: the multiplication of h, pitch, and charcount within CALC FONTSZ(h, pitch, charcount), and the addition of FONT EXTRA WORDS * sizeof(int) to size. These overflows can lead to smaller-than-expected memory allocations, resulting in buffer overflows during font data copying. The issue is addressed by adding explicit overflow checking using the check mul overflow() and check add overflow() kernel helpers to validate size calculations before allocation.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾