CVE-2026-56770: Improper Validation of Array Index in schwehr libais
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.
AI Analysis
Technical Summary
The vulnerability in libais versions up to 0.15 involves improper validation of a sentinel value used as a vector index within the VdmStream::AddLine function. When processing AIS sentences, specifically AIVDM messages with empty or out-of-range sequential message IDs, the unchecked index can cause out-of-bounds memory access. This can be triggered remotely by sending crafted AIS sentences over VHF marine radio or IP feeds, potentially crashing the affected service or corrupting memory.
Potential Impact
Successful exploitation results in out-of-bounds memory access, which can crash the affected service or vessel system using libais. This may lead to denial of service or memory corruption, impacting the reliability and safety of AIS data processing systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider filtering or validating AIS input data to prevent processing of malformed or out-of-range sequential message IDs.
CVE-2026-56770: Improper Validation of Array Index in schwehr libais
Description
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libais versions up to 0.15 involves improper validation of a sentinel value used as a vector index within the VdmStream::AddLine function. When processing AIS sentences, specifically AIVDM messages with empty or out-of-range sequential message IDs, the unchecked index can cause out-of-bounds memory access. This can be triggered remotely by sending crafted AIS sentences over VHF marine radio or IP feeds, potentially crashing the affected service or corrupting memory.
Potential Impact
Successful exploitation results in out-of-bounds memory access, which can crash the affected service or vessel system using libais. This may lead to denial of service or memory corruption, impacting the reliability and safety of AIS data processing systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider filtering or validating AIS input data to prevent processing of malformed or out-of-range sequential message IDs.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-22T21:55:17.942Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d73fc4853345fc14dfa8d
Added to database: 06/25/2026, 18:31:24 UTC
Last enriched: 06/25/2026, 18:46:11 UTC
Last updated: 06/25/2026, 23:44:19 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.