Bug 2585763 (CVE-2026-138109)

Summary: CVE-2026-138109 snap7: snap7: Stack-based buffer overflow via manipulated ItemsCount parameter
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in snap7. A remote attacker could trigger a stack-based buffer overflow by sending a crafted request with a manipulated ItemsCount parameter to the S7 Server WriteVar request handler. Successful exploitation could result in memory corruption, potentially leading to arbitrary code execution or a denial of service (DoS).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-29 03:21:26 UTC
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.