Process crash via unchecked FFI buffer size
Published Dec 14, 2025 · Updated Dec 14, 2025
Heap-based buffer overflow in gmg137 snap7-rs 1.142.0 and 1.142.1 allows remote attackers to crash consuming processes via crafted input. S7Client::as_ct_write casts a Rust slice fat pointer to void* and fails to ensure the requested write size fits the backing buffer, causing an out-of-bounds read in AsWriteArea. Reachability requires a consuming application to pass attacker-controlled count and buffer values into this client API; the demonstrated consequence is a process crash.
Summary
What happened
Heap-based buffer overflow in gmg137 snap7-rs 1.142.0 and 1.142.1 allows remote attackers to crash consuming processes via crafted input. S7Client::as_ct_write casts a Rust slice fat pointer to void* and fails to ensure the requested write size fits the backing buffer, causing an out-of-bounds read in AsWriteArea. Reachability requires a consuming application to pass attacker-controlled count and buffer values into this client API; the demonstrated consequence is a process crash.
The record
- CVE
- CVE-2025-14673
- Published
- Dec 14, 2025
- Updated
- Dec 14, 2025
- Vendor
- gmg137
- Product
- snap7-rs
- Classifications
- CWE-119, CWE-122
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 14, 2025CVE publishedPublication date reported by the CVE source.
- Dec 14, 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=1.142.0
- Affected versionversion=1.142.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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::as_ct_write 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