CVE-2025-14673CWE-119CWE-122

CVE-2025-14673

High · published December 14, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
41.3
In the wild
Unconfirmed
What it is

⚠️ A heap-based buffer overflow vulnerability in gmg137's snap7-rs could allow remote attackers to mess with your memory. 🛠️ Think of it like a waiter accidentally serving too much soup in a bowl, spilling it all over the table. If no one’s watching, that spilled soup can cause a real mess! An attacker could exploit this vulnerability to overwrite critical areas of memory, potentially leading to service interruptions or even arbitrary code execution. While it's not on every hacker's radar yet, the risk of remote manipulation is definitely a concern!

Put simply

Think of it like a waiter accidentally serving too much soup in a bowl, spilling it all over the table. If no one’s watching, that spilled soup can cause a real mess! The issue lies in the function snap7_rs::client::S7Client::as_ct_write, where inadequate checks on the allocated memory can lead to a heap-based buffer overflow, allowing malicious actors to corrupt memory.

What to do

An attacker could exploit this vulnerability to overwrite critical areas of memory, potentially leading to service interruptions or even arbitrary code execution. While it's not on every hacker's radar yet, the risk of remote manipulation is definitely a concern! To mitigate this, upgrade the snap7-rs library to the latest version (beyond 1.142.1) immediately. Additionally, review your code to implement proper input validation and buffer management practices. Stay vigilant! You've got this! By taking the right steps, you can protect your application and keep those hackers at bay! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00491 · 41.3th percentile
Weaknesses
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer; CWE-122 · Heap-based Buffer Overflow
Published
2025-12-14T23:15Z
Affected products (1)
ProductVersionsFixed in
gmg137/snap7-rs≤ 1.142.1—
References (4)
EPSS history
Timeline
  • 14 DEC 17:32Z
    gmg137 snap7-rs client.rs as_ct_write heap-based overflow
    cvelistv5