Siemens SIMATIC S7-1500 Use After Free (CVE-2024-56606)

high Tenable OT Security Plugin ID 504318

Synopsis

The remote OT asset is affected by a vulnerability.

Description

af_packet: avoid erroring out after sock_init_data() in packet_create() After sock_init_data() the allocated sk object is attached to the provided sock object. On error, packet_create() frees the sk object leaving the dangling pointer in the sock object on return. Some other code may try to use this pointer and cause use- after-free.

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

Solution

The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original can be found at CISA.gov.

Siemens has identified the following specific workarounds and mitigations users can apply to reduce risk:

- All affected products: Update to V3.2 or later version

As a general security measure, Siemens recommends protecting network access to devices with appropriate mechanisms. To operate the devices in a protected IT environment, Siemens recommends configuring the environment according to Siemens' operational guidelines for industrial security and following recommendations in the product manuals.

Additional information on industrial security by Siemens can be found on the Siemens industrial security webpage

For more information see the associated Siemens security advisory SSA-355557 in HTML and CSAF.

See Also

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

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

https://support.industry.siemens.com/cs/ww/en/view/109988839/

https://support.industry.siemens.com/cs/ww/en/view/109478459/

https://www.cisa.gov/news-events/ics-advisories/ICSA-25-226-07

Plugin Details

Severity: High

ID: 504318

File Name: tenable_ot_siemens_CVE-2024-56606.nasl

Version: 1.3

Type: remote

Family: Tenable.ot

Published: 11/13/2025

Updated: 2/12/2026

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v3

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: cpe:/o:siemens:scalance_xrh-300_series_firmware, cpe:/o:siemens:scalance_xc-300_series_firmware, cpe:/o:siemens:scalance_xc-400_series_firmware, cpe:/o:siemens:scalance_xch-300_series_firmware, cpe:/o:siemens:siplus_s7-1500_cpu_firmware:3.1.5, cpe:/o:siemens:scalance_xrm-300_series_firmware, cpe:/o:siemens:scalance_xcm-300_series_firmware, cpe:/o:siemens:scalance_xr-500_series_firmware, cpe:/o:siemens:ruggedcom_rst2428p_firmware:3.2, cpe:/o:siemens:scalance_xr-500wg_series_firmware, cpe:/o:siemens:simatic_s7-1500_cpu_firmware:3.1.5, cpe:/o:siemens:scalance_xr-300_series_firmware

Required KB Items: Tenable.ot/Siemens

Exploit Ease: No known exploits are available

Patch Publication Date: 12/12/2023

Vulnerability Publication Date: 12/12/2023

Reference Information

CVE: CVE-2024-56606

CWE: 416

ICSA: 25-226-07