{"id":"CVE-2018-8822","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Incorrect buffer length handling in the ncp_read_kernel function in fs/ncpfs/ncplib_kernel.c in the Linux kernel throug…","description":"Incorrect buffer length handling in the ncp_read_kernel function in fs/ncpfs/ncplib_kernel.c in the Linux kernel through 4.15.11, and in drivers/staging/ncpfs/ncplib_kernel.c in the Linux kernel 4.16-rc through 4.16-rc6, could be exploited by malicious NCPFS servers to crash the kernel or execute code.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":7.8,"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd"},{"score":7.2,"version":"2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","source":"nvd"}],"cwe":["CWE-119"],"remote":false,"remote_unauth":false,"epss":{"score":0.00526,"percentile":0.46068,"date":"2026-12-05"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://www.debian.org/security/2018/dsa-4187","kind":"vendor"},{"url":"https://usn.ubuntu.com/3654-1/","kind":"vendor"},{"url":"https://www.debian.org/security/2018/dsa-4188","kind":"vendor"},{"url":"https://usn.ubuntu.com/3653-2/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3655-1/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3654-2/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3655-2/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3656-1/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3653-1/","kind":"vendor"},{"url":"https://usn.ubuntu.com/3657-1/","kind":"vendor"},{"url":"https://www.mail-archive.com/netdev%40vger.kernel.org/msg223373.html","kind":"patch"},{"url":"http://www.securityfocus.com/bid/103476","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2018/05/msg00000.html","kind":"other"},{"url":"http://www.openwall.com/lists/oss-security/2022/12/27/3","kind":"other"}],"workarounds":null,"vendors":["canonical","debian","linux"],"products":["debian_linux","linux_kernel","ubuntu_linux"],"cpes":["cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc1:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc2:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc3:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc4:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc5:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc6:*:*:*:*:*:*","cpe:2.3:o:linux:linux_kernel:4.16:rc:*:*:*:*:*:*"],"published_at":"2018-03-20T00:00:00.000Z","modified_at":"2026-06-17T02:05:27.287Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-8822"}],"links":{"html":"https://flawdb.com/CVE-2018-8822","markdown":"https://flawdb.com/CVE-2018-8822.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-8822"}}