{
  "id": "CVE-2026-127148",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-127148",
  "published_at": "2026-11-30T08:33:04.053Z",
  "title": "Out-of-bounds Write in CODESYS Control",
  "vendor": "CODESYS",
  "product": "Control RTE (SL)",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-12-01T12:08:11Z",
    "first_seen_at": "2026-12-03T14:15:38.357Z",
    "days_after_publication": 1.1,
    "repo": "dinosn/cve-2026-127148-poc",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system performs improper length checking when handling online service packets, resulting in an out-of-bounds write. By sending a specially crafted packet, an unauthenticated remote attacker can exploit this flaw to execute arbitrary code on the affected product.",
  "cwe": "CWE-787",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "dinosn/cve-2026-127148-poc",
      "url": "https://github.com/dinosn/cve-2026-127148-poc",
      "created_at": "2026-12-01T12:08:11Z",
      "first_seen_at": "2026-12-03T14:15:38.357Z",
      "stars": 3,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 35,
      "suspicious": false,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive"
      ],
      "status": "analyzed",
      "owner_created_at": "2013-03-13T08:31:01Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "CODESYS",
        "product": "Control RTE (SL)",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control RTE (for Beckhoff CX) SL",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control Win (SL)",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Runtime Toolkit",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Embedded Target Visu Toolkit",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Remote Target Visu",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Safety SIL2",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Gateway",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Edge Gateway for Windows",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "HMI (SL)",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "OPC DA Server SL",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "PLCHandler",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Development System 3",
        "ranges": [
          "\u003e= 3.0.0.0, \u003c 3.5.22.50"
        ],
        "fixed_in": [
          "3.5.22.50"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for BeagleBone SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for emPC-A/iMX6 SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for IOT2000 SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for Linux ARM SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for Linux SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for PFC100 SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for PFC200 SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for PLCnext SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for Raspberry Pi SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Control for WAGO Touch Panels 600 SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Virtual Control SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "Edge Gateway for Linux",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      },
      {
        "vendor": "CODESYS",
        "product": "TargetVisu for Linux SL",
        "ranges": [
          "\u003e= 3.5.0.0, \u003c 4.24.0.0"
        ],
        "fixed_in": [
          "4.24.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Control RTE (SL) to 3.5.22.50 or later.",
      "Upgrade Control RTE (for Beckhoff CX) SL to 3.5.22.50 or later.",
      "Upgrade Control Win (SL) to 3.5.22.50 or later.",
      "Upgrade Runtime Toolkit to 3.5.22.50 or later.",
      "Upgrade Embedded Target Visu Toolkit to 3.5.22.50 or later.",
      "Upgrade Remote Target Visu to 3.5.22.50 or later.",
      "Upgrade Safety SIL2 to 3.5.22.50 or later.",
      "Upgrade Gateway to 3.5.22.50 or later.",
      "Upgrade Edge Gateway for Windows to 3.5.22.50 or later.",
      "Upgrade HMI (SL) to 3.5.22.50 or later.",
      "Upgrade OPC DA Server SL to 3.5.22.50 or later.",
      "Upgrade PLCHandler to 3.5.22.50 or later.",
      "Upgrade Development System 3 to 3.5.22.50 or later.",
      "Upgrade Control for BeagleBone SL to 4.24.0.0 or later.",
      "Upgrade Control for emPC-A/iMX6 SL to 4.24.0.0 or later.",
      "Upgrade Control for IOT2000 SL to 4.24.0.0 or later.",
      "Upgrade Control for Linux ARM SL to 4.24.0.0 or later.",
      "Upgrade Control for Linux SL to 4.24.0.0 or later.",
      "Upgrade Control for PFC100 SL to 4.24.0.0 or later.",
      "Upgrade Control for PFC200 SL to 4.24.0.0 or later.",
      "Upgrade Control for PLCnext SL to 4.24.0.0 or later.",
      "Upgrade Control for Raspberry Pi SL to 4.24.0.0 or later.",
      "Upgrade Control for WAGO Touch Panels 600 SL to 4.24.0.0 or later.",
      "Upgrade Virtual Control SL to 4.24.0.0 or later.",
      "Upgrade Edge Gateway for Linux to 4.24.0.0 or later.",
      "Upgrade TargetVisu for Linux SL to 4.24.0.0 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
