CVE-2018-13406 json
An integer overflow in the uvesafb_setcmap function in drivers/video/fbdev/uvesafb.c in the Linux kernel before 4.17.4 could result in loca…
published 2018-07-06 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-5349
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
An integer overflow in the uvesafb_setcmap function in drivers/video/fbdev/uvesafb.c in the Linux kernel before 4.17.4 could result in local attackers being able to crash the kernel or potentially elevate privileges because kmalloc_array is not used.
Patch / fix
- linux linux_kernel 3.16.58, 3.18.114, 4.4.139, 4.9.111, 4.14.53, 4.17.4
- linux Debian 14, Debian 13, Debian 12 4.17.6-1
debian advisories DEBIAN-CVE-2018-13406
- linux Ubuntu 14.04 LTS 3.13.0-157.207
- linux Ubuntu 16.04 LTS 4.4.0-134.160
- linux Ubuntu 18.04 LTS 4.15.0-33.36
- linux-aws Ubuntu 14.04 LTS 4.4.0-1028.31
- linux-aws Ubuntu 16.04 LTS 4.4.0-1066.76
- linux-aws Ubuntu 18.04 LTS 4.15.0-1020.20
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1018.19~16.04.2
- linux-gcp Ubuntu 18.04 LTS 4.15.0-1018.19
ubuntu advisories UBUNTU-CVE-2018-13406
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-syms SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.92.1
- kernel-source SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 4.4.121-92.92.1
- lttng-modules SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 2.7.1-9.4.1
- kernel-default SLES 12 SP2-BCL, SLE High Availability Extension 12 SP2, OpenStack Cloud 7 +3 more 4.4.121-92.92.1
- kgraft-patch-SLE12-SP2_Update_24 SLES 12 SP2-BCL, OpenStack Cloud 7, Enterprise Storage 4 +2 more 1-3.7.1
- kernel-rt SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
- kernel-syms-rt SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
- kernel-rt_trace SLE Real Time 11 SP4 3.0.101.rt130-69.33.1
suse advisories SUSE-SU-2018:2344-2SUSE-SU-2018:2637-1SUSE-SU-2018:2384-1SUSE-SU-2018:2362-1SUSE-SU-2018:2366-1SUSE-SU-2018:2344-1
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-2018-13406 updated cvss 4.4
kernel: Integer overflow in drivers/video/fbdev/uvesafb.c:uvesafb_setcmap() allows for potential denial of service
-
Red Hat Enterprise Linux 5 kernel 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, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot 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
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9f645bcc566a1e9f921bdae7528a01ced5bc3713
patch
-
github.com
/torvalds/linux/commit/9f645bcc566a1e9f921bdae7528a01ced5bc3713
patch
-
usn.ubuntu.com
/3752-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3752-3/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3753-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3754-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3752-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3753-1/
vendor-advisory, third-party-advisory
-
cdn.kernel.org
/pub/linux/kernel/v4.x/ChangeLog-4.17.4
release-notes
-
securitytracker.com
/id/1041355
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/104685
vdb-entry, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/03/msg00017.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2018-13406
- NVD CVE-2018-13406
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.