# CVE-2024-39589: Null dereference in OpenPLC v3

> A specially crafted EtherNet/IP request can cause a denial of service in OpenPLC Runtime via invalid pointer dereference.

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 18 Sep 2024
- **Updated:** 4 Nov 2025
- **Also known as:** GHSA-x6fp-542m-2mr8

## What is CVE-2024-39589?

CVE-2024-39589 is a high-severity vulnerability in OpenPLC_v3, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Multiple invalid pointer dereference vulnerabilities exist in the OpenPLC Runtime EtherNet/IP parser functionality of OpenPLC_v3 16bf8bac1a36d95b73e7b8722d0edb8b9c5bb56a. A specially crafted EtherNet/IP request can lead to denial of service. An attacker can send a series of EtherNet/IP requests to trigger these vulnerabilities.This instance of the vulnerability occurs within the `Protected_Logical_Read_Reply` function

Weakness: CWE-704 (Incorrect Type Conversion or Cast)

## Which versions are affected by CVE-2024-39589?

It affects 1 product.


Products: Openplcproject Openplc V3 Firmware.

## How do I fix CVE-2024-39589?

No fix has been published for CVE-2024-39589 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-39589 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39589 exists.

## Other vulnerabilities in OpenPLC_v3

- [CVE-2026-28205](https://insights.sbomify.com/CVE-2026-28205/): Initialization of a resource with an insecure default in OpenPLC_V3 (critical 9.2)
- [CVE-2026-35556](https://insights.sbomify.com/CVE-2026-35556/): Plaintext storage of a password in OpenPLC_V3 (critical 9.2)
- [CVE-2024-34026](https://insights.sbomify.com/CVE-2024-34026/): Memory corruption in OpenPLC v3 (critical 9.0)
- [CVE-2021-31630](https://insights.sbomify.com/CVE-2021-31630/): Command injection in n/a (high 8.8)
- [CVE-2026-35063](https://insights.sbomify.com/CVE-2026-35063/): Missing Authorization in OpenPLC_V3 (high 8.7)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-39589 and fix it if it is affected.

What it is: CVE-2024-39589 is a high-severity vulnerability in OpenPLC_v3, published on 18 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-39589 exists.

Affected product: OpenPLC_v3. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-39589/ (Markdown: https://insights.sbomify.com/CVE-2024-39589/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-39589
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-39589
- OSV: https://osv.dev/vulnerability/CVE-2024-39589

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-39589/
Summaries are generated and may contain mistakes; the official description above is the record.
