{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138109",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2026-11-27T20:57:28.161Z",
        "datePublished": "2026-11-29T03:15:10.831Z",
        "dateUpdated": "2026-11-30T17:30:26.622Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2026-11-29T03:15:10.831Z"
            },
            "title": "davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-121",
                            "lang": "en",
                            "description": "Stack-based Buffer Overflow"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-119",
                            "lang": "en",
                            "description": "Memory Corruption"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "davenardella",
                    "product": "snap7",
                    "versions": [
                        {
                            "version": "1.4.0",
                            "status": "affected"
                        },
                        {
                            "version": "1.4.1",
                            "status": "affected"
                        },
                        {
                            "version": "1.4.2",
                            "status": "affected"
                        },
                        {
                            "version": "1.4.3",
                            "status": "affected"
                        }
                    ],
                    "cpes": [
                        "cpe:2.3:a:davenardella:snap7:*:*:*:*:*:*:*:*"
                    ],
                    "modules": [
                        "S7 Server WriteVar Request Handler"
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "version": "4.0",
                        "baseScore": 6.9,
                        "vectorString": "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",
                        "baseSeverity": "MEDIUM"
                    }
                },
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 7.3,
                        "vectorString": "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",
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "baseScore": 7.3,
                        "vectorString": "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",
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 7.5,
                        "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-11-27T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2026-11-27T01:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2026-11-28T03:15:58.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "GyuHyunJeon",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "GyuHyunJeon (VulDB User)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "GyuHyunJeon (VulDB User)",
                    "type": "analyst"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/vuln/445027",
                    "name": "VDB-445027 | davenardella snap7 S7 Server WriteVar Request s7_server.cpp PerformFunctionWrite stack-based overflow",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/vuln/445027/cti",
                    "name": "VDB-445027 | CTI Indicators (IOB, IOC, IOA)",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://vuldb.com/cve/CVE-2026-138109",
                    "name": "CVE-2026-138109 | CVE Analysis and Report",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://vuldb.com/submit/1074225",
                    "name": "Submit #1074225 | Davide Nardella Snap7 <=1.4.3 (30f37da) Stack-based Buffer Overflow",
                    "tags": [
                        "third-party-advisory"
                    ]
                },
                {
                    "url": "https://github.com/davenardella/snap7/issues/42",
                    "tags": [
                        "exploit",
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://github.com/davenardella/snap7/pull/44",
                    "tags": [
                        "issue-tracking",
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/davenardella/snap7/",
                    "tags": [
                        "product"
                    ]
                }
            ],
            "x_generator": [
                "VulDB PVTS v202611"
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-30T17:11:53.165414Z",
                                "id": "CVE-2026-138109",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-30T17:30:26.622Z"
                }
            }
        ]
    }
}