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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| schwehr | libais | ≤ 0.15 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-libais | No fix yet | — |
| Debian 13 | python-libais | No fix yet | — |
| Debian 12 | python-libais | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-libais | No fix yet | — |
| Ubuntu 26.04 LTS | python-libais | No fix yet | — |
| Ubuntu 25.10 | python-libais | No fix yet | — |
| Ubuntu 24.04 LTS | python-libais | No fix yet | — |
| Ubuntu 22.04 LTS | python-libais | No fix yet | — |
References
- Researcher Disclosure technical-description exploit issue-tracking
- https://www.vulncheck.com/advisories/libais-out-of-bounds-vector-access-in-vdmstream-addline-via-invalid-sequential-message-id third-party-advisory