CVE-2024-50262

Local privilege escalation via BPF trie overflow

Published Nov 9, 2024 · Updated Aug 5, 2026

An out-of-bounds write in Linux kernel BPF LPM trie iteration allows local users to corrupt kernel memory through a crafted trie. trie_get_next_key allocates a stack for max_prefixlen nodes but records max_prefixlen plus one nodes when traversing a complete root-to-leaf path. A local user with a readable LPM_TRIE map descriptor can cause a kernel crash or gain elevated privileges without user interaction.

CVSS severity7.8
High
EPSS probability0.27%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

An out-of-bounds write in Linux kernel BPF LPM trie iteration allows local users to corrupt kernel memory through a crafted trie. trie_get_next_key allocates a stack for max_prefixlen nodes but records max_prefixlen plus one nodes when traversing a complete root-to-leaf path. A local user with a readable LPM_TRIE map descriptor can cause a kernel crash or gain elevated privileges without user interaction.

The record

CVE
CVE-2024-50262
Published
Nov 9, 2024
Updated
Aug 5, 2026
Vendor
Siemens
Product
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classifications
CWE-787, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Nov 9, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=V3.1.0 <V3.1.5

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

Siemens · SIPLUS S7-1500 CPU 1518-4 PN/DP MFPversion=V3.1.0 <V3.1.5
Siemens · SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 familyversion=0 <V3.2
Siemens · SIMATIC S7-1500 TM MFP - GNU/Linux subsystemversion=0 <*
The Linux Kernel Organization · Linuxversion=4.16; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <13400ac8fb80c57c2bfb12ebd35ee121ce9b4d21; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <590976f921723d53ac199c01d5b7b73a94875e68; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <86c8ebe02d8806dd8878d0063e8e185622ab6ea6; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <90a6e0e1e151ef7a9282e78f54c3091de2dcc99c; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <91afbc0eb3c90258ae378ae3c6ead3d2371e926d; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <a035df0b98df424559fd383e8e1a268f422ea2ba; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <c4b4f9a9ab82238cb158fa4fe61a8c0ae21a4980; version=b471f2f1de8b816f1e799b80aa92588f3566e4bd <e8494ac079814a53fbc2258d2743e720907488ed
Siemens · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPversion=V3.1.0 <V3.1.5
Siemens · SCALANCE XCM/XRM/XCH/XRH-300 familyversion=0 <V3.2
Siemens · RUGGEDCOM RST2428Pversion=0 <V3.2
Siemens · SIMATIC S7-1500 CPU 1518-4 PN/DP MFPversion=V3.1.0 <V3.1.5

Published CVSS scores

5.5Siemens ProductCERT SSA-398330CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
5.5Siemens ProductCERT SSA-355557CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
7.8NIST NVDCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8Linux Kernel CNACVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-787Out-of-bounds Write
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo