CVE-2017-7518: 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…
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.67% (FIRST EPSS); higher than 52.6% of all records.
- 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.11.11-1; linux (Debian:8) 3.16.43-2+deb8u5; linux (Debian:9) 4.9.30-2+deb9u5.
- Severity is disputed: the assigning authority (CNA) scores it 5.5, NVD 7.8.
Low priority for now. Upgrade to linux (Debian:12) 4.11.11-1; linux (Debian:8) 3.16.43-2+deb8u5; linux (Debian:9) 4.9.30-2+deb9u5 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
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.
- Published
- Jul 30, 2018
- Updated
- Jun 16, 2026
- EPSS
- 0.6% · 52th percentile
- CWE
- CWE-250
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.6%
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 5.5
- 2.3 point gap
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
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 |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
[UNKNOWN] Kernel:
- 4.12affected
Affected versions · NVD (12)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- debian debian linux8.0
- debian debian linux9.0
- linux linux kernelbefore 4.12
- 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
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.11.11-1 | 4.11.11-1 |
| Debian:8 | linux | before 3.16.43-2+deb8u5 | 3.16.43-2+deb8u5 |
| Debian:9 | linux | before 4.9.30-2+deb9u5 | 4.9.30-2+deb9u5 |
| Red Hat:enterprise_linux:7::client | kernel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-abi-whitelists | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debug-devel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-debuginfo-common-x86_64 | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-devel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-doc | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-headers | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-libs | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | kernel-tools-libs-devel | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | perf | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | perf-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | python-perf | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::client | python-perf-debuginfo | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-bootwrapper | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-ppc64 | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
| Red Hat:enterprise_linux:7::server | kernel-debuginfo-common-ppc64le | before 0:3.10.0-693.21.1.el7 | 0:3.10.0-693.21.1.el7 |
+37
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-2018-14734Jul 29, 2018 · drivers/infiniband/core/ucma.c in the Linux kernel through 4.17.11 allows ucma_leave_multicast to access a certain data structure after a…31Monitor
- ← EarlierCVE-2017-7482Jul 30, 2018 · In the Linux kernel before version 4.12, Kerberos 5 tickets decoded when using the RXRPC keys incorrectly assumes the size of a field.31Monitor
- Later →CVE-2018-10883Jul 30, 2018 · A flaw was found in the Linux kernel's ext4 filesystem.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.11.11-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-abi-whitelists | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-devel | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-doc | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-headers | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-tools | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:kernel-tools-debuginfo | 0:3.10.0-693.21.1.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:kernel-default | 4.4.90-92.45.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:kernel-docs | 4.4.90-92.45.3 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
| suse:kernel-ec2 | 3.12.74-60.64.63.1 · SUSE:Linux Enterprise Module for Public Cloud 12 | Package registry (OSV) |
| suse:kernel-obs-build | 4.4.90-92.45.1 · SUSE:Linux Enterprise Software Development Kit 12 SP2 | Package registry (OSV) |
| suse:kernel-rt | 4.4.88-18.1 · SUSE:Linux Enterprise Real Time 12 SP2 | Package registry (OSV) |
| suse:kernel-rt_debug | 4.4.88-18.1 · SUSE:Linux Enterprise Real Time 12 SP2 | Package registry (OSV) |
| suse:kernel-source | 4.4.90-92.45.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:kernel-source-rt | 4.4.88-18.1 · SUSE:Linux Enterprise Real Time 12 SP2 | Package registry (OSV) |
| suse:kernel-syms | 4.4.90-92.45.1 · SUSE:Linux Enterprise Desktop 12 SP2 | Package registry (OSV) |
| suse:kernel-xen | 3.12.74-60.64.63.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP1_Update_22 | 1-2.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:kgraft-patch-SLE12-SP2_Update_14 | 1-2.4 · SUSE:Linux Enterprise Live Patching 12 | 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-250 · Execution with Unnecessary PrivilegesCVSS vector
CVSS:3.0/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.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- www.securityfocus.com/bid/99263
- www.securitytracker.com/id/1038782
- access.redhat.com/articles/3290921
- access.redhat.com/errata/RHSA-2018:0395
- access.redhat.com/errata/RHSA-2018:0412
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7518
- usn.ubuntu.com/3619-1/
- usn.ubuntu.com/3619-2/
- usn.ubuntu.com/3754-1/
- www.debian.org/security/2017/dsa-3981
- www.spinics.net/lists/kvm/msg151817.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.