# CVE-2026-102509: Apache PLC4X, Apache PLC4X: Pre-authentication resource exhaustion in the OPC UA driver and the Java SPI parser

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **CVSS:** 8.7 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-29)
- **CWE:** CWE-789, CWE-770, CWE-674
- **Published:** 2026-09-30T08:00:27.709Z
- **Modified:** 2026-09-30T16:14:10.347Z

## Who should check

- Anyone running Apache Software Foundation Apache PLC4X \>= 0.10.0, \< 1.0.0

## Description

Memory Allocation with Excessive Size Value, Allocation of Resources Without Limits, and Uncontrolled Recursion in the Java implementation of Apache PLC4X (PLC4J) allow a malicious or impersonated device to exhaust the memory or stack of the client application, causing a denial of service.

In the OPC UA driver these defects are reachable before authentication: the offending data is parsed while the secure channel and session are being established, before the server's identity has been bound to it. Configuring a trusted server therefore does not prevent exploitation by an attacker who can 
impersonate it.

The individual defects are:
- Length-prefixed byte strings are allocated at the size claimed on the wire before the length is checked against the data actually received (0.10.0 through 0.13.1).
- Array fields in generated protocol parsers pre-allocate a list with the element count claimed on the wire, allowing a single count field to trigger a multi-gigabyte allocation. This parser is shared by all PLC4J drivers; the OPC UA driver is the verified pre-authentication path (0.10.0 through 0.13.1).
- The OPC UA driver accumulates message chunks without enforcing the negotiated maximum chunk count and message size (0.12.0 through 0.13.1).
- The OPC UA driver pre-allocates collections using element counts received from the server (0.10.0 through 0.13.1).
- Recursive protocol types are parsed without a nesting-depth limit. The same defect in the Go implementation is covered by  CVE-2026-102510 https://cveprocess.apache.org/cve5/CVE-2026-102510 .

This issue affects Apache PLC4X: from 0.10.0 before 1.0.0.

Users are recommended to upgrade to version 1.0.0, which fixes the issue.

## Affected and fixed versions

- Apache Software Foundation Apache PLC4X: \>= 0.10.0, \< 1.0.0 (cvelist)
- Apache Software Foundation Apache PLC4X: \>= 0.10.0, \< 1.0.0 (cvelist)

## Mitigation

- Upgrade Apache PLC4X to 1.0.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-102509. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-102509.md
Affected: Apache Software Foundation Apache PLC4X >= 0.10.0, < 1.0.0; Apache Software Foundation Apache PLC4X >= 0.10.0, < 1.0.0
Fixed in: Apache Software Foundation Apache PLC4X 1.0.0, Apache Software Foundation Apache PLC4X 1.0.0

Steps:
1. Search this machine and project for Apache Software Foundation Apache PLC4X: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-102509 being exploited?

There is no confirmed exploitation: CVE-2026-102509 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-29).

### How serious is CVE-2026-102509?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-102509?

Apache Software Foundation Apache PLC4X \>= 0.10.0, \< 1.0.0; Apache Software Foundation Apache PLC4X \>= 0.10.0, \< 1.0.0.

### Is there a fix for CVE-2026-102509?

Yes. Fixed in Apache Software Foundation Apache PLC4X 1.0.0, Apache Software Foundation Apache PLC4X 1.0.0. Upgrade Apache PLC4X to 1.0.0 or later.

### How do I check if I'm affected by CVE-2026-102509?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://lists.apache.org/thread.html/qngc85qhnlj7kpk3z58z0xlxhz2tn6gp>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-102509>

HTML: <https://flawdb.com/CVE-2026-102509> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-102509>
