{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49948","id":"CVE-2022-49948","title":"vt: Clear selection before changing the font","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvt: Clear selection before changing the font\n\nWhen changing the console font with ioctl(KDFONTOP) the new font size\ncan be bigger than the previous font. A previous selection may thus now\nbe outside of the new screen size and thus trigger out-of-bounds\naccesses to graphics memory if the selection is removed in\nvc_do_resize().\n\nPr","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nvt: Clear selection before changing the font\n\nWhen changing the console font with ioctl(KDFONTOP) the new font size\ncan be bigger than the previous font. A previous selection may thus now\nbe outside of the new screen size and thus trigger out-of-bounds\naccesses to graphics memory if the selection is removed in\nvc_do_resize().\n\nPrevent such out-of-memory accesses by dropping the selection before the\nvarious con_font_set() console handlers are called.","published":"2025-06-18T11:00:12.364Z","updated":"2026-11-17T07:00:37.493408491Z","reserved":"2025-06-18T10:57:27.382Z","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.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"c555cf04684fde39b5b0dd9fd80730030ee10c4a","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"e9ba4611ddf676194385506222cce7b0844e708e","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"f74b4a41c5d7c9522469917e3072e55d435efd9e","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"1cf1930369c9dc428d827b60260c53271bff3285","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"989201bb8c00b222235aff04e6200230d29dc7bb","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"2535431ae967ad17585513649625fea7db28d4db","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"c904fe03c4bd1f356a58797d39e2a5d0ca15cefc","status":"affected","versionType":"git"},{"version":"009e39ae44f4191188aeb6dfbf661b771dbbe515","lessThan":"566f9c9f89337792070b5a6062dff448b3e7977f","status":"affected","versionType":"git"},{"version":"e60f8fcce05042e8f8cea25ee81fecc1222114cf","status":"affected","versionType":"git"},{"version":"5812a9bc9d68a82c2cc839f88e6f7a05093ab39d","status":"affected","versionType":"git"},{"version":"863ad19fd654c485e3beec3575c4d74a1e74369e","status":"affected","versionType":"git"},{"version":"dbc3fd44f957a39407e889287bf61fa0ef3ecc14","status":"affected","versionType":"git"},{"version":"0b2a0a58ad22f9d6dfc641bc5ec46057493f22a5","status":"affected","versionType":"git"},{"version":"9f2d48f0745f921040df91bfe8fa7f0339cd7497","status":"affected","versionType":"git"},{"version":"3425e397fb23cc2e8e6fb8f5b8226dcb447e84dd","status":"affected","versionType":"git"},{"version":"eeae0a12a16650ff494d5faefa371cd9e7079575","status":"affected","versionType":"git"},{"version":"3.2.85","lessThan":"3.3","status":"affected","versionType":"semver"},{"version":"3.10.105","lessThan":"3.11","status":"affected","versionType":"semver"},{"version":"3.12.68","lessThan":"3.13","status":"affected","versionType":"semver"},{"version":"3.16.40","lessThan":"3.17","status":"affected","versionType":"semver"},{"version":"3.18.45","lessThan":"3.19","status":"affected","versionType":"semver"},{"version":"4.1.36","lessThan":"4.2","status":"affected","versionType":"semver"},{"version":"4.4.31","lessThan":"4.5","status":"affected","versionType":"semver"},{"version":"4.8.7","lessThan":"4.9","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.9","status":"affected"},{"version":"0","lessThan":"4.9","status":"unaffected","versionType":"semver"},{"version":"4.9.328","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.293","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.258","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.213","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.142","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.66","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.19.8","lessThanOrEqual":"5.19.*","status":"unaffected","versionType":"semver"},{"version":"6.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c555cf04684fde39b5b0dd9fd80730030ee10c4a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e9ba4611ddf676194385506222cce7b0844e708e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f74b4a41c5d7c9522469917e3072e55d435efd9e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1cf1930369c9dc428d827b60260c53271bff3285","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/989201bb8c00b222235aff04e6200230d29dc7bb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2535431ae967ad17585513649625fea7db28d4db","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c904fe03c4bd1f356a58797d39e2a5d0ca15cefc","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/566f9c9f89337792070b5a6062dff448b3e7977f","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49948.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49948","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.00286,"epssPercentile":0.21461,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49948","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49948","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49948","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-2022-49948","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}