{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-39967","id":"CVE-2025-39967","title":"fbcon: fix integer overflow in fbcon_do_set_font","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbcon: fix integer overflow in fbcon_do_set_font\n\nFix integer overflow vulnerabilities in fbcon_do_set_font() where font\nsize calculations could overflow when handling user-controlled font\nparameters.\n\nThe vulnerabilities occur when:\n1. CALC_FONTSZ(h, pitch, charcount) performs h * pith * charcount\n   multiplication with user-con","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbcon: fix integer overflow in fbcon_do_set_font\n\nFix integer overflow vulnerabilities in fbcon_do_set_font() where font\nsize calculations could overflow when handling user-controlled font\nparameters.\n\nThe vulnerabilities occur when:\n1. CALC_FONTSZ(h, pitch, charcount) performs h * pith * charcount\n   multiplication with user-controlled values that can overflow.\n2. FONT_EXTRA_WORDS * sizeof(int) + size addition can also overflow\n3. This results in smaller allocations than expected, leading to buffer\n   overflows during font data copying.\n\nAdd explicit overflow checking using check_mul_overflow() and\ncheck_add_overflow() kernel helpers to safety validate all size\ncalculations before allocation.","published":"2025-10-15T07:55:51.554Z","updated":"2026-11-17T07:03:35.212855225Z","reserved":"2025-04-16T07:20:57.149Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"96e41fc29e8af5c5085fb8a79cab8d0d00bab86c","lessThan":"994bdc2d23c79087fbf7dcd9544454e8ebcef877","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"9c8ec14075c5317edd6b242f1be8167aa1e4e333","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"b8a6e85328aeb9881531dbe89bcd2637a06c3c95","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"a6eb9f423b3db000aaedf83367b8539f6b72dcfc","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"adac90bb1aaf45ca66f9db8ac100be16750ace78","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"4a4bac869560f943edbe3c2b032062f6673b13d3","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"c0c01f9aa08c8e10e10e8c9ebb5be01a4eff6eb7","status":"affected","versionType":"git"},{"version":"39b3cffb8cf3111738ea993e2757ab382253d86a","lessThan":"1a194e6c8e1ee745e914b0b7f50fa86c89ed13fe","status":"affected","versionType":"git"},{"version":"ae021a904ac82d9fc81c25329d3c465c5a7d5686","status":"affected","versionType":"git"},{"version":"451bffa366f2cc0e5314807cb847f31c0226efed","status":"affected","versionType":"git"},{"version":"2c455e9c5865861f5ce09c5f596909495ed7657c","status":"affected","versionType":"git"},{"version":"72f099805dbc907fbe8fa19bccdc31d3e2ee6e9e","status":"affected","versionType":"git"},{"version":"34cf1aff169dc6dedad8d79da7bf1b4de2773dbc","status":"affected","versionType":"git"},{"version":"5.4.62","lessThan":"5.4.300","status":"affected","versionType":"semver"},{"version":"4.4.235","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.9.235","lessThan":"4.10","status":"affected","versionType":"semver"},{"version":"4.14.196","lessThan":"4.15","status":"affected","versionType":"semver"},{"version":"4.19.143","lessThan":"4.20","status":"affected","versionType":"semver"},{"version":"5.8.6","lessThan":"5.9","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.4.300","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.245","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.194","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.155","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.109","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.50","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.16.10","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/994bdc2d23c79087fbf7dcd9544454e8ebcef877","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9c8ec14075c5317edd6b242f1be8167aa1e4e333","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b8a6e85328aeb9881531dbe89bcd2637a06c3c95","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a6eb9f423b3db000aaedf83367b8539f6b72dcfc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/adac90bb1aaf45ca66f9db8ac100be16750ace78","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/4a4bac869560f943edbe3c2b032062f6673b13d3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c0c01f9aa08c8e10e10e8c9ebb5be01a4eff6eb7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1a194e6c8e1ee745e914b0b7f50fa86c89ed13fe","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39967.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39967","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00175,"epssPercentile":0.07056,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-39967","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39967","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-39967","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-39967","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}