CVE-2023-7256 in Siemens SCALANCE XR-300 and 12 more products
In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.
Affects 13 products from 2 vendors. Description from NVD and MITRE.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Siemens | SCALANCE XR-300 (device and firmware) | < 3.3 |
| Siemens | SCALANCE XR-500 (device and firmware) | < 3.3 |
| Siemens | RUGGEDCOM RST2428P (device and firmware) | < 3.3 |
| Siemens | SCALANCE XCH328 | < 3.3 |
| Siemens | SCALANCE XCM324 | < 3.3 |
| Siemens | SCALANCE XCM328 | < 3.3 |
| Siemens | SCALANCE XCM332 | < 3.3 |
| Siemens | SCALANCE XRH334 | < 3.3 |
| Siemens | SCALANCE XRM334 | < 3.3 |
| Tcpdump | Libpcap | < 1.10.5 |
| Phoenixcontact | Axc F 1152 Firmware | < 2025.0.2 |
| Phoenixcontact | Axc F 2152 Firmware | < 2025.0.2 |
| Phoenixcontact | Axc F 3152 Firmware | < 2025.0.2 |
| Phoenixcontact | Bpc 9102S Firmware | < 2025.0.2 |
| Phoenixcontact | Rfc 4072S Firmware | < 2025.0.2 |
Fix and vendor advisory
- RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2) and 11 more: Update to V3.3 or later version
- SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: See Section Additional Information.
Source: ICSA-26-043-06
- Update to the latest 2025.0.2 Firmware Release. PHOENIX CONTACT recommends to always use an up-to-date version of the PLCnext Engineer.
Source: VDE-2025-053
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-7256 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-179521-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-08-31 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.