CVE-2025-46613 Details
Description
OpenPLC 3 through 64f9c11 has server.cpp Memory Corruption because a thread may access handleConnections arguments after the parent stack frame becomes unavailable.
A memory corruption vulnerability has been identified in OpenPLC version 3, specifically in the 'server.cpp' file. The issue arises from improper handling of thread arguments in the 'handleConnections()' function. Arguments are currently passed using a stack-allocated array, which can lead to invalid memory access after the parent stack frame is no longer available. This flaw has been verified through live testing and debugging.
The vulnerability can be addressed by changing the argument passing method to use heap-allocated structures that include runtime validation. A proposed patch is available on the OpenPLC GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 25, 2025CISA-ADP
Assessed Apr 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/thiagoralves/OpenPLC_v3/issues/273 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| thiagoralves OpenPLC | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 25, 2025 | New CVE Received | [email protected] |
Volerion