Skip to main content

Linux Kernel CVE-2023-6931

HIGH
Out-of-bounds Write (CWE-787)
2023-12-19 cve-coordination@google.com
7.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged local shell
  2. Delivery
    Call perf_event_open with crafted group config
  3. Exploit
    Trigger read_size integer overflow in perf_read_group()
  4. Execution
    Heap out-of-bounds write corrupts kernel object
  5. Persist
    Overwrite credential or function pointer
  6. Impact
    Execute arbitrary code as root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

A low-privileged local user account on the target system is required (PR:L per CVSS vector) - remote unauthenticated exploitation is not possible. The perf_event_open syscall must be accessible to unprivileged users: on systems where kernel.perf_event_paranoid is set to 3 (common in hardened CIS benchmarks), unprivileged access is blocked and this vulnerability cannot be triggered. Default values of perf_event_paranoid vary by distribution - Debian and many upstream defaults allow unprivileged use, making default installations exploitable. Attack complexity is High (AC:H), meaning the attacker must additionally satisfy heap layout or timing prerequisites beyond basic access - reliable exploitation likely requires system-specific tuning. No user interaction from any victim is required (UI:N). Container environments that do not restrict the perf_event_open syscall via seccomp are also at risk if kernel namespace isolation is insufficient.

Impact

The CVSS 7.0 score with vector AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H accurately reflects the risk profile. Local access with low privileges is required, but the AC:H rating signals that reliable exploitation demands non-trivial heap layout manipulation or timing precision - this is not a push-button exploit. The full C:H/I:H/A:H impact triad is warranted given that successful kernel heap exploitation yields complete system compromise. EPSS at 0.44% (63rd percentile) shows this is above the median in relative terms but represents a very low absolute exploitation rate, consistent with the technical difficulty and absence of a public POC in the referenced data. There is no CISA KEV listing. The highest residual risk applies to multi-tenant environments where untrusted local users exist - shared hosting, CI/CD runners, container platforms with weak perf_event isolation, and embedded Linux appliances (as evidenced by Siemens advisories). Hardened systems with kernel.perf_event_paranoid=3 are not exploitable via this path.

Exploit ScenarioDerived

A low-privileged local user with shell access constructs a malicious perf_event group configuration designed to trigger the read_size integer overflow in perf_read_group(). Through careful heap grooming - allocating and freeing kernel objects to position a high-value target adjacent to the overflowed buffer - the attacker corrupts a kernel credential structure or function pointer, escalating from a regular user account to root. No public POC is referenced in the available data, and AC:H in the CVSS vector confirms this requires non-trivial exploitation precision.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Local privilege escalation in the Linux kernel's Performance Events subsystem exposes any system permitting unprivileged perf_event_open calls to full kernel compromise. The root cause is an integer overflow in the read_size calculation within perf_read_group(), producing a heap out-of-bounds increment or write (CWE-787) that can corrupt kernel data structures. No active exploitation is confirmed via CISA KEV, and EPSS at 0.44% (63rd percentile) indicates moderate relative interest but low absolute exploitation probability, consistent with the high attack complexity required.

RemediationAI

The primary fix is upgrading the Linux kernel past commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b, available at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=382c27f4ed28f803b1f1473ac2d8db0afc795a1b and mirrored at https://kernel.dance/382c27f4ed28f803b1f1473ac2d8db0afc795a1b. The patch is available from vendor per the intelligence data, though no specific tagged kernel release version is independently confirmed in the provided references. Debian LTS users should apply the January 2024 updates from https://lists.debian.org/debian-lts-announce/2024/01/msg00004.html. Siemens customers must consult the relevant product advisory at cert-portal.siemens.com for their specific platform. As an effective compensating control where patching is not immediately feasible, setting sysctl kernel.perf_event_paranoid=3 disables perf_event_open for unprivileged users entirely, eliminating the attack surface; the trade-off is loss of non-root performance monitoring capability. Alternatively, seccomp profiles that block the perf_event_open syscall in container workloads reduce exposure without system-wide impact.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel's Performance Events subsystem (perf_events), accessed via the perf_event_open syscall, enables hardware and software performance monitoring. The vulnerable path in perf_read_group() computes a read_size value that can overflow, causing subsequent heap memory writes to exceed allocated buffer boundaries - a classic CWE-787 Out-of-bounds Write. This class of flaw in kernel heap space can be exploited via heap grooming to overwrite adjacent kernel objects (e.g., cred structures, function pointers), enabling privilege escalation. Per CPE data, all Linux kernel versions are listed as affected (cpe:2.3:o:linux:linux_kernel:*), and Debian Linux 10.0 (Buster) is explicitly confirmed. Siemens has issued four separate CERT advisories (SSA-265688, SSA-398330, SSA-613116, SSA-794697) indicating downstream impact on industrial products shipping vulnerable kernel versions. The fix was coordinated and reported by Google's security team (cve-coordination@google.com).

Know when Debian Linux gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local-only access via perf_event_open, PR:L for required user account, AC:H for heap grooming prerequisites; full kernel compromise justifies C:H/I:H/A:H.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Aug 17, 2026 - 14:32 vuln.today
v1 - CVSS changed
CVSS changed
Aug 17, 2026 - 14:22 NVD
7.8 (HIGH) 7.0 (HIGH)
CVE Published
Dec 19, 2023 - 14:15 cve.org
HIGH 7.8

DescriptionNVD

A heap out-of-bounds write vulnerability in the Linux kernel's Performance Events system component can be exploited to achieve local privilege escalation.

A perf_event's read_size can overflow, leading to an heap out-of-bounds increment or write in perf_read_group().

We recommend upgrading past commit 382c27f4ed28f803b1f1473ac2d8db0afc795a1b.

Executive ViewAI

Why It Matters

Linux kernel's Performance Events subsystem contains a local privilege escalation vulnerability (CVE-2023-6931) enabling unprivileged users to escalate to kernel level, creating acute risk for organizations operating developer environments, build systems, or multi-tenant Linux infrastructure. Organizations with active local user populations face unauthorized kernel compromise if unpatched. A vendor patch is available and should be prioritized for immediate deployment.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 37% exploitable
Prevalence
Ubiquitous
Linux kernel underlies most servers, cloud instances, and embedded systems globally.
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy