{"id":"CVE-2026-102509","aliases":["CVE-2026-102509"],"related":[],"kind":"vulnerability","state":"published","title":"Apache PLC4X, Apache PLC4X: Pre-authentication resource exhaustion in the OPC UA driver and the Java SPI parser","summary":"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.\n\nIn 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 \nimpersonate it.\n\nThe individual defects are:\n- 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).\n- 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).\n- The OPC UA driver accumulates message chunks without enforcing the negotiated maximum chunk count and message size (0.12.0 through 0.13.1).\n- The OPC UA driver pre-allocates collections using element counts received from the server (0.10.0 through 0.13.1).\n- 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 .\n\nThis issue affects Apache PLC4X: from 0.10.0 before 1.0.0.\n\nUsers are recommended to upgrade to version 1.0.0, which fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nIn 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 \nimpersonate it.\n\nThe individual defects are:\n- 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).\n- 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).\n- The OPC UA driver accumulates message chunks without enforcing the negotiated maximum chunk count and message size (0.12.0 through 0.13.1).\n- The OPC UA driver pre-allocates collections using element counts received from the server (0.10.0 through 0.13.1).\n- 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 .\n\nThis issue affects Apache PLC4X: from 0.10.0 before 1.0.0.\n\nUsers are recommended to upgrade to version 1.0.0, which fixes the issue.","source":"cvelist"}],"published":"2026-09-30T08:00:27.709Z","modified":"2026-09-30T16:14:10.347Z","severity":{"scorer":"apache","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"apache","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"}],"cwes":["CWE-674","CWE-770","CWE-789"],"affected":[{"ranges":[{"type":"semver","introduced":"0.10.0","fixed":"1.0.0","status":"affected"},{"type":"semver","version":"1.0.0","status":"unaffected"}],"vendor":"Apache Software Foundation","product":"Apache PLC4X","package":"org.apache.plc4x:plc4j-spi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.10.0","fixed":"1.0.0","status":"affected"},{"type":"semver","version":"1.0.0","status":"unaffected"}],"vendor":"Apache Software Foundation","product":"Apache PLC4X","package":"org.apache.plc4x:plc4j-driver-opcua","source":"cvelist"}],"references":[{"url":"https://lists.apache.org/thread.html/qngc85qhnlj7kpk3z58z0xlxhz2tn6gp","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Abhinav Agarwal"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-30T14:39:55.913Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-102509","url":"https://www.cve.org/CVERecord?id=CVE-2026-102509","licence":"CVE Terms of Use","modified":"2026-09-30T14:40:06.881Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-102509","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102509","licence":"Public domain","modified":"2026-09-30T16:14:10.347Z"}],"updatedAt":"2026-11-25T22:59:41.618Z","epss":{"score":0.00438,"percentile":0.39803,"date":"2026-12-01T12:00:22.000Z"}}