Skip to main content

libais CVE-2026-56770

| EUVDEUVD-2026-39523 HIGH
Improper Validation of Array Index (CWE-129)
2026-06-25 VulnCheck GHSA-2f4m-q55c-v3xr
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain access to target AIS feed or VHF range
  2. Delivery
    Craft AIVDM sentence with invalid sequential message ID
  3. Exploit
    Transmit to libais parser
  4. Execution
    Sentinel value used as vector index
  5. Persist
    Out-of-bounds vector access
  6. Impact
    Service or vessel system crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires only that the target ingest attacker-supplied AIVDM/AIVDO AIS sentences into a libais-based parser (through version 0.15) - either via an IP AIS feed the system consumes or via VHF marine radio within transmission range - and that the crafted sentence carry an empty or out-of-range sequential message ID that drives VdmStream::AddLine to use its sentinel value as a vector index. No authentication, user interaction, or non-default configuration is needed (PR:N/UI:N/AC:L). The practical limiting factors are reachability of the AIS input path (radio proximity or network access to the feed) and the presence of any upstream sentence-validation layer; impact is limited to availability/crash with possible memory corruption, not data disclosure.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a remote, low-complexity, unauthenticated attack, and the impact is confined to availability (VA:H) with no confidentiality or integrity impact (VC:N/VI:N), consistent with the Denial Of Service tag and a base score of 8.7. Publicly available exploit code raises practical risk, but there is no CISA KEV listing and no EPSS score in the provided data, so there is no evidence of widespread active exploitation - exposure is gated by how reachable the AIS feed is. Note the tension between the vector and the description: the official scoring rates integrity impact as N, yet the description mentions 'potential corruption' typical of CWE-129 OOB access, so memory corruption beyond a clean crash cannot be ruled out and should be verified against the upstream fix. Real-world priority is moderate-to-high for the specific population that runs libais on internet- or radio-exposed AIS ingestion, and low for everyone else given the library's niche maritime footprint.

Exploit ScenarioDerived

An attacker transmits a crafted AIVDM sentence with an empty or out-of-range sequential message ID, either over VHF marine radio within range of a target receiver or by injecting it into an IP-based AIS feed the target ingests. When libais parses it, VdmStream::AddLine indexes a vector with the unchecked sentinel value, triggering an out-of-bounds access that crashes the service or corrupts memory. Given the network attack vector and low complexity (AV:N/AC:L/PR:N) and publicly available exploit code, no authentication or user interaction is needed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 25, 2026

Denial of service in libais through version 0.15 lets remote unauthenticated attackers crash AIS-processing services and vessel systems by sending malformed AIVDM sentences. The VdmStream::AddLine routine treats an unchecked sentinel value as a vector index when a sentence carries an empty or out-of-range sequential message ID, producing an out-of-bounds vector access (CWE-129) and potential memory corruption. Publicly available exploit code exists and the issue was reported by VulnCheck, though it is not listed in CISA KEV.

RemediationAI

No vendor-released patch version is identified in the available data; the references point to the upstream GitHub issue (https://github.com/schwehr/libais/issues/263) rather than a tagged release, so monitor that issue and the libais repository for a fixed version and upgrade once published. As compensating controls until a patched build is available, validate or sanitize incoming AIVDM/AIVDO sentences upstream of libais - drop sentences whose sequential message ID field is empty or outside the expected range before they reach VdmStream::AddLine (trade-off: requires a filtering proxy and may discard some malformed-but-benign traffic). Restrict and authenticate the IP feeds that deliver AIS data and isolate the parsing service so a crash cannot take down dependent navigation or monitoring systems (trade-off: VHF radio-sourced sentences cannot be authenticated and remain a path, so radio-fed deployments should run the parser in a sandboxed, auto-restarting process). Review the VulnCheck advisory (https://www.vulncheck.com/advisories/libais-out-of-bounds-vector-access-in-vdmstream-addline-via-invalid-sequential-message-id) for fix confirmation.

Affected VersionsENISA

libais 0 ≤0.15

Affected Packages

euvd libais 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

libais (cpe:2.3:a:schwehr:libais) is an open-source C++ library by Kurt Schwehr for decoding AIS (Automatic Identification System) messages - the maritime VHF data protocol used by ships, shore stations, and AIS aggregators to broadcast position and identity. AIVDM/AIVDO NMEA sentences carry a sequential message ID field used to reassemble multi-part messages. The flaw is rooted in CWE-129 (Improper Validation of Array Index): VdmStream::AddLine uses a sentinel value that signals 'no/empty sequential message ID' directly as an index into an internal vector without bounds checking, so an empty or out-of-range ID causes the code to read or write outside the vector's bounds, leading to a crash or memory corruption.

Know when Libais 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 (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Remote unauthenticated AIS sentence injection with low complexity (AV:N/AC:L/PR:N/UI:N); impact is a crash/DoS so A:H with no confidentiality or integrity impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

libais through 0.15 VdmStream::AddLine uses an unchecked sentinel value as a vector index when processing AIS sentences with empty or out-of-range sequential message IDs. Remote attackers can crash services or vessel systems by sending crafted AIVDM sentences over VHF marine radio or IP feeds, causing out-of-bounds memory access and potential corruption.

Executive ViewAI

Why It Matters

libais library versions through 0.15 contains a denial-of-service vulnerability with publicly available exploit code affecting AIS (Automatic Identification System) processing services and vessel systems. Remote unauthenticated attackers can crash critical maritime infrastructure by sending malformed AIVDM sentences, disrupting vessel tracking and port operations. Immediate identification of affected systems is required to prevent operational disruptions in maritime environments.

Business Impact: High
Compensating Controls

Implement strict input validation and filtering for AIVDM sentence format compliance, with explicit rejection of sentences containing empty or out-of-range sequential message IDs. Deploy network-based detection and logging for malformed AIVDM patterns. Apply network segmentation to restrict AIS processing systems to trusted sources only. Continuously monitor vendor repositories; no vendor-released patch identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche open-source maritime AIS decoding library, specialized deployment
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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