Process crash via unchecked download size
Published Dec 30, 2025 · Updated Dec 30, 2025
Heap-based buffer overflow in gmg137 snap7-rs at commit 153d3e8c16decd7271e2a5b2e3da4d6f68589424 allows remote attackers to crash a consuming process. The S7Client::download FFI wrapper passes a caller-controlled size to TSnap7MicroClient::Download, where memcpy reads past the Rust slice because neither layer checks the requested byte count against its actual length. Reachability requires an application to pass attacker-influenced arguments into this library API; the public reproducer demonstrates an AddressSanitizer-detected crash, not code execution.
Summary
What happened
Heap-based buffer overflow in gmg137 snap7-rs at commit 153d3e8c16decd7271e2a5b2e3da4d6f68589424 allows remote attackers to crash a consuming process. The S7Client::download FFI wrapper passes a caller-controlled size to TSnap7MicroClient::Download, where memcpy reads past the Rust slice because neither layer checks the requested byte count against its actual length. Reachability requires an application to pass attacker-influenced arguments into this library API; the public reproducer demonstrates an AddressSanitizer-detected crash, not code execution.
The record
- CVE
- CVE-2025-15247
- Published
- Dec 30, 2025
- Updated
- Dec 30, 2025
- Vendor
- gmg137
- Product
- snap7-rs
- Classifications
- CWE-119, CWE-122, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 30, 2025CVE publishedPublication date reported by the CVE source.
- Dec 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=153d3e8c16decd7271e2a5b2e3da4d6f68589424
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- S7Client::download AddressSanitizer reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo