Security Advisory

CVE-2021-20987: Hilscher EtherNet/IP Core in Pepperl+Fuchs

Last updated:
  • CVE-2021-20987

CVE-2021-20987 is an out-of-bounds write (CWE-787) in the Hilscher EtherNet/IP Core V2 stack before V2.13.0.21, which Pepperl+Fuchs uses in PCV and PXV position sensors, WCS3B read heads and ICE1 Ethernet I/O modules. Crafted network traffic can crash a device without recovery and may allow code injection. NVD scores it 8.6. Pepperl+Fuchs names network measures, no firmware fix.

Need to know whether your firmware ships an affected version? Get a firmware scan report or contact us.

How severe is CVE-2021-20987?

CVSS base score

8.6

High severity

EPSS score (FIRST)

1.2%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2021-20987 · Source: NVD

CVSS v3.1 severity rating scale: None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0
How a CVSS v3.1 base score maps to a severity rating. Source: FIRST CVSS v3.1 specification, section 5.

Which products and versions does CVE-2021-20987 affect?

ComponentCPEVersion range
Hilscher EtherNet/IP Core V2 (EtherNet/IP adapter firmware)cpe:2.3:o:hilscher:ethernet\/ip_adapter_firmware:*:*:*:*:*:*:*:*V2.0 up to but not including V2.13.0.21 (NVD); fixed in V2.13.0.21 per the CVE description
Pepperl+Fuchs PCV50/PCV80/PCV100 and PXV100/PXV100I -F200-B25-V1D position sensorscpe:2.3:o:pepperl-fuchs:pxv100-f200-b25-v1d_firmware:*:*:*:*:*:*:*:*V1.10.0 and below (VDE-2021-007, NVD); no fixed firmware named
Pepperl+Fuchs WCS3B-LS510 read heads (LS510, D, DH, H and -OM variants)cpe:2.3:o:pepperl-fuchs:wcs_firmware:*:*:*:*:*:*:*:*V1.2.1 and below (VDE-2021-007, NVD); no fixed firmware named
Pepperl+Fuchs ICE1 Ethernet I/O modules (ICE1-16DI, ICE1-16DIO, ICE1-8DI8DO, ICE1-8IOL models)—F10017 and below (VDE-2021-018); not in NVD's CPE list; no fixed firmware named

What does CVE-2021-20987 mean for affected devices?

The CVE description reads: "A denial of service and memory corruption vulnerability was found in Hilscher EtherNet/IP Core V2 prior to V2.13.0.21 that may lead to code injection through network or make devices crash without recovery." NVD's Primary score is CVSS v3.1 8.6 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H), with CVSS v2 7.8; CERT@VDE gives the same v3.1 vector as CNA, and both list CWE-787. The record, titled "EtherNet/IP stack crash for specific CIP service", was published on 2021-02-16 (NVD, CVE record).

Which Pepperl+Fuchs devices carry the stack?

Products Affected firmware Advisory
PCV50, PCV80, PCV100 (-6011, -6011-6720), PXV100, PXV100I -F200-B25-V1D position sensors V1.10.0 and below VDE-2021-007
WCS3B-LS510, -LS510D, -LS510DH, -LS510H and their -OM variants V1.2.1 and below VDE-2021-007
ICE1-16DI, ICE1-16DIO (incl. -C1), ICE1-8DI8DO (incl. -C1), ICE1-8IOL (G30L, G60L, S2-G60L) Ethernet I/O modules F10017 and below VDE-2021-018

NVD's CPE configuration covers the Hilscher stack, the PCV and PXV sensors and the WCS read heads, but not the ICE1 modules, so a scanner that relies on NVD CPEs alone will miss them. VDE-2021-018, published on 2021-05-12, also lists the Hilscher PROFINET flaw CVE-2021-20986, an rcX UDP length flaw and an mbed TLS flaw for the ICE1 range. One record-keeping slip: the summary text shown for this CVE in VDE-2021-007 and its CSAF file is copied from an unrelated Carlo Gavazzi advisory; the CVE record, score and CWE are correct.

What should owners do?

Neither Pepperl+Fuchs advisory names fixed firmware; both say an external protective measure is required. Minimize network exposure and keep the devices off the internet, isolate them from the corporate network, and use secure methods such as VPNs where remote access is needed (VDE-2021-018 CSAF). Because the flaw sits in EtherNet/IP handling, restrict EtherNet/IP traffic (TCP and UDP port 44818, UDP port 2222) to the scanner or PLC that owns each device. The CVE description warns that devices can crash "without recovery", so plan how a sensor on a critical axis would be restarted or swapped.

The Pepperl+Fuchs vulnerabilities guide lists both advisories, the EtherNet/IP protocol security guide covers CIP traffic control, and the memory corruption fix guide covers the class.

CVE-2021-20987 is not in the CISA KEV catalog as of 2026-12-05 (catalog version 2026.12.04, 1,814 entries). FIRST EPSS gives it 0.01152, the 68th percentile, in the 2026-12-04 dataset (CISA KEV, FIRST EPSS).

Three signals on every advisory: CVSS says how severe the flaw is, EPSS gives the probability of exploitation in the wild in the next 30 days, and a CISA KEV listing means the flaw has been exploited in the wild
CVSS rates severity, EPSS estimates the likelihood of exploitation, and CISA KEV records exploitation seen in the wild. Source: FIRST EPSS; CISA KEV catalog.

How do the CVSS, EPSS and KEV signals for CVE-2021-20987 compare?

CVE-2021-20987 signals as recorded on this page, last checked .
SignalValue for CVE-2021-20987SourceWhat it tells you
CVSS base score8.6 (High)NVDHow severe the flaw is in its worst case, from 0.0 to 10.0; it says nothing about whether anyone is exploiting it.
EPSS probability1.2%FIRST EPSSThe probability that the CVE is exploited in the wild in the next 30 days.
CISA KEV listingNot listed as of 2026-12-05CISA KEV catalogA listing means CISA has reliable evidence of exploitation in the wild; BOD 22-01 sets a remediation due date for US federal civilian agencies.
Published2021-02-16NVDThe date the CVE record was first published in NVD.

How does the CVE-2021-20987 score change on your network?

A CVSS base score assumes the worst-case exposure. If the vulnerable interface on your device is reachable only from a local segment, or an attacker needs an account first, change those metrics below to see the re-scored base value. The FIRST CVSS v3.1 specification puts deployment-specific scoring in the Environmental metric group, so treat this as a quick what-if, not a replacement score.

Starting vector (matches the CVSS score above): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

Quoted vector: 8.6 (High)

Your re-score: 8.6 (High)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H

How to fix this class of issueThis advisory's weakness class is Memory corruption. Our practical guide covers how to detect, fix, verify and disclose it: How to fix memory corruption in embedded firmware.
From advisory to verified fix in four steps: read the advisory, find the affected component in the firmware SBOM, apply the fixed version or vendor mitigation, then re-scan the image to confirm the vulnerable version is gone
Read the advisory, find the component in your firmware SBOM, apply the fix, then re-scan to confirm it.

How do you check CVE-2021-20987 status from the command line?

These commands re-read the three public signals for CVE-2021-20987 (NVD, FIRST EPSS and the CISA KEV feed) so a build pipeline or a ticket can record the current values. They need curl and jq.

# NVD: CVSS metrics and record status (no API key: at most 5 requests per 30 s)
curl -s "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-20987" \
  | jq '.vulnerabilities[0].cve | {vulnStatus, metrics}'

# FIRST EPSS: today's exploitation probability and percentile
curl -s "https://api.first.org/data/v1/epss?cve=CVE-2021-20987" | jq '.data[0]'

# CISA KEV: prints the catalog entry, or nothing if the CVE is not listed
curl -s https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json \
  | jq --arg id CVE-2021-20987 '.vulnerabilities[] | select(.cveID == $id)'

Which sources back each CVE-2021-20987 claim?

  • NVD (read 2026-12-05): status Modified; published 2021-02-16; NVD Primary CVSS v3.1 8.6 AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H and v2 7.8; CERT@VDE Secondary 8.6; NVD Primary CWE-787; CPE hilscher ethernet/ip_adapter_firmware 2.0 to before 2.13.0.21, pepperl-fuchs wcs_firmware up to 1.2.1, PXV/PCV B25 firmware up to 1.10.0; no ICE1 CPEs. — NVD
  • VDE-2021-007 (published 2021-02-16, revision 2 2025-05-14): Hilscher EtherNet/IP stack in PCV100-F200-B25-V1D-6011, -6011-6720, PCV50, PCV80, PXV100, PXV100I (<=V1.10.0) and WCS3B-LS510 variants (<=V1.2.1); mitigation only: minimize network exposure, isolate from corporate network, VPN. The summary text displayed for CVE-2021-20987 describes Carlo Gavazzi UWP3.0 hard-coded credentials. — CERT@VDE VDE-2021-007
  • CSAF VDE-2021-007: 14 products known_affected, remediation category mitigation only; vulnerability note text is the Carlo Gavazzi description. — CERT@VDE CSAF VDE-2021-007
  • VDE-2021-018 (published 2021-05-12): ICE1-16DI-G60L-V1D, ICE1-16DIO-G60L(-C1)-V1D, ICE1-8DI8DO-G60L(-C1)-V1D, ICE1-8IOL-G30L-V1D, ICE1-8IOL-G60L-V1D, ICE1-8IOL-S2-G60L-V1D <=F10017; CVE-2021-20987, 20988, 20986, CVE-2019-18222; mitigation only. — CERT@VDE VDE-2021-018
  • CVE record (checked 2026-12-05): state PUBLISHED, CNA CERTVDE, published 2021-02-16; title 'Hilscher: EtherNet/IP stack crash for specific CIP service'; Hilscher EtherNet/IP Core V2, P+F PCV/PXV/PGV up to V1.10.0, WCS up to V1.2.1. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.12.04, 1,814 entries, checked 2026-12-05. — CISA KEV
  • EPSS 0.01152, percentile 0.68006, dataset 2026-12-04, read 2026-12-05. — FIRST EPSS

Is your firmware affected by CVE-2021-20987?

Advisories in the same weakness class as CVE-2021-20987

Sources for CVE-2021-20987

  1. NVD
  2. CERT@VDE VDE-2021-007: Pepperl+Fuchs multiple products, Hilscher EtherNet/IP stack
  3. CERT@VDE CSAF: VDE-2021-007 (machine-readable advisory)
  4. CERT@VDE VDE-2021-018: Pepperl+Fuchs ICE1 Ethernet IO modules
  5. CERT@VDE CSAF: VDE-2021-018 (machine-readable advisory)
  6. CVE.org record CVE-2021-20987 (CNA: CERT@VDE), JSON
  7. CISA KEV
  8. FIRST EPSS

CVE-2021-20987: frequently asked questions

Which Pepperl+Fuchs devices are affected by CVE-2021-20987?

PCV and PXV -F200-B25-V1D position sensors up to V1.10.0 and WCS3B-LS510 read heads up to V1.2.1 (VDE-2021-007), and eight ICE1 Ethernet I/O module models up to F10017 (VDE-2021-018).

Is there a firmware fix from Pepperl+Fuchs?

Neither advisory names one. Hilscher's stack is fixed in V2.13.0.21 according to the CVE description, but Pepperl+Fuchs gives only network measures: no internet exposure, isolation from the corporate network and VPNs for remote access.

Why might a vulnerability scanner miss the ICE1 modules?

NVD's CPE list for this CVE covers the Hilscher stack, the PCV/PXV sensors and the WCS read heads, but not the ICE1 modules that VDE-2021-018 lists. Match ICE1 devices against the advisory instead.

Is CVE-2021-20987 in the CISA KEV catalog?

No, not as of 2026-12-05 (catalog version 2026.12.04, 1,814 entries). FIRST EPSS rates it 0.01152 (68th percentile) in the 2026-12-04 dataset.