Security Advisory

CVE-2011-5007: CoDeSys web server overflow on ABB AC500

Last updated:
  • CVE-2011-5007

CVE-2011-5007 is a stack buffer overflow in the web server component of the CoDeSys 3.4 runtime, as used on ABB AC500 PLCs. A long URI sent to TCP port 8080 lets a remote attacker run code. NVD's Primary metric is CVSS v2 10.0. On the AC500, firmware from V2.1.4 does not contain the flaw, and the web server is off by default.

Vulnerability summary

CVSS base score

10

Critical severity

EPSS score (FIRST)

72.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2011-5007 · Source: NVD

Affected components

ComponentCPEVersion range
3S CoDeSys runtime with CmpWebServercpe:2.3:a:3ssoftware:codesys:*:sp4:*:*:*:*:*:*3.4 SP4 Patch 2 and earlier (NVD CPE: up to including 3.4 SP4)
ABB AC500 PLC Ethernet CPUs PM573-ETH, PM583-ETH, PM590-ETH, PM591-ETH, PM592-ETH, PM554-T-ETH, PM564-T-ETH, PM564-R-ETH, PM564-R-ETH-AC—firmware V2.1.3; firmware from V2.1.4 not affected, patch V2.1.5 (CISA ICSA-12-320-01); no NVD CPE for the AC500

What does this mean for affected devices?

NVD's description: a "stack-based buffer overflow in the CmpWebServer component in 3S CoDeSys 3.4 SP4 Patch 2 and earlier, as used on the ABB AC500 PLC and possibly other products, allows remote attackers to execute arbitrary code via a long URI to TCP port 8080." NVD's only score, and its Primary metric, is CVSS v2 10.0 (AV:N/AC:L/Au:N/C:C/I:C/A:C); NVD has no CVSS v3 score for this record. CISA's ICSA-12-320-01 (CSAF) gives CVSS v2 7.8. NVD lists CWE-119, CISA CWE-121. NVD's CPE covers only the CoDeSys runtime up to 3.4 SP4, not the AC500 firmware. The record was published on 2011-12-25 (NVD, CVE record).

How the flaw was published

Luigi Auriemma posted the finding on Bugtraq on 29 November 2011 with four other bugs in CoDeSys 3.4 SP4 Patch 2. He describes CmpWebServer as the component that handles HTTP connections on port 8080 in services such as 3SRTESrv3 and CoDeSysControlService, and the function that copies the URI into a limited stack buffer. The post includes a one-line test command for each bug, so the trigger has been public since 2011.

Which AC500 controllers are affected?

CISA lists the AC500 Ethernet CPUs PM573-ETH, PM583-ETH, PM590-ETH, PM591-ETH, PM592-ETH, PM554-T-ETH, PM564-T-ETH, PM564-R-ETH and PM564-R-ETH-AC on firmware V2.1.3. According to CISA, ABB released a security advisory and patch V2.1.5 in December 2011, and firmware from V2.1.4 does not contain the vulnerability. ABB says the web server is not active in the default configuration and should only be used when HMI visualization is needed; continuously running PLCs are expected to sit in a factory environment with isolation and intrusion detection.

What to do today

Any AC500 still on firmware before V2.1.4 should be updated, which also removes this CoDeSys 3.4 web server code. Where the web server is not needed, leave it disabled, and block TCP port 8080 to the PLC from outside the control network. The ABB AC500, RTU500 and Relion guide covers the later AC500 V2 and V3 advisories, CVE-2020-24686 is a later AC500 V2 web server denial of service, CVE-2022-31805 is a CODESYS flaw on AC500 V2, and the CODESYS runtime guide covers the runtime family.

CVE-2011-5007 is not in the CISA KEV catalog as of 2026-11-23 (catalog version 2026.11.20, 1,790 entries). FIRST EPSS gives it 0.72714, the 99.5th percentile, in the 2026-11-22 dataset, the highest EPSS score among the CVEs in the ABB guide (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 (read 2026-11-23): status Modified; published 2011-12-25; NVD Primary CVSS v2 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C, no CVSS v3 metric; CWE-119; CPE 3ssoftware codesys sp4 up to including 3.4. — NVD
  • CISA ICSA-12-320-01 CSAF (converted 2025-06-06), read 2026-11-23: ABB AC500 PM573-ETH, PM583-ETH, PM590-ETH, PM591-ETH, PM592-ETH, PM554-T-ETH, PM564-T-ETH, PM564-R-ETH, PM564-R-ETH-AC firmware V2.1.3; CWE-121; CVSS v2 7.8; ABB patch V2.1.5 made available December 2011, firmware from V2.1.4 not vulnerable; web server not active in default configuration. — CISA ICSA-12-320-01
  • Bugtraq post by Luigi Auriemma, 29 Nov 2011, read 2026-11-23: 3S CoDeSys <= 3.4 SP4 Patch 2; bug B CmpWebServer stack overflow; CmpWebServer handles HTTP on port 8080 in 3SRTESrv3 and CoDeSysControlService; test commands published. — seclists.org Bugtraq
  • CVE record (checked 2026-11-23): state PUBLISHED; MITRE-assigned 2011 record with the NVD description. — CVE.org
  • Not in the CISA KEV catalog, catalog version 2026.11.20, 1,790 entries, checked 2026-11-23. — CISA KEV
  • EPSS 0.72714, percentile 0.99459, dataset 2026-11-22, read 2026-11-23. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. CISA ICSA-12-320-01: ABB AC500 PLC Webserver CoDeSys Vulnerability
  3. CISA ICSA-12-320-01 CSAF (machine-readable advisory)
  4. Bugtraq: Vulnerabilities in 3S CoDeSys 3.4 SP4 Patch 2 (Luigi Auriemma)
  5. CVE.org record CVE-2011-5007
  6. CISA KEV
  7. FIRST EPSS

Frequently asked questions

Which AC500 firmware fixes CVE-2011-5007?

CISA's ICSA-12-320-01 says firmware from V2.1.4 does not contain the vulnerability and that ABB released patch V2.1.5 in December 2011. The listed affected firmware is V2.1.3 on the AC500 Ethernet CPUs.

Why is the EPSS score so high for a 2011 flaw?

The trigger, a long URI to TCP port 8080, was published with a test command on Bugtraq in November 2011. FIRST EPSS rates it 0.72714 (99.5th percentile) in the 2026-11-22 dataset. It is not in CISA KEV as of 2026-11-23 (catalog 2026.11.20).

Is the web server enabled by default on the AC500?

No. ABB, as quoted by CISA, says the web server component is not active in the default configuration and should only be used when HMI visualization is required.

Why do NVD and CISA scores differ?

Both are CVSS v2. NVD scores complete impact for a 10.0; CISA's advisory gives 7.8. NVD has no CVSS v3 score for this record.