{"id":"CVE-2026-138109","aliases":["CVE-2026-138109"],"related":[],"kind":"vulnerability","state":"published","title":"davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow","summary":"A security flaw has been discovered in davenardella snap7 up to 1.4.3. Affected is the function TS7Worker::PerformFunctionWrite of the file src/core/s7_server.cpp of the component S7 Server WriteVar Request Handler. The manipulation of the argument ItemsCount results in stack-based buffer overflow. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A security flaw has been discovered in davenardella snap7 up to 1.4.3. Affected is the function TS7Worker::PerformFunctionWrite of the file src/core/s7_server.cpp of the component S7 Server WriteVar Request Handler. The manipulation of the argument ItemsCount results in stack-based buffer overflow. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.","source":"cvelist"}],"published":"2026-11-29T03:15:10.831Z","modified":"2026-11-30T18:18:49.120Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C","score":7.5,"rating":"HIGH"}],"cwes":["CWE-119","CWE-121"],"affected":[{"ranges":[{"version":"1.4.0","status":"affected"},{"version":"1.4.1","status":"affected"},{"version":"1.4.2","status":"affected"},{"version":"1.4.3","status":"affected"}],"vendor":"davenardella","product":"snap7","cpe":"cpe:2.3:a:davenardella:snap7:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/445027","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/445027/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-138109","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/1074225","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/davenardella/snap7/issues/42","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/davenardella/snap7/pull/44","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/davenardella/snap7/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["GyuHyunJeon","GyuHyunJeon (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-30T17:11:53.165Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138109","url":"https://www.cve.org/CVERecord?id=CVE-2026-138109","licence":"CVE Terms of Use","modified":"2026-11-30T17:30:26.622Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138109","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138109","licence":"Public domain","modified":"2026-11-30T18:18:49.120Z"}],"updatedAt":"2026-11-30T18:32:26.754Z","epss":{"score":0.00491,"percentile":0.43804,"date":"2026-12-01T12:00:22.000Z"}}