wsparks
I am a vulnerability analyst at VulnCheck responsible for managing our coordinated vulnerability disclosure (CVD) process. A researcher reported a persistent denial-of-service vulnerability affecting OpenPLC Runtime, and VulnCheck is acting as the intermediary and coordinator.
 
We have tentatively reserved CVE-2025-34226, which have been shared with the researcher but will remain private until public disclosure.
 
VulnCheck follows a 120-day disclosure policy, meaning we allow vendors/maintainers up to 120 days from the time of receiving the report to address the issues before publishing the CVE record and third-party advisory. For this vulnerability, that 120-day deadline falls on January 23, 2026.
 
---
 
Vulnerability Summary
- Type: Persistent Denial of Service (Database Corruption)
- Affected Product: OpenPLC Runtime v3 (latest public version as of September 2025)
- Severity: High
- Proposed CVSS 4.0: AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N (7.1)
- CWE: CWE-664 (Improper Control of a Resource Through Its Lifetime)
- All Version of OpenPLC Runtime are affected.
-Tested on Docker, OpenPLC Runtime exe (OS: Debian and Windows)
 
Technical Details
The ` /upload-program-action ` endpoint accepts unvalidated `epoch_time` values when uploading a program.  

Submitting a crafted value (e.g., an invalid or excessively large integer) causes database corruption.  

Effect:
- Immediate effect: Runtime continues to work until restarted.  
- After some restart: Runtime fails to start due to corrupted entries in the `programs` database.  
- Result: Persistent denial of service, requiring full rebase to recover.
-Complete loss of the Database
 
Impact
- Complete loss of runtime availability.
- Recovery requires full rebase of OpenPLC.
- This could cause significant downtime in ICS deployments.

Suggested Mitigation
- Enforce input validation on `epoch_time` and other program metadata fields.
- Add database integrity checks before saving program records.
 
---
 
Please let me know if you would like me to share reproduction steps within this thread or through a more secure medium.
Reply 0 0
thiagoralves
Thank you for the report. Can you please provide the version of the runtime that this was tested on? The version is printed right under the login screen input fields
Reply 0 0
wsparks
We asked the researcher and he said, "Latest version of openplc runtime v3 2025-09-10" and noted that other versions are affected.

Do you need more specific versioning?
Reply 0 0
thiagoralves
That works. Thanks for reporting. Currently we are focusing our attention in the OpenPLC v4, so I don't know if/when this will be fixed. Once OpenPLC v4 is released, v3 will be abandoned. If the developer has a PR that fixes this issue, please submit it to the v3 repository on GitHub for the fix to be merged. Thanks!
Reply 0 0
Eyodav
Hello I'm Eyodav (the researcher). I've add a PR tell me if the code suits you or if there are any missing things.
Reply 0 0
Eyodav
Hello ! I've post the final PR. Tell me if the webserver code suits you
Reply 0 0
wsparks
Can we please have an update as to when the PR could potentially be merged?
Reply 0 0
thiagoralves
The PR was merged
Reply 0 0
wsparks
Thank you!

CVE published: https://www.cve.org/cverecord?id=CVE-2025-34226
Reply 0 0
Write a reply...
Reply