CVE-2018-8822: 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…
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.52% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: linux (Debian:12) 4.15.17-1; kernel-default (SUSE:Linux Enterprise Desktop 12 SP3) 4.4.126-94.22.1; kernel-source (SUSE:Linux Enterprise Desktop 12 SP3) 4.4.126-94.22.2.
Low priority for now. Upgrade to linux (Debian:12) 4.15.17-1; kernel-default (SUSE:Linux Enterprise Desktop 12 SP3) 4.4.126-94.22.1; kernel-source (SUSE:Linux Enterprise Desktop 12 SP3) 4.4.126-94.22.2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 20, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.5% · 45th percentile
- CWE
- CWE-119
Report tools
Action score
31
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- debian debian linux7.0
- debian debian linux8.0
- debian debian linux9.0
- linux linux kernel4.15 and later · before 4.15.14
+8 more rows
- linux linux kernel2.6.12 and later · before 3.2.102
- linux linux kernel3.3 and later · before 3.16.57
- linux linux kernel3.17 and later · before 3.18.103
- linux linux kernel3.19 and later · before 4.1.52
- linux linux kernel4.2 and later · before 4.4.125
- linux linux kernel4.5 and later · before 4.9.91
- linux linux kernel4.10 and later · before 4.14.31
- linux linux kernel4.16
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 4.15.17-1 | 4.15.17-1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | kernel-default | before 4.4.126-94.22.1 | 4.4.126-94.22.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | kernel-source | before 4.4.126-94.22.2 | 4.4.126-94.22.2 |
| SUSE:Linux Enterprise Desktop 12 SP3 | kernel-syms | before 4.4.126-94.22.1 | 4.4.126-94.22.1 |
| SUSE:Linux Enterprise Live Patching 12 SP3 | kgraft-patch-SLE12-SP3_Update_11 | before 1-4.5.1 | 1-4.5.1 |
| SUSE:Linux Enterprise Module for Public Cloud 12 | kernel-ec2 | before 3.12.74-60.64.88.1 | 3.12.74-60.64.88.1 |
| SUSE:Linux Enterprise Module for Public Cloud 12 | kernel-ec2 | before 3.12.61-52.128.1 | 3.12.61-52.128.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-default | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-pae | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-source | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-syms | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-trace | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | kernel-xen | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Real Time 11 SP4 | kernel-rt | before 3.0.101.rt130-69.24.1 | 3.0.101.rt130-69.24.1 |
| SUSE:Linux Enterprise Real Time 11 SP4 | kernel-rt_trace | before 3.0.101.rt130-69.24.1 | 3.0.101.rt130-69.24.1 |
| SUSE:Linux Enterprise Real Time 11 SP4 | kernel-source-rt | before 3.0.101.rt130-69.24.1 | 3.0.101.rt130-69.24.1 |
| SUSE:Linux Enterprise Real Time 11 SP4 | kernel-syms-rt | before 3.0.101.rt130-69.24.1 | 3.0.101.rt130-69.24.1 |
| SUSE:Linux Enterprise Real Time 12 SP3 | kernel-rt | before 4.4.128-3.11.1 | 4.4.128-3.11.1 |
| SUSE:Linux Enterprise Real Time 12 SP3 | kernel-rt_debug | before 4.4.128-3.11.1 | 4.4.128-3.11.1 |
| SUSE:Linux Enterprise Real Time 12 SP3 | kernel-source-rt | before 4.4.128-3.11.1 | 4.4.128-3.11.1 |
| SUSE:Linux Enterprise Real Time 12 SP3 | kernel-syms-rt | before 4.4.128-3.11.1 | 4.4.128-3.11.1 |
| SUSE:Linux Enterprise Server 11 SP3-LTSS | kernel-bigsmp | before 3.0.101-0.47.106.22.1 | 3.0.101-0.47.106.22.1 |
| SUSE:Linux Enterprise Server 11 SP4 | kernel-bigmem | before 3.0.101-108.38.1 | 3.0.101-108.38.1 |
+25
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2017-18232Mar 15, 2018 · The Serial Attached SCSI (SAS) implementation in the Linux kernel through 4.15.9 mishandles a mutex within libsas, which allows local users…22Monitor
- ← EarlierCVE-2018-1068Mar 16, 2018 · A flaw was found in the Linux 4.x kernel's implementation of 32-bit syscall interface for bridging.26Monitor
- Later →CVE-2017-18241Mar 21, 2018 · fs/f2fs/segment.c in the Linux kernel before 4.13 allows local users to cause a denial of service (NULL pointer dereference and panic) by…22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:linux | 4.15.17-1 · Debian:12 | Package registry (OSV) |
| suse:kernel-bigmem | 3.0.101-108.38.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-default | 4.4.126-94.22.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:kernel-docs | 4.4.126-94.22.1 · SUSE:Linux Enterprise Software Development Kit 12 SP3 | Package registry (OSV) |
| suse:kernel-ec2 | 3.0.101-108.38.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-obs-build | 4.4.126-94.22.1 · SUSE:Linux Enterprise Software Development Kit 12 SP3 | Package registry (OSV) |
| suse:kernel-pae | 3.0.101-108.38.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-ppc64 | 3.0.101-108.38.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-source | 4.4.126-94.22.2 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:kernel-syms | 4.4.126-94.22.1 · SUSE:Linux Enterprise Desktop 12 SP3 | Package registry (OSV) |
| suse:kernel-trace | 3.0.101-108.38.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kernel-xen | 3.0.101-108.38.1 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP3_Update_11 | 1-4.5.1 · SUSE:Linux Enterprise Live Patching 12 SP3 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- www.securityfocus.com/bid/103476
- lists.debian.org/debian-lts-announce/2018/05/msg00000.html
- usn.ubuntu.com/3653-1/
- usn.ubuntu.com/3653-2/
- usn.ubuntu.com/3654-1/
- usn.ubuntu.com/3654-2/
- usn.ubuntu.com/3655-1/
- usn.ubuntu.com/3655-2/
- usn.ubuntu.com/3656-1/
- usn.ubuntu.com/3657-1/
- www.debian.org/security/2018/dsa-4187
- www.debian.org/security/2018/dsa-4188
- www.mail-archive.com/netdev%40vger.kernel.org/msg223373.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.