CVE-2025-39967 - CVE House
Back to Database
Status published Unknown CVE-2025-39967

fbcon: fix integer overflow in fbcon_do_set_font

Vulnerability Description

In the Linux kernel, the following vulnerability has been resolved: fbcon: fix integer overflow in fbcon_do_set_font Fix integer overflow vulnerabilities in fbcon_do_set_font() where font size calculations could overflow when handling user-controlled font parameters. The vulnerabilities occur when: 1. CALC_FONTSZ(h, pitch, charcount) performs h * pith * charcount multiplication with user-controlled values that can overflow. 2. FONT_EXTRA_WORDS * sizeof(int) + size addition can also overflow 3. This results in smaller allocations than expected, leading to buffer overflows during font data copying. Add explicit overflow checking using check_mul_overflow() and check_add_overflow() kernel helpers to safety validate all size calculations before allocation.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-39967

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
96e41fc29e8af5c5085fb8a79cab8d0d00bab86c, 39b3cffb8cf3111738ea993e2757ab382253d86a, ae021a904ac82d9fc81c25329d3c465c5a7d5686, 451bffa366f2cc0e5314807cb847f31c0226efed, 2c455e9c5865861f5ce09c5f596909495ed7657c, 72f099805dbc907fbe8fa19bccdc31d3e2ee6e9e, 34cf1aff169dc6dedad8d79da7bf1b4de2773dbc, 5.4.62, 4.4.235, 4.9.235, 4.14.196, 4.19.143, 5.8.6, 5.9, 0, 5.4.300, 5.10.245, 5.15.194, 6.1.155, 6.6.109, 6.12.50, 6.16.10, 6.17

Timeline

Official Publish: October 15th, 2025
Last Modified: June 11th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.