CVE-2025-39967 json
fbcon: fix integer overflow in fbcon_do_set_font
published 2025-10-15 12 mo ago modified 2026-10-19 20 d ago also EUVD-2025-34605
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.5, 4.10, 4.15, 4.20, 5.4.300, 5.9, 5.10.245, 5.15.194, 6.1.155, 6.6.109, 6.12.50, 6.16.10, 6.17
- linux Debian 12 6.1.158-1
- linux Debian 13 6.12.57-1
- linux Debian 14 6.16.10-1
debian advisories DEBIAN-CVE-2025-39967
- linux Ubuntu 22.04 LTS 5.15.0-170.180
- linux Ubuntu 24.04 LTS 6.8.0-106.106
- linux Ubuntu 25.10 6.17.0-6.6
- linux-aws Ubuntu 22.04 LTS 5.15.0-1100.107
- linux-aws Ubuntu 24.04 LTS 6.8.0-1050.53
- linux-aws Ubuntu 25.10 6.17.0-1003.3
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1100.109
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1052.55
ubuntu advisories UBUNTU-CVE-2025-39967
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.139.2
- kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.139.1
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.187.3
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.187.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.187.3
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 5.14.21-150400.24.187.3
- kernel-zfcpdump SLES 15 SP4-LTSS, Manager Server LTS 4.3 5.14.21-150400.24.187.3
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.187.3
suse advisories SUSE-SU-2026:0033-1SUSE-SU-2026:0029-1SUSE-SU-2025:4515-1SUSE-SU-2025:4320-1SUSE-SU-2025:4301-1SUSE-SU-2025:21080-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.7.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.7.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.7.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.7.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.7.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.7.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.7.1
- kernel-kvmsmall openSUSE Leap 16.0 6.12.0-160000.7.1
opensuse advisories openSUSE-SU-2025:20091-1
- kernel Azure Linux 3.0 6.6.112.1-1
- kernel CBL-Mariner 2.0 5.15.200.1-1
azure linux advisories AZL-68468AZL-76440
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/994bdc2d23c79087fbf7dcd9544454e8ebcef877 commit
- git.kernel.org/stable/c/9c8ec14075c5317edd6b242f1be8167aa1e4e333 commit
- git.kernel.org/stable/c/b8a6e85328aeb9881531dbe89bcd2637a06c3c95 commit
- git.kernel.org/stable/c/a6eb9f423b3db000aaedf83367b8539f6b72dcfc commit
- git.kernel.org/stable/c/adac90bb1aaf45ca66f9db8ac100be16750ace78 commit
- git.kernel.org/stable/c/4a4bac869560f943edbe3c2b032062f6673b13d3 commit
- git.kernel.org/stable/c/c0c01f9aa08c8e10e10e8c9ebb5be01a4eff6eb7 commit
- git.kernel.org/stable/c/1a194e6c8e1ee745e914b0b7f50fa86c89ed13fe commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-39967 updated cvss 6.0
kernel: fbcon: fix integer overflow in fbcon_do_set_font
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
git.kernel.org
/stable/c/994bdc2d23c79087fbf7dcd9544454e8ebcef877
patch
-
git.kernel.org
/stable/c/9c8ec14075c5317edd6b242f1be8167aa1e4e333
patch
-
git.kernel.org
/stable/c/b8a6e85328aeb9881531dbe89bcd2637a06c3c95
patch
-
git.kernel.org
/stable/c/a6eb9f423b3db000aaedf83367b8539f6b72dcfc
patch
-
git.kernel.org
/stable/c/adac90bb1aaf45ca66f9db8ac100be16750ace78
patch
-
git.kernel.org
/stable/c/4a4bac869560f943edbe3c2b032062f6673b13d3
patch
-
git.kernel.org
/stable/c/c0c01f9aa08c8e10e10e8c9ebb5be01a4eff6eb7
patch
-
git.kernel.org
/stable/c/1a194e6c8e1ee745e914b0b7f50fa86c89ed13fe
patch
Sources
- CVE List CVE-2025-39967
- NVD CVE-2025-39967
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.