Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2018-18559: In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an…

HighCVSS 8.1 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 33/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: 2.6% (FIRST EPSS); higher than 85.6% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: linux (Debian:12) 4.14.7-1; bpftool (Red Hat:enterprise_linux:7::client) 0:3.10.0-957.5.1.el7; kernel (Red Hat:enterprise_linux:7::client) 0:3.10.0-957.5.1.el7.

Low priority for now. Upgrade to linux (Debian:12) 4.14.7-1; bpftool (Red Hat:enterprise_linux:7::client) 0:3.10.0-957.5.1.el7; kernel (Red Hat:enterprise_linux:7::client) 0:3.10.0-957.5.1.el7 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

In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an AF_PACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. The code mishandles a certain multithreaded case involving a packet_do_bind unregister action followed by a packet_notifier register action. Later, packet_release operates on only one of the two applicable linked lists. The attacker can achieve Program Counter control.

Published
Oct 22, 2018
Updated
Jun 16, 2026
EPSS
2.6% · 85th percentile

Report tools

JSON

Action score

33

Monitor

Low priority for now.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.6%

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.

Follow CVE-2018-18559

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
linuxlinux kernel
redhatopenshift container platform
redhatvirtualization host
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux server tus
redhatenterprise linux workstation

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • linux linux kernel3.2.95 and later · before 3.2.100
  • linux linux kernel3.14.58 and later · before 3.15
  • linux linux kernel3.18.25 and later · before 3.18.88
  • linux linux kernel4.1.14 and later · before 4.1.49
  • linux linux kernel4.2.7 and later · before 4.3
  • linux linux kernel4.3.1 and later · before 4.4.106
  • linux linux kernel4.5 and later · before 4.9.70
  • linux linux kernel4.10 and later · before 4.14.7

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 4.14.7-14.14.7-1
Red Hat:enterprise_linux:7::clientbpftoolbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernelbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-abi-whitelistsbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debugbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debug-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debug-develbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-debuginfo-common-x86_64before 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-develbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-docbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-headersbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-toolsbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-libsbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-libs-develbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientperfbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientperf-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientpython-perfbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::clientpython-perf-debuginfobefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7
Red Hat:enterprise_linux:7::serverkernelbefore 0:4.14.0-115.17.1.el7a0:4.14.0-115.17.1.el7a
Red Hat:enterprise_linux:7::serverkernel-abi-whitelistsbefore 0:4.14.0-115.17.1.el7a0:4.14.0-115.17.1.el7a
Red Hat:enterprise_linux:7::serverkernel-altbefore 0:4.14.0-115.17.1.el7a0:4.14.0-115.17.1.el7a
Red Hat:enterprise_linux:7::serverkernel-bootwrapperbefore 0:3.10.0-957.5.1.el70:3.10.0-957.5.1.el7

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • 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…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2018-18445Oct 17, 2018 · In the Linux kernel 4.14.x, 4.15.x, 4.16.x, 4.17.x, and 4.18.x before 4.18.13, faulty computation of numeric bounds in the BPF verifier…
    31Monitor
  • ← EarlierCVE-2018-18386Oct 17, 2018 · drivers/tty/n_tty.c in the Linux kernel before 4.14.11 allows local attackers (who are able to access pseudo terminals) to hang/block…
    13Monitor
  • Later →CVE-2018-6559Oct 26, 2018 · The Linux kernel, as used in Ubuntu 18.04 LTS and Ubuntu 18.10, allows local users to obtain names of files in which they would not…
    13Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:linux4.14.7-1 · Debian:12Package registry (OSV)
red hat:bpftool0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-abi-whitelists0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug-debuginfo0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug-devel0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debuginfo0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debuginfo-common-x86_640:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-devel0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-doc0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-headers0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-tools0:3.10.0-957.5.1.el7 · Red Hat:enterprise_linux:7::clientPackage 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

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

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
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/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.

References

All records