Home / Schneider Electric / Modicon M340 CPU (part numbers BMXP34*) / CVE-2021-22786
CVE-2021-22786: is it exploited, and which versions of Schneider Electric Modicon M340 CPU (part numbers BMXP34*) are affected and fixed?
CVE-2021-22786 is an information disclosure vulnerability in Schneider Electric Modicon M340 CPU (part numbers BMXP34*). It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: Modicon M340 CPU (part numbers BMXP34*) from All before V3.30, Modicon M580 CPU (part numbers BMEP* and BMEH*) from All before V3.20, Modicon M580 CPU Safety (part numbers BMEP58*S and BMEH58*S) All Versions and 3 more (CVE record by schneider). Fixed in V3.30, V3.20, V1.6 and V2.3 (CVE record by schneider). Severity: High (7.5, CVSS 3.1, from schneider).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2021-22786?
A CWE-200: Information Exposure vulnerability exists that could cause the exposure of sensitive information stored on the memory of the controller when communicating over the Modbus TCP protocol. Affected Products: Modicon M340 CPU (part numbers BMXP34*) (Versions prior to V3.30), Modicon M580 CPU (part numbers BMEP* and BMEH*) (Versions prior to SV3.20), Modicon MC80 (BMKC80) (Versions prior to V1.6), Modicon M580 CPU Safety (part numbers BMEP58*S and BMEH58*S) (All Versions), Modicon Momentum MDI (171CBU*) (Versions prior to V2.3), Legacy Modicon Quantum (All Versions)
From the CVE record by schneider, last updated February 5, 2025, 20:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Schneider Electric | Modicon M340 CPU (part numbers BMXP34*) | from All before V3.30 | V3.30 |
| Schneider Electric | Modicon M580 CPU (part numbers BMEP* and BMEH*) | from All before V3.20 | V3.20 |
| Schneider Electric | Modicon M580 CPU Safety (part numbers BMEP58*S and BMEH58*S) | All Versions | |
| Schneider Electric | Modicon MC80 (BMKC80) | from All before V1.6 | V1.6 |
| Schneider Electric | Modicon Momentum CPU (171CBU*) | from All before V2.3 | V2.3 |
| Schneider Electric | Legacy Modicon Quantum | All Versions |
As the CVE record by schneider states it, last updated February 5, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| schneider-electric | modicon m340 bmxp341000 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp342000 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp342010 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp3420102 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp342020 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp342020h firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp342030 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp3420302 firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp3420302h firmware | before 3.40 | operating system |
| schneider-electric | modicon m340 bmxp342030h firmware | before 3.40 | operating system |
| schneider-electric | modicon m580 bmeh582040 firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh582040c firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh582040s firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh584040 firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh584040c firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh584040s firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh586040 firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh586040c firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmeh586040s firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmep581020 firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmep581020h firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmep582020 firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmep582020h firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmep582040 firmware | through 3.20 | operating system |
| schneider-electric | modicon m580 bmep582040h firmware | through 3.20 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:37 UTC.
How severe is CVE-2021-22786?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | schneider |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-22786 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 5, 2025)
- EPSS
- 0.67% probability of exploitation activity in the next 30 days, percentile 53.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- January 6, 2021
- Published
- February 1, 2023, 00:00 UTC
- CVE record updated
- February 5, 2025, 20:06 UTC by schneider
- NVD
- Modified, last modified June 17, 2026, 03:37 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Modicon M340 CPU (part numbers BMXP34*)?
- Nov 13, 2024CVE-2024-8936 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): improper input validation
- Nov 13, 2024CVE-2024-8938 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): memory corruption (buffer overflow)
- Nov 13, 2024CVE-2024-8937 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): memory corruption (buffer overflow)
- Nov 13, 2024CVE-2024-8935 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): authentication bypass by spoofing
- Nov 13, 2024CVE-2024-8933 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): message integrity not enforced
- Feb 14, 2024CVE-2023-6408 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): message integrity not enforced
- Apr 19, 2023CVE-2023-25620 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): unusual condition not checked
- Apr 19, 2023CVE-2023-25619 Schneider Electric Modicon M340 CPU (part numbers BMXP34*): unusual condition not checked
Every CVE in Modicon M340 CPU (part numbers BMXP34*)
Questions about CVE-2021-22786
Is CVE-2021-22786 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.67% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Schneider Electric Modicon M340 CPU (part numbers BMXP34*) are affected by CVE-2021-22786?
Modicon M340 CPU (part numbers BMXP34*) from All before V3.30, Modicon M580 CPU (part numbers BMEP* and BMEH*) from All before V3.20, Modicon M580 CPU Safety (part numbers BMEP58*S and BMEH58*S) All Versions, Modicon MC80 (BMKC80) from All before V1.6, Modicon Momentum CPU (171CBU*) from All before V2.3 and Legacy Modicon Quantum All Versions, per the CVE record by schneider. The tables above give every range the sources list.
Which version fixes CVE-2021-22786?
V3.30, V3.20, V1.6 and V2.3, per the CVE record by schneider. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-22786?
High (7.5, CVSS 3.1, from schneider). The severity table above shows each score with its source.
Where is the official record of CVE-2021-22786?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.