Siemens SIMATIC Devices Out-of-bounds Write (CVE-2025-21865)

medium Tenable OT Security Plugin ID 503686

Synopsis

The remote OT asset is affected by a vulnerability.

Description

gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl().
Commit eb28fd76c0a0 (gtp: Destroy device along with udp socket's netns dismantle.) added the for_each_netdev() loop in gtp_net_exit_batch_rtnl() to destroy devices in each netns as done in geneve and ip tunnels. However, this could trigger ->dellink() twice for the same device during ->exit_batch_rtnl().

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

https://cert-portal.siemens.com/productcert/html/ssa-082556.html

https://cert-portal.siemens.com/productcert/html/ssa-265688.html

Plugin Details

Severity: Medium

ID: 503686

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 10/27/2025

Updated: 10/29/2025

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Vulnerability Information

CPE: cpe:/o:siemens:simatic_s7-1500_cpu_firmware:3.1.5, cpe:/o:siemens:siplus_s7-1500_cpu_firmware, cpe:/o:siemens:simatic_s7-1500_tm_mfp

Required KB Items: Tenable.ot/Siemens

Exploit Ease: No known exploits are available

Patch Publication Date: 4/9/2024

Vulnerability Publication Date: 4/9/2024

Reference Information

CVE: CVE-2025-21865

CWE: 787