---
id: CVE-2025-14673
title: A vulnerability has been found in gmg137 snap7-rs up to 1.142.1
summary: >-
  A vulnerability has been found in gmg137 snap7-rs up to 1.142.1. Affected is
  the function snap7_rs::client::S7Client::as_ct_write of the file
  /tests/snap7-rs/src/client.rs. The manipulation leads to heap-based buffer
  overflow. The attack…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-122
vendor: gmg137
product: snap7-rs
affected:
  - snap7-rs <= 1.142.1
published: '2025-12-14'
updated: '2026-09-28'
sourceUpdated: '2026-09-28T10:10:00.473'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-14673'
references:
  - url: 'https://gitee.com/gmg137/snap7-rs/'
    label: cna@vuldb.com
  - url: 'https://gitee.com/gmg137/snap7-rs/issues/ID2H74'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?ctiid.336402'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/?id.336402'
    label: cna@vuldb.com
tags:
  - nvd
epss: 0.00491
epssPercentile: 0.39738
ingestedAt: '2026-09-28T11:08:06.660Z'
---

## Overview

A vulnerability has been found in gmg137 snap7-rs up to 1.142.1. Affected is the function snap7_rs::client::S7Client::as_ct_write of the file /tests/snap7-rs/src/client.rs. The manipulation leads to heap-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

## Affected

- `snap7-rs <= 1.142.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
