# CVE-2026-16225: davenardella snap7 s7_peer.cpp NegotiatePDULength out-of-bounds write

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-19T08:00:09.002Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-119, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- davenardella snap7: 1.4.0; 1.4.1; 1.4.2; 1.4.3

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/davenardella/snap7/issues/17> (exploit, issue-tracking)
- <https://vuldb.com/vuln/380047> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/380047/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-16225> (third-party-advisory)
- <https://vuldb.com/submit/858228> (third-party-advisory)
- <https://github.com/davenardella/snap7/> (product)

## Sources

- CVE List: [CVE-2026-16225](https://www.cve.org/CVERecord?id=CVE-2026-16225), CVE Terms of Use, modified 2026-07-20
- NVD: [CVE-2026-16225](https://nvd.nist.gov/vuln/detail/CVE-2026-16225), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-16225 · Whole record: https://cve.day/CVE-2026-16225.json · Rebuilt by cve.day 2026-11-25T22:59:28.668Z
