---
id: CVE-2026-16225
title: A security flaw has been discovered in davenardella snap7 up to 1.4.3
summary: >-
  A security flaw has been discovered in davenardella snap7 up to 1.4.3. The
  impacted element is the function TSnap7Peer::NegotiatePDULength of the file
  src/core/s7_peer.cpp. The manipulation of the argument PDULength results in
  out-of-bou…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
cwe:
  - CWE-119
  - CWE-787
published: '2026-07-19'
updated: '2026-07-19'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16225'
references:
  - url: 'https://github.com/davenardella/snap7/'
    label: cna@vuldb.com
  - url: 'https://github.com/davenardella/snap7/issues/17'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-16225'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/858228'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/380047'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/380047/cti'
    label: cna@vuldb.com
tags:
  - nvd
epss: 0.00399
epssPercentile: 0.3127
ingestedAt: '2026-07-19T14:31:07.085Z'
---

## Overview

A security flaw has been discovered in davenardella snap7 up to 1.4.3. The impacted element is the function TSnap7Peer::NegotiatePDULength of the file src/core/s7_peer.cpp. The manipulation of the argument PDULength results in out-of-bounds write. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.

## Remediation

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