cve.bz

CVE-2018-5391 (FragmentSmack) Uncontrolled Resource Consumption

7.5 highEPSS 32%Fix available

Known as FragmentSmack

High (7.5). EPSS 32% estimated probability of exploitation activity in the next 30 days.

On this page
The Linux kernel, versions 3.9+, is vulnerable to a denial of service attack with low rates of specially modified packets targeting IP fragment re-assembly. An attacker may cause a denial of service condition by sending specially crafted IP fragments. Various vulnerabilities in IP fragmentation have been discovered and fixed over the years. The current vulnerability (CVE-2018-5391) became exploitable in the Linux kernel with the increase of the IP fragment reassembly queue size.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
32% (unchanged from 32% a week ago; 32% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-400 Uncontrolled Resource Consumption
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-5391 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-5391?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-5391?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-5391 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux Kernelfrom 3.9 before 3.9*

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.59-1DLA-1529-1
Debian8linux-4.94.9.110-3+deb9u2~deb8u1DLA-1466-1
Debian8linux-4.94.9.144-3.1~deb8u1DLA-1715-1
Debian9linux4.9.110-3+deb9u2DSA-4272-1
Debian12, 13, 14linux4.17.15-1DEBIAN-CVE-2018-5391
Ubuntu14.04:LTSlinux3.13.0-155.205UBUNTU-CVE-2018-5391 USN-3742-1
Ubuntu14.04:LTSlinux-aws4.4.0-1027.30UBUNTU-CVE-2018-5391 USN-3741-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-133.159~14.04.1UBUNTU-CVE-2018-5391 USN-3741-2
Ubuntu16.04:LTSlinux4.4.0-133.159UBUNTU-CVE-2018-5391 USN-3741-1
Ubuntu16.04:LTSlinux-aws4.4.0-1065.75UBUNTU-CVE-2018-5391 USN-3741-1
Ubuntu16.04:LTSlinux-azure4.15.0-1021.21~16.04.1UBUNTU-CVE-2018-5391 USN-3740-2
Ubuntu16.04:LTSlinux-euclid4.4.0-9029.31UBUNTU-CVE-2018-5391
Ubuntu16.04:LTSlinux-gcp4.15.0-1017.18~16.04.1UBUNTU-CVE-2018-5391 USN-3740-2
Ubuntu16.04:LTSlinux-hwe4.15.0-32.35~16.04.1UBUNTU-CVE-2018-5391 USN-3740-2
Ubuntu16.04:LTSlinux-kvm4.4.0-1031.37UBUNTU-CVE-2018-5391 USN-3741-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1094.102UBUNTU-CVE-2018-5391 USN-3741-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1098.103UBUNTU-CVE-2018-5391 USN-3741-1
10 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::workstationperf, kernel, kernel-doc and 13 more0:2.6.32-754.6.3.el6RHSA-2018:2846
Red Hatenterprise_linux:6::serverperf, kernel, kernel-doc and 19 more0:2.6.32-754.6.3.el6RHSA-2018:2846
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, bpftool and 15 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, bpftool and 22 more0:3.10.0-957.el7RHSA-2018:3083
Red Hatenterprise_linux:7::serverperf, kernel, kernel-alt and 17 more0:4.14.0-115.el7aRHSA-2018:2948
Red Hatenterprise_mrg:2:server:el6kernel-rt, kernel-rt-doc, kernel-rt-debug and 12 more1:3.10.0-693.43.1.rt56.630.el6rtRHSA-2018:3586
Red Hatrhel_aus:6.4::serverperf, kernel, kernel-doc and 11 more0:2.6.32-358.93.1.el6RHSA-2018:2791
Red Hatrhel_aus:6.5::serverperf, kernel, kernel-doc and 12 more0:2.6.32-431.93.2.el6RHSA-2018:2933
Red Hatrhel_aus:6.6::server, rhel_tus:6.6::serverperf, kernel, kernel-doc and 12 more0:2.6.32-504.76.2.el6RHSA-2018:2924
Red Hatrhel_aus:7.2::server, rhel_e4s:7.2::server, rhel_tus:7.2::serverperf, kernel, kernel-doc and 15 more0:3.10.0-327.76.1.el7RHSA-2018:3590
Red Hatrhel_eus:6.7::computenodeperf, kernel, kernel-doc and 13 more0:2.6.32-573.65.2.el6RHSA-2018:2925
Red Hatrhel_eus:6.7::serverperf, kernel, kernel-doc and 19 more0:2.6.32-573.65.2.el6RHSA-2018:2925
7 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.121-92.92.1SUSE-SU-2018:2344-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morekgraft-patch-SLE12-SP2_Update_241-3.7.1SUSE-SU-2018:2344-1
SUSEEnterprise Storage 4, Linux Enterprise Server 12 SP2-LTSS, Linux Enterprise Server for SAP Applications 12 SP2 and 1 morelttng-modules2.7.1-9.4.1SUSE-SU-2018:2344-1
SUSELinux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP3, Linux Enterprise Server for SAP Applications 12 SP3kernel-syms, kernel-source, kernel-default4.4.175-94.79.1SUSE-SU-2019:0541-1
SUSELinux Enterprise High Availability Extension 12 SP2kernel-default4.4.121-92.92.1SUSE-SU-2018:2344-1
SUSELinux Enterprise High Availability Extension 12 SP3, Linux Enterprise Workstation Extension 12 SP3kernel-default4.4.175-94.79.1SUSE-SU-2019:0541-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Module for Legacy 15, Linux Enterprise Workstation Extension 15kernel-default4.12.14-25.13.1SUSE-SU-2018:2380-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_10, kgraft-patch-SLE12-SP3_Update_118-2.1SUSE-SU-2018:3860-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_12, kgraft-patch-SLE12-SP3_Update_136-2.1SUSE-SU-2018:3860-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_14, kgraft-patch-SLE12-SP3_Update_155-2.1SUSE-SU-2018:3860-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_231-4.7.1SUSE-SU-2019:0541-1
SUSELinux Enterprise Live Patching 12 SP3kgraft-patch-SLE12-SP3_Update_5, kgraft-patch-SLE12-SP3_Update_6, kgraft-patch-SLE12-SP3_Update_711-2.1SUSE-SU-2018:3865-1
35 more for SUSE in the JSON and on SUSE's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security is aware of this issue. Updates will be released as they become available. For additional information, please refer to the Red Hat Knowledgebase article: https://access.redhat.com/articles/3553061

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 6, 7, its real-time kernel, Red Hat Enterprise MRG 2, Red Hat Enterprise Linux 7 for ARM 64, and Red Hat Enterprise Linux 7 for Power 9. Future kernel updates for the respective releases will address this issue.

This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, but to a lesser degree. As such, the issue severity for RHEL5 is considered Moderate. This is not currently planned to be addressed in future updates of the product due to its life cycle and the issue severity. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Red Hat's mitigation

One may change the default 4MB and 3MB values of net.ipv4.ipfrag_high_thresh and net.ipv4.ipfrag_low_thresh (and their ipv6 counterparts net.ipv6.ipfrag_high_thresh and net.ipv6.ipfrag_low_thresh) to 256 kB and 192 kB (respectively) or below. Tests show some to significant CPU saturation drop during an attack, depending on a hardware, configuration and environment.

There can be some impact on performance though, due to ipfrag_high_thresh of 262144 bytes, as only two 64K fragments can fit in the reassembly queue at the same time. For example, there is a risk of breaking applications that rely on large UDP packets.

See the Mitigation section in the https://access.redhat.com/articles/3553061 article for the script to quickly change to/from default and lower settings.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernel-0:2.6.32-754.6.3.el6Fixed 2018-10-09RHSA-2018:2846
Red Hat Enterprise Linux 6.4 Advanced Update Supportkernel-0:2.6.32-358.93.1.el6Fixed 2018-09-25RHSA-2018:2791
Red Hat Enterprise Linux 6.5 Advanced Update Supportkernel-0:2.6.32-431.93.2.el6Fixed 2018-10-16RHSA-2018:2933
Red Hat Enterprise Linux 6.6 Advanced Update Supportkernel-0:2.6.32-504.76.2.el6Fixed 2018-10-16RHSA-2018:2924
Red Hat Enterprise Linux 6.6 Telco Extended Update Supportkernel-0:2.6.32-504.76.2.el6Fixed 2018-10-16RHSA-2018:2924
Red Hat Enterprise Linux 6.7 Extended Update Supportkernel-0:2.6.32-573.65.2.el6Fixed 2018-10-17RHSA-2018:2925
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-957.rt56.910.el7Fixed 2018-10-30RHSA-2018:3096
Red Hat Enterprise Linux 7kernel-alt-0:4.14.0-115.el7aFixed 2018-10-30RHSA-2018:2948
Red Hat Enterprise Linux 7kernel-0:3.10.0-957.el7Fixed 2018-10-30RHSA-2018:3083
Red Hat Enterprise Linux 7.2 Advanced Update Supportkernel-0:3.10.0-327.76.1.el7Fixed 2018-11-13RHSA-2018:3590
Red Hat Enterprise Linux 7.2 Telco Extended Update Supportkernel-0:3.10.0-327.76.1.el7Fixed 2018-11-13RHSA-2018:3590
Red Hat Enterprise Linux 7.2 Update Services for SAP Solutionskernel-0:3.10.0-327.76.1.el7Fixed 2018-11-13RHSA-2018:3590
Red Hat Enterprise Linux 7.3 Extended Update Supportkernel-0:3.10.0-514.58.1.el7Fixed 2018-09-25RHSA-2018:2785
Red Hat Enterprise Linux 7.4 Extended Update Supportkernel-0:3.10.0-693.43.1.el7Fixed 2018-11-13RHSA-2018:3540
Red Hat Enterprise Linux 7.5 Extended Update Supportkernel-0:3.10.0-862.20.2.el7Fixed 2018-11-06RHSA-2018:3459
Red Hat Enterprise MRG 2kernel-rt-1:3.10.0-693.43.1.rt56.630.el6rtFixed 2018-11-13RHSA-2018:3586
Red Hat Enterprise Linux 5kernelWill not fix
Red Hat Enterprise Linux 8kernelNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-5391.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-20-105-05Siemens RUGGEDCOM, SCALANCE, SIMATIC, SINEMA (Update B)2020-04-14MultipleSiemens RUGGEDCOM RM1224: All Versions < V6.1, Siemens RUGGEDCOM ROX II: All versions < V2.13.3, Siemens SCALANCE M-800 / S615: All Versions < V6.1 and 18 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON