Security Advisory

CVE-2022-22519: CODESYS Web Server Over-Read Crash

Last updated:
  • CVE-2022-22519

CVE-2022-22519 is a buffer over-read in the CODESYS V3 web server used by WebVisu: one crafted HTTP or HTTPS request, sent without login, crashes the web server of the PLC runtime. NVD scores it 7.5. CODESYS fixed it in V3.5.18.0 and V4.5.0.0; in Bosch Rexroth's line only ctrlX CORE PLC up to 01V16 is affected.

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

How severe is CVE-2022-22519?

CVSS base score

7.5

High severity

EPSS score (FIRST)

1.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

No

Not listed

Published

Vulnerability ID: CVE-2022-22519 · 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-2022-22519 affect?

ComponentCPEVersion range
CODESYS V3 runtimes with CmpWebServer (Control RTE, Control Win, HMI, runtime and visu toolkits)cpe:2.3:a:codesys:control_win_sl:*:*:*:*:*:*:*:*before V3.5.18.0; fixed in V3.5.18.0 (CODESYS advisory 2022-07)
CODESYS Control for BeagleBone, emPC-A/iMX6, Linux, PFC100, PFC200, Raspberry Pi, WAGO Touch Panels 600, IOT2000, PLCnextcpe:2.3:a:codesys:control_for_linux_sl:*:*:*:*:*:*:*:*before V4.5.0.0; fixed in V4.5.0.0, for IOT2000 and PLCnext in V4.6.0.0
Bosch Rexroth ctrlX CORE PLC—up to 01V16 (PLC-V-0116) affected; IndraLogic and IndraMotion MLC, MLD, MTX not affected (BOSCH-SA-577411)

What does CVE-2022-22519 mean for affected devices?

The CVE record, assigned by CERT@VDE, reads: "A remote, unauthenticated attacker can send a specific crafted HTTP or HTTPS requests causing a buffer over-read resulting in a crash of the webserver of the CODESYS Control runtime system." It was published on 2022-04-07 (NVD, CVE.org record).

Which component is involved?

The flaw sits in CmpWebServer, the web server that CODESYS WebVisu uses to show visualization screens in a browser. CODESYS Security Advisory 2022-07 notes that the web server is an optional part of the CODESYS V3 runtime, so only runtimes that include it are affected. A crafted request causes an internal buffer over-read that "could crash the web server task" of the runtime. The title of the CVE record goes further and speaks of a crash of the web server and the runtime system. CERT@VDE classifies the weakness as CWE-126, buffer over-read; NVD uses the parent CWE-125, out-of-bounds read.

How severe is it?

NVD's Primary score is CVSS v3.1 7.5, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, with a CVSS v2 score of 5.0. CERT@VDE, CODESYS and Bosch give the same 7.5 vector. The impact is availability only, reachable over HTTP or HTTPS with no login. CODESYS rates the difficulty as low and knew of no public exploit. The report came from an OEM customer.

Which versions fix it?

CODESYS advisory 2022-07, version 4.0 of 2022-11-03:

Product group Affected Fixed
Control RTE (SL), Control RTE for Beckhoff CX, Control Win (SL), HMI (SL), runtime system toolkit, Embedded and Remote Target Visu toolkits before V3.5.18.0 V3.5.18.0
Control for BeagleBone, emPC-A/iMX6, Linux, PFC100, PFC200, Raspberry Pi, WAGO Touch Panels 600 before V4.5.0.0 V4.5.0.0
Control for IOT2000, Control for PLCnext before V4.5.0.0 V4.6.0.0 (V4.5.0.0 was skipped)

CODESYS names no workaround short of the update. NVD's 18 CPE entries mirror these groups with "before 3.5.18.0" and "before 4.5.0.0", and also list the Development System.

How are Bosch Rexroth controllers affected?

Bosch PSIRT advisory BOSCH-SA-577411, published 2022-05-02 and last updated 2022-10-11, lists CVE-2022-22519 for ctrlX CORE PLC up to 01V16 (PLC-V-0116) only. IndraLogic and IndraMotion MLC, MLD and MTX are "not affected" by this one, which sets it apart from the channel ID flaw CVE-2022-22517 in the same advisory. The advisory's solution text names ctrlX CORE PLC 01V18 only for CVE-2022-22515, so confirm the CODESYS runtime version in your ctrlX CORE PLC release before treating it as fixed. Bosch's other measures are a security gateway and the segmentation rules in its Security Guideline Electric Drives and Controls.

What should asset owners do?

Check which controllers have the CODESYS web server or WebVisu enabled and whether anyone uses it. Disable it where it is not needed, and update the runtime to V3.5.18.0, V4.5.0.0 or V4.6.0.0 as listed. On ctrlX CORE, move beyond 01V16. Restrict HTTP and HTTPS to the controller to the HMI and engineering stations that need it, and keep it off any network that office users or remote-access paths reach. A crashed web server or runtime stops the visualization and can stop the process the PLC runs.

CVE-2020-10245 and CVE-2021-33485 are earlier CODESYS V3 web server and runtime flaws; the CODESYS runtime vulnerability guide explains these components, and the Bosch Rexroth ctrlX, IndraDrive and Nexo guide maps the CODESYS flaws to Rexroth products.

Is it exploited?

CVE-2022-22519 is not in the CISA KEV catalog as of 2026-12-04 (catalog version 2026.12.04, 1,814 entries). FIRST EPSS gives it 0.01682, the 77.8th 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-2022-22519 compare?

CVE-2022-22519 signals as recorded on this page, last checked .
SignalValue for CVE-2022-22519SourceWhat it tells you
CVSS base score7.5 (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.7%FIRST EPSSThe probability that the CVE is exploited in the wild in the next 30 days.
CISA KEV listingNot listed as of 2026-12-04CISA 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.
Published2022-04-07NVDThe date the CVE record was first published in NVD.

How does the CVE-2022-22519 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:U/C:N/I:N/A:H

Quoted vector: 7.5 (High)

Your re-score: 7.5 (High)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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-2022-22519 status from the command line?

These commands re-read the three public signals for CVE-2022-22519 (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-2022-22519" \
  | 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-2022-22519" | 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-2022-22519 '.vulnerabilities[] | select(.cveID == $id)'

Which sources back each CVE-2022-22519 claim?

  • NVD (read 2026-12-04): status Modified; Primary CVSS v3.1 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H and CVSS v2 5.0; CERT@VDE Secondary 7.5; CWE-126 (CERT@VDE), CWE-125 (NVD); 18 CODESYS CPEs. — NVD
  • CODESYS Advisory 2022-07 v4.0 (2022-11-03): CmpWebServer optional; runtimes before V3.5.18.0 / V4.5.0.0; IOT2000 and PLCnext fixed in V4.6.0.0; no workaround; no known public exploit; reported by an OEM customer. — CODESYS
  • BOSCH-SA-577411 (published 2022-05-02, updated 2022-10-11): CVE-2022-22519 affects ctrlX CORE PLC <= 01V16; IndraMotion MLC/MLD/MTX and IndraLogic not affected. — Bosch PSIRT
  • CVE.org record: state PUBLISHED, assigner CERT@VDE, published 2022-04-07. — CVE.org
  • Not in CISA KEV, catalog version 2026.12.04, 1,814 entries, checked 2026-12-04. — CISA KEV
  • EPSS 0.01682, percentile 0.77762, dataset 2026-12-04. — FIRST EPSS

Is your firmware affected by CVE-2022-22519?

Advisories in the same weakness class as CVE-2022-22519

Sources for CVE-2022-22519

  1. NVD
  2. CODESYS Security Advisory 2022-07 (PDF)
  3. Bosch PSIRT BOSCH-SA-577411: CODESYS vulnerabilities in Rexroth controllers
  4. CVE.org record CVE-2022-22519 (JSON)
  5. CISA KEV
  6. FIRST EPSS

CVE-2022-22519: frequently asked questions

Are IndraMotion MLC and IndraLogic controllers affected by CVE-2022-22519?

No. Bosch advisory BOSCH-SA-577411 marks IndraMotion MLC, MLD, MTX and IndraLogic as not affected by this flaw. In the Rexroth line only ctrlX CORE PLC up to 01V16 is listed. The same advisory does list those older controllers for other CODESYS flaws, such as CVE-2022-22517.

Does turning off WebVisu protect a controller?

CODESYS says the web server is an optional part of the V3 runtime and that only runtimes containing CmpWebServer are affected. Disabling the web server where it is not used removes the attack surface, but CODESYS names no official workaround and recommends the update to V3.5.18.0, V4.5.0.0 or V4.6.0.0.

What does a successful attack do?

It crashes the web server task of the CODESYS runtime; the title of the CVE record also mentions a crash of the runtime system. CVSS rates confidentiality and integrity impact as none and availability as high, so the risk is a stopped visualization or, in the worst case, a stopped PLC program.

Is CVE-2022-22519 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-12-04. FIRST EPSS rates it 0.01682, the 77.8th percentile, in the 2026-12-04 dataset, and CODESYS knew of no public exploit when it last updated its advisory on 2022-11-03.