CVE-2024-8006 in Siemens SCALANCE XR-300 and 12 more products
Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.
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-2024-8006 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-047252-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.