Security Advisory

CVE-2018-7845: Modicon UMAS Memory Over-Read

Last updated:
  • CVE-2018-7845

CVE-2018-7845 is an out-of-bounds read in Schneider Electric Modicon M580, M340, Quantum and Premium controllers: an unauthenticated UMAS memory block read over Modbus port 502 with a crafted offset returns data beyond the requested block, including parts of the firmware. NVD and Schneider both score it 7.5. Schneider names M580 SV4.20, M340 SV3.60, Quantum v3.60 and Premium V3.20 as fixed.

Vulnerability summary

CVSS base score

7.5

High severity

EPSS score (FIRST)

3.3%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2018-7845 · Source: NVD

Affected components

ComponentCPEVersion range
Schneider Electric Modicon M580 (BMEP*, BMEH*, excluding M580 CPU Safety)cpe:2.3:o:schneider-electric:modicon_m580_firmware:*:*:*:*:*:*:*:*Affected: versions prior to v2.80 (SEVD-2019-134-11 v14.0.0). Remediation: firmware SV4.20 or later with EcoStruxure Control Expert v16.0, application password, rebuild and transfer (SEVD-2019-134-11, ICSA-25-114-01)
Schneider Electric Modicon M340 CPU (BMXP34*)cpe:2.3:o:schneider-electric:modicon_m340_firmware:*:*:*:*:*:*:*:*Affected: versions prior to v3.01 (SEVD-2019-134-11 v14.0.0). Remediation: firmware SV3.60 or later with Control Expert v16.0 or later, application password, rebuild and transfer (SEVD-2019-134-11, ICSA-25-114-01)
Schneider Electric Modicon Quantum (140CPU65150, 140CPU65160, 140CPU65260, 140CPU65860, 140CPU67060, 140CPU67160, 140CPU67260, 140CPU67261, 140CPU67861)cpe:2.3:o:schneider-electric:modicon_quantum_firmware:*:*:*:*:*:*:*:*Affected: versions prior to v3.60. Fixed: Quantum firmware v3.60 (SEVD-2019-134-11 v14.0.0, ICSA-25-114-01 CSAF). End of life; Schneider also advises port 502/TCP firewalling, the Access Control List and migration to M580
Schneider Electric Modicon Premium (TSXP57*, TSXH57*)cpe:2.3:o:schneider-electric:modicon_premium_firmware:*:*:*:*:*:*:*:*Affected: versions prior to v3.20. Fixed: Premium firmware V3.20, obtained through Schneider Electric customer support (SEVD-2019-134-11 v14.0.0, ICSA-25-114-01 CSAF). End of life; migration to M580 advised

What does this mean for affected devices?

NVD carries Schneider Electric's description: a "CWE-125: Out-of-bounds Read vulnerability exists in all versions of the Modicon M580, Modicon M340, Modicon Quantum, and Modicon Premium which could cause the disclosure of unexpected data from the controller when reading specific memory blocks in the controller over Modbus." NVD's Primary score is CVSS v3.1 7.5 (high), vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, with CWE-125; its CVSS v2 score is 5.0. The record was published on 2019-05-22, and the CVE.org record is PUBLISHED with Schneider Electric as CNA (NVD, CVE record).

What can an attacker read from the controller?

Cisco Talos found the flaw in a Modicon M580 BMEP582040 on firmware SV2.70 and published it as TALOS-2018-0745 on 10 June 2019. The UMAS memory block read command (function code 0x20, inside Modbus function code 0x5a on port 502) is meant to return data from one block of the loaded program. By changing the offset field, an unauthenticated client reads past the end of the block. A small offset on a low block number returns neighbouring blocks; a high block number with a large offset reads outside the program memory into parts of the device firmware. Talos's proof of concept loops through offsets to dump that memory to a file. Talos scores it CVSS v3.0 7.5 with CWE-125.

Which Modicon firmware fixes it?

Schneider's notice SEVD-2019-134-11 (version 14.0.0, 8 September 2026) scores it CVSS v3.1 7.5 with the same vector as NVD, and CVSS v4.0 8.7. Its affected-products table lists M580 versions prior to v2.80, M340 prior to v3.01, Quantum prior to v3.60 and Premium prior to v3.20; Quantum Safety is not listed for this CVE. The remediation section points to M580 SV4.20 and M340 SV3.60 with EcoStruxure Control Expert v16.0. Firmware alone is not the whole fix there: the project needs an application password and the new firmware version, then every project is rebuilt and transferred. Quantum firmware v3.60 and Premium firmware V3.20, the latter through Schneider customer support, are listed as fixed. CISA's CSAF file for ICSA-25-114-01 marks the same versions as fixed.

How do I reduce exposure before patching?

Schneider's mitigations are an application password, a firewall that blocks unauthorized access to port 502/TCP, the controller Access Control List, and encrypted communication such as IPsec through a BMENOC or BMENUA0100 module on M580. Watch for long runs of UMAS 0x20 reads from hosts that are not engineering workstations. Our UMAS protocol security guide covers detection, and the memory corruption fix guide covers bounds checks for out-of-bounds reads. The sibling crashes from the same research are CVE-2018-7843, which faults the CPU with the same 0x20 read, and CVE-2018-7852; related UMAS findings are CVE-2018-7842 and CVE-2019-6808.

CVE-2018-7845 is not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18, 1,786 entries). FIRST EPSS gives it 0.03279, the 88.7th percentile, in the 2026-11-18 dataset (CISA KEV, FIRST EPSS).

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.

Evidence

  • NVD: CWE-125 out-of-bounds read in all versions of M580, M340, Quantum and Premium, disclosure of unexpected data when reading specific memory blocks over Modbus; NVD Primary CVSS v3.1 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, v2 5.0; no secondary CVSS metric; CPE configuration lists all firmware versions of the four product lines; published 2019-05-22. Read 2026-11-19 (NVD API data fetched 2026-11-19). — NVD
  • CVE.org record state PUBLISHED, CNA Schneider Electric (schneider), published 2019-05-22; references SEVD-2019-134-11 and TALOS-2018-0745; no CNA CVSS metric. Checked 2026-11-19. — CVE.org
  • SEVD-2019-134-11 v14.0.0 (8 September 2026): CVSS v3.1 7.5 C:H, CVSS v4.0 8.7, CWE-125; affected M580 prior to v2.80, M340 prior to v3.01, Quantum prior to v3.60, Premium prior to v3.20 (Quantum Safety not listed); revision 3.0.0 (10 December 2019) added the Premium and Quantum fix; remediation M580 SV4.20 and M340 SV3.60 with Control Expert v16.0, application password, rebuild and transfer; Quantum v3.60; Premium V3.20 via customer support. Read 2026-11-19. — Schneider Electric SEVD-2019-134-11
  • ICSA-25-114-01 (Update A, current release 2026-04-23) CSAF: CVE-2018-7845 CVSS v3.1 7.5, CWE-125; fixed products M580 firmware 4.20, M340 3.60, Quantum 3.60 (nine CPU references) and Premium 3.20. Read 2026-11-19 from the CSAF file. — CISA ICSA-25-114-01 (CSAF)
  • TALOS-2018-0745 (10 June 2019): out-of-bounds read in the UMAS memory block read command (function code 0x20) of M580 BMEP582040 SV2.70; manipulated offset reads other blocks and, with a high block number, firmware memory; unauthenticated; Talos CVSS v3.0 7.5, CWE-125; vendor patched 2019-05-14. Read 2026-11-19. — Cisco Talos TALOS-2018-0745
  • Not in the CISA KEV catalog as of 2026-11-19 (catalog version 2026.11.18, 1,786 entries). Checked 2026-11-19. — CISA KEV
  • EPSS 0.03279, percentile 0.88684, dataset 2026-11-18. Read 2026-11-19. — FIRST EPSS

Related advisories

Sources

  1. NVD: CVE-2018-7845
  2. CVE.org record CVE-2018-7845 (CNA: Schneider Electric)
  3. Schneider Electric Security Notification SEVD-2019-134-11: Multiple Vulnerabilities in Modicon Controller Products (v14.0.0, 8 September 2026; PDF)
  4. CISA ICS Advisory ICSA-25-114-01: Schneider Electric Modicon Controllers (Update A)
  5. CISA CSAF record for ICSA-25-114-01
  6. Cisco Talos TALOS-2018-0745: Schneider Electric Modicon M580 UMAS read memory block out-of-bounds information disclosure (CVE-2018-7845)
  7. CISA Known Exploited Vulnerabilities catalog
  8. FIRST EPSS score for CVE-2018-7845

Frequently asked questions

Which Modicon firmware fixes CVE-2018-7845?

Schneider lists M580 SV4.20 and M340 SV3.60 with EcoStruxure Control Expert v16.0, an application password and a rebuild and transfer of each project, plus Quantum firmware v3.60 and Premium firmware V3.20 from customer support (per Schneider SEVD-2019-134-11 v14.0.0 and the ICSA-25-114-01 CSAF).

How can I reduce the risk without updating firmware?

Set an application password, segment the network with a firewall that blocks unauthorized access to port 502/TCP, configure the Access Control List and use encrypted communication such as IPsec (per Schneider SEVD-2019-134-11).

What data does the out-of-bounds read expose?

A crafted offset in the UMAS memory block read returns neighbouring program blocks and, with a high block number and large offset, parts of the device firmware, without authentication (per Cisco Talos TALOS-2018-0745).

Do NVD and Schneider agree on the score?

Yes. NVD, Schneider and CISA all give CVSS v3.1 7.5 with confidentiality impact only and CWE-125; Schneider adds a CVSS v4.0 score of 8.7 (per NVD and Schneider SEVD-2019-134-11).

Is CVE-2018-7845 in the CISA KEV catalog?

No, not as of 2026-11-19 (catalog version 2026.11.18). FIRST EPSS gives it 0.03279, the 88.7th percentile, in the 2026-11-18 dataset (per CISA KEV and FIRST EPSS).