Skip to main content

libnodave CVE-2026-138310

| EUVDEUVD-2026-137821 MEDIUM
Out-of-bounds Write (CWE-787)
2026-11-29 VulDB GHSA-ch2r-7vj8-97qc
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Induce libnodave client to connect to attacker-controlled S7 endpoint
  2. Exploit
    Return crafted ISO-over-TCP packet to _daveReadISOPacket
  3. Impact
    Trigger out-of-bounds write and crash client process (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an application built on libnodave (<=0.8.5) to process an attacker-influenced ISO-over-TCP (S7) packet through _daveReadISOPacket - in practice, the attacker must control or intercept the S7 PLC endpoint the library communicates with so it can return a crafted response. The CVSS vector indicates no authentication (PR:N) and no user interaction (UI:N) are required to deliver the malicious packet. Limiting factors: the vulnerable code only runs in software that actually uses libnodave to speak to S7 devices, the attacker needs a position to supply the crafted packet to that client, and the confirmed impact is availability loss (process crash) only - no confidentiality or integrity impact is indicated. The exact field/length manipulation that triggers the out-of-bounds write is not described in the available sources.

Impact

The input assigns a CVSS 4.0 base score of 6.9 (medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N and impact limited to availability (VA:L; VC:N/VI:N/VA:L), with exploit maturity E:P (proof-of-concept). Despite the CWE-787 out-of-bounds write classification, both the supplied 4.0 vector and the flaw's observable effect point to a denial-of-service outcome (process crash), not confirmed code execution or data compromise - the OOB write is not shown in the evidence to yield integrity or confidentiality impact. KEV status is NOT present, so there is no confirmed active exploitation, and no EPSS score was provided, so widespread-exploitation probability cannot be quantified from this data. The only exploit signal is a SourceForge bug reference described as 'reference only, not verified as working exploit code,' and the vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a moderate, non-urgent priority. A key caveat: libnodave is a client library for communicating with Siemens S7 PLCs, so 'the attack may be launched remotely' most plausibly means a malicious or man-in-the-middle S7 endpoint returning a crafted ISO-over-TCP response that the library parses - the AV:N rating is consistent with this but the description does not explicitly state attacker position; verify the trigger path with the project. On balance this is a real but lower-tier issue: medium severity, DoS-only impact, single-source (VulDB) reporting, unverified PoC, and niche deployment, rather than a high-urgency widespread threat.

Exploit ScenarioDerived

An application linked against libnodave (<=0.8.5) connects to a Siemens S7 endpoint that an attacker controls or can man-in-the-middle; the attacker returns a crafted ISO-over-TCP packet that _daveReadISOPacket in nodave.c mishandles, causing an out-of-bounds write and crashing the client process. A public PoC reference exists (SourceForge bug tracker), but it is not verified as working exploit code, and the delivered impact per the CVSS data is availability loss (denial of service) rather than code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 29, 2026

An out-of-bounds write in lettoz libnodave through 0.8.5, reached through the _daveReadISOPacket() function in nodave.c, lets a crafted ISO-over-TCP (S7) response corrupt memory in applications built on the library, with the confirmed impact limited to availability (a crash). Only software that actually uses libnodave to communicate with Siemens S7-style PLCs is exposed, and the attacker must control or intercept the PLC endpoint the client talks to so it can return the malformed packet; no authentication or user interaction is required to deliver it per the assessed vector. No CISA KEV entry exists and a public PoC reference (a SourceForge bug report) is present but is not verified as working exploit code; the project was notified via an issue report and has not responded, so no vendor-released patch has been identified at time of analysis.

RemediationAI

No vendor-released patch was identified at time of analysis: the project was informed through an upstream issue report (https://sourceforge.net/p/libnodave/bugs/22/) and has not responded, so there is no fixed version to cite and users should track that thread plus https://vuldb.com/vuln/445135 for a fix. Because exploitation requires the attacker to supply a crafted S7 response to a libnodave-based client, the effective compensating control is to remove that position: pin each libnodave client to an explicit allow-list of known PLC IP addresses on TCP port 102 so untrusted hosts on the path cannot answer as the device, accepting the operational cost that discovery or multi-device scanning must be reconfigured. Where clients sit on untrusted or shared network segments, tunnel S7 traffic over an authenticated VPN or IPsec infrastructure so spoofed responses from off-path hosts are rejected, at the cost of added latency and tunnel management. Additionally, isolate the process that embeds libnodave (least privilege, restart-on-crash supervision) to contain the availability impact of a malformed packet, and monitor those clients for repeated abnormal terminations as an indicator of crafted-response attempts.

Affected VersionsENISA

libnodave 0.8.1
libnodave 0.8.0
libnodave 0.8.3
libnodave 0.8.5
libnodave 0.8.4
libnodave 0.8.2

Affected Packages

euvd libnodave no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

libnodave is an open-source C library that implements the Siemens S7 protocol carried over ISO-on-TCP (RFC 1006, TCP port 102) for reading and writing data on SIMATIC S7-family PLCs. _daveReadISOPacket() is the receive-side routine that parses incoming ISO transport packets from the peer device, and the flaw is classified as CWE-787 (out-of-bounds write), meaning a length or field value taken from the received packet is used to write past the bounds of a destination buffer. The supplied sources do not state which field or length manipulation triggers the write, so the precise trigger is not described in the available data. The published CVSS 4.0 score is 6.9 (AV:N/AC:L/AT:N/PR:N/UI:N, VC:N/VI:N/VA:L, E:P); the independent assessment maps this to CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, i.e. a network-reachable memory-corruption condition whose demonstrated consequence is availability loss rather than code execution or data disclosure. Because the vulnerable parser runs inside whatever client application links the library, real exposure depends on that application's deployment and on the attacker's ability to be, or to impersonate, the S7 endpoint on the network path.

Know when Libnodave gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.3 MEDIUM

Crafted S7 packet is parsed over the network with no auth or interaction (AV:N/AC:L/PR:N/UI:N); out-of-bounds write produces a crash, so A:L and C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Nov 29, 2026 - 21:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Nov 29, 2026 - 20:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

A security flaw has been discovered in lettoz libnodave up to 0.8.5. This affects the function _daveReadISOPacket of the file nodave.c. The manipulation results in out-of-bounds write. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.5%
Top 67% exploitable
Prevalence
Low
niche open-source Siemens S7 PLC communication library, limited industrial footprint
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy