Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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-20

Announced Source revision 1
Original source ↗

CVE-2026-102509

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-102509

Apache PLC4X

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Apache PLC4X

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache PLC4X",
    "versions": [
      {
        "status": "affected",
        "version": "0.10.0",
        "lessThan": "1.0.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "1.0.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:maven/org.apache.plc4x/plc4j-spi",
    "packageName": "org.apache.plc4x:plc4j-spi",
    "collectionURL": "https://repo.maven.apache.org/maven2",
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "Apache Software Foundation",
    "product": "Apache PLC4X",
    "versions": [
      {
        "status": "affected",
        "version": "0.10.0",
        "lessThan": "1.0.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "1.0.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:maven/org.apache.plc4x/plc4j-driver-opcua",
    "packageName": "org.apache.plc4x:plc4j-driver-opcua",
    "collectionURL": "https://repo.maven.apache.org/maven2",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-102509

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#4421 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement