cve.bz

CVE-2023-39191 Improper Input Validation

8.2 highEPSS 0.5%Fix available

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

On this page
An improper input validation flaw was found in the eBPF subsystem in the Linux kernel. The issue occurs due to a lack of proper validation of dynamic pointers within user-supplied eBPF programs prior to executing them. This may allow an attacker with CAP_BPF privileges to escalate privileges and execute arbitrary code in the context of the kernel.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
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-2023-39191 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-39191?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-39191?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-2023-39191 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.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 90:5.14.0-362.8.1.el9_3
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.48.1.el9_2
Red Hat Enterprise Linux 9.2 Extended Update Support0:5.14.0-284.48.1.rt14.333.el9_2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linuxno fix listedDEBIAN-CVE-2023-39191
Debian13, 14linux6.3.7-1DEBIAN-CVE-2023-39191
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-39191
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-39191
Ubuntu20.04:LTSlinux-gke, linux-riscv, linux-raspi2 and 24 moreno fix listedUBUNTU-CVE-2023-39191
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-gcp-6.2 and 18 moreno fix listedUBUNTU-CVE-2023-39191
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatrhel_eus:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.48.1.el9_2RHSA-2024:0448
Red Hatrhel_eus:9.2::appstream, rhel_eus:9.2::crbbpftool-debuginfo0:7.0.0-284.48.1.el9_2RHSA-2024:0448
Red Hatrhel_eus:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.48.1.el9_2RHSA-2024:0448
Red Hatrhel_eus:9.2::baseoskernel, kernel-64k, kernel-core and 40 more0:5.14.0-284.48.1.el9_2RHSA-2024:0448
Red Hatrhel_eus:9.2::baseoskpatch-patch-5_14_0-284_18_1, kpatch-patch-5_14_0-284_18_1-debuginfo, kpatch-patch-5_14_0-284_18_1-debugsource0:1-6.el9_2RHSA-2024:0381
6 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP5, Linux Enterprise Live Patching 15 SP5, Linux Enterprise Micro 5.5 and 2 morekernel-default5.14.21-150500.55.36.1SUSE-SU-2023:4375-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_09-150500.6.2SUSE-SU-2024:1097-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_18-150500.2.2SUSE-SU-2024:0995-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_56-150500.2.2SUSE-SU-2024:0986-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5-RT_Update_71-150500.11.3.1SUSE-SU-2023:4343-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_09-150500.6.2SUSE-SU-2024:1039-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_28-150500.2.3SUSE-SU-2024:1023-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_56-150500.2.3SUSE-SU-2024:1045-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_71-150500.11.5.1SUSE-SU-2023:4375-1
SUSELinux Enterprise Micro 5.5kernel-rt5.14.21-150500.13.24.1SUSE-SU-2023:4343-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5kernel-default-base5.14.21-150500.55.36.1.150500.6.15.3SUSE-SU-2023:4375-1
SUSELinux Enterprise Module for Basesystem 15 SP5kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150500.55.36.1SUSE-SU-2023:4375-1
3 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150500.55.36.1SUSE-SU-2023:4375-1
openSUSELeap 15.5kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150500.33.23.1SUSE-SU-2023:4414-1
openSUSELeap 15.5kernel-default-base5.14.21-150500.55.36.1.150500.6.15.3SUSE-SU-2023:4375-1
openSUSELeap 15.5kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.14.21-150500.13.24.1SUSE-SU-2023:4343-1
Azure Linux2kernel5.15.137.1-1AZL-31150
Alpaquitastreamlinux-ltsno fix listedBELL-CVE-2023-39191

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; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Dynamic pointers were introduced in Red Hat Enterprise Linux 9.2 while rebasing BPF to version 5.19. Previous RHEL releases (7, 8, and 9.0) are not affected by this CVE.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-362.8.1.el9_3Fixed 2023-11-07RHSA-2023:6583
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.48.1.el9_2Fixed 2024-01-25RHSA-2024:0448
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-rt-0:5.14.0-284.48.1.rt14.333.el9_2Fixed 2024-01-25RHSA-2024:0439
Red Hat Enterprise Linux 9.2 Extended Update Supportkpatch-patchFixed 2024-01-23RHSA-2024:0381
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

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-2023-39191.

Attack patterns (CAPEC)

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