cve.bz

CVE-2017-7518 Execution with Unnecessary Privileges

7.8 highEPSS 0.7%Fix available

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

On this page
A flaw was found in the Linux kernel before version 4.12 in the way the KVM module processed the trap flag(TF) bit in EFLAGS during emulation of the syscall instruction, which leads to a debug exception(#DB) being raised in the guest stack. A user/process inside a guest could use this flaw to potentially escalate their privileges inside the guest. Linux guests are not affected by this.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-755 Improper Handling of Exceptional Conditions
CWE-250 Execution with Unnecessary Privileges
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
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-2017-7518 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-7518?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-7518?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-2017-7518 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 NVD's CPE matches.

ProductAffected
redhat:enterprise_linux7.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_eus7.4
redhat:enterprise_linux_server_eus7.5
redhat:enterprise_linux_workstation7.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
debian:debian_linux8.0
debian:debian_linux9.0
linux:linux_kernelbefore 4.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.43-2+deb8u5DSA-3981-1
Debian9linux4.9.30-2+deb9u5DSA-3981-1
Debian12, 13, 14linux4.11.11-1DEBIAN-CVE-2017-7518
Ubuntu14.04:LTSlinux3.13.0-157.207UBUNTU-CVE-2017-7518 USN-3754-1
Ubuntu14.04:LTSlinux-aws4.4.0-1016.16UBUNTU-CVE-2017-7518 USN-3619-2
Ubuntu14.04:LTSlinux-lts-xenial4.4.0-119.143~14.04.1UBUNTU-CVE-2017-7518 USN-3619-2
Ubuntu16.04:LTSlinux4.4.0-119.143UBUNTU-CVE-2017-7518 USN-3619-1
Ubuntu16.04:LTSlinux-aws4.4.0-1054.63UBUNTU-CVE-2017-7518 USN-3619-1
Ubuntu16.04:LTSlinux-gcp4.13.0-1002.5UBUNTU-CVE-2017-7518
Ubuntu16.04:LTSlinux-hwe4.13.0-32.35~16.04.1UBUNTU-CVE-2017-7518
Ubuntu16.04:LTSlinux-kvm4.4.0-1020.25UBUNTU-CVE-2017-7518 USN-3619-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1086.94UBUNTU-CVE-2017-7518 USN-3619-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1088.93UBUNTU-CVE-2017-7518 USN-3619-1
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 1 moreno fix listedUBUNTU-CVE-2017-7518
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2017-7518
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::workstationperf, kernel, kernel-doc and 15 more0:3.10.0-693.21.1.el7RHSA-2018:0395
Red Hatenterprise_linux:7::serverperf, kernel, kernel-doc and 22 more0:3.10.0-693.21.1.el7RHSA-2018:0395
Red Hatrhel_extras_rt:7kernel-rt, kernel-rt-doc, kernel-rt-kvm and 14 more0:3.10.0-693.21.1.rt56.639.el7RHSA-2018:0412
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 morekernel-syms, kernel-source, kernel-default4.4.90-92.45.1SUSE-SU-2017:2869-1
SUSELinux Enterprise High Availability Extension 12 SP2, Linux Enterprise Workstation Extension 12 SP2kernel-default4.4.90-92.45.1SUSE-SU-2017:2869-1
SUSELinux Enterprise Live Patching 12kgraft-patch-SLE12-SP2_Update_141-2.4SUSE-SU-2017:2869-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.61-52.101.1SUSE-SU-2017:2920-1
SUSELinux Enterprise Module for Public Cloud 12kernel-ec23.12.74-60.64.63.1SUSE-SU-2017:2908-1
SUSELinux Enterprise Real Time 12 SP2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more4.4.88-18.1SUSE-SU-2017:2956-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1, OpenStack Cloud 6kernel-xen, kernel-syms, kernel-source and 1 more3.12.74-60.64.63.1SUSE-SU-2017:2908-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1, OpenStack Cloud 6kgraft-patch-SLE12-SP1_Update_221-2.1SUSE-SU-2017:2908-1
SUSELinux Enterprise Server 12-LTSSkernel-xen, kernel-syms, kernel-source and 1 more3.12.61-52.101.1SUSE-SU-2017:2920-1
SUSELinux Enterprise Server 12-LTSSkgraft-patch-SLE12_Update_281-8.1SUSE-SU-2017:2920-1
SUSELinux Enterprise Software Development Kit 12 SP2kernel-docs4.4.90-92.45.3SUSE-SU-2017:2869-1
SUSELinux Enterprise Software Development Kit 12 SP2kernel-obs-build4.4.90-92.45.1SUSE-SU-2017:2869-1

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

Red Hat's statement

This issue does not affect the versions of the kernel package as shipped with

Red Hat Enterprise Linux 5, 6 and Red Hat Enterprise MRG 2.

This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7. Future kernel updates for Red Hat Enterprise Linux 7

may address this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7kernel-rt-0:3.10.0-693.21.1.rt56.639.el7Fixed 2018-03-06RHSA-2018:0412
Red Hat Enterprise Linux 7kernel-0:3.10.0-693.21.1.el7Fixed 2018-03-06RHSA-2018:0395
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise MRG 2realtime-kernelNot 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-2017-7518.

Attack patterns (CAPEC)

  • CAPEC-69 Target Programs with Elevated Privileges Likelihood: High · Severity: Very High
  • CAPEC-104 Cross Zone Scripting Likelihood: Medium · Severity: High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON