SecurityContext

CVE-2018-12714: Linux Kernel - Buffer Overflow

  • Cve: CVE-2018-12714
  • Name: Linux Kernel - Buffer Overflow
  • Description: An issue was discovered in the Linux kernel through 4.17.2. The filter parsing in kernel/trace/trace_events_filter.c could be called with no filter, which is an N=0 case when it expected at least one line to have been read, thus making the N-1 index invalid. This allows attackers to cause a denial of service (slab out-of-bounds write) or possibly have unspecified other impact via crafted perf_event_open and mmap system calls.
  • Impact: Attackers can cause denial of service or potentially execute arbitrary code through out-of-bounds memory access.
  • Remediation: Update to Linux kernel version 4.17.3 or later.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: denial_of_service, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.04893
  • Epss percentile: 0.923
  • Assignee: [email protected]
  • Published at: 2018-06-24T23:29:00Z
  • Age in days: 3075
  • Modified at: 2026-06-17T01:38:13Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-12714
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/lcytxw/bug_repro/tree/master/bug_200019nvd2018-06-24

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/torvalds/linux/commit/81f9c4e4177d31ced6f52a89bb70e93bfb77ca03Patch, Third Party Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=81f9c4e4177d31ced6f52a89bb70e93bfb77ca03Vendor Advisory
https://bugzilla.kernel.org/show_bug.cgi?id=200019Issue Tracking, Vendor Advisory
https://github.com/lcytxw/bug_repro/tree/master/bug_200019Exploit, Third Party Advisory
http://www.securityfocus.com/bid/104544Third Party Advisory, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 4.17, < 4.17.4nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcommityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-06-24
  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports