Skip to main content
VulnerabilityPublished Updated

CVE-2025-14672: gmg137 snap7-rs · Heap-based Buffer Overflow

Affects gmg137 snap7-rsSource CVE Database V5

0

Public exploit available · CVSS 6.9 Medium.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubgmg137/snap7-rspkg:github/gmg137/snap7-rsOther threatsAffected
  • =1.142.0
  • =1.142.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately audit and inventory all systems using snap7-rs versions 1.142.0 and 1.142.1 to identify vulnerable instances.
  2. Restrict network access to snap7-rs services by implementing strict firewall rules and network segmentation to limit exposure to trusted hosts only.
  3. Employ intrusion detection and prevention systems (IDS/IPS) with signatures or anomaly detection tuned to snap7-rs protocol anomalies to detect exploitation attempts.
  4. Monitor network traffic for unusual or malformed packets targeting the opWriteArea function or snap7-rs communication ports.
  5. Disable or limit remote write operations via snap7-rs if not required, reducing the attack surface.
  6. Engage with the vendor or open-source maintainers to obtain or contribute patches addressing the heap overflow.
  7. Consider deploying application-layer gateways or protocol proxies that validate and sanitize snap7-rs traffic.
  8. Implement robust logging and alerting on snap7-rs client activities to facilitate rapid incident response.
  9. Prepare incident response plans specific to ICS/PLC compromise scenarios.
  10. Stay informed on updates and apply patches promptly once available.

Description

A flaw has been found in gmg137 snap7-rs up to 1.142.1. This impacts the function TSnap7MicroClient::opWriteArea of the file s7_micro_client.cpp. Executing a manipulation can lead to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been published and may be used.

References

Community reviews

Loading reviews…