Description
EarthScope libmseed through 3.5.4 contains a heap out-of-bounds read vulnerability in ms3_detect() in parseutils.c that reads past truncated miniSEED 2 record buffers. Attackers can supply a 40 to 47 byte buffer passing MS2_ISVALIDHEADER to msr3_parse() or ms3_detect(), over-reading up to 8 bytes and potentially crashing the process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| EarthScope | libmseed | ≤ 3.5.4 | — |
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 | libmseed | No fix yet | — |
| Debian 13 | libmseed | No fix yet | — |
| Debian 12 | libmseed | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libmseed | No fix yet | — |
| Ubuntu 26.04 LTS | libmseed | No fix yet | — |
| Ubuntu 24.04 LTS | libmseed | No fix yet | — |
| Ubuntu 22.04 LTS | libmseed | No fix yet | — |
| Ubuntu 20.04 LTS | libmseed | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libmseed | No fix yet | — |
References
- https://hackmd.io/@haind-pwn/libmseed-ms3detect-short-header-oob-read technical-description exploit
- https://github.com/EarthScope/libmseed/blob/d6e6ad306de5b7bdde072e5a5e3d58ddcc11abd8/parseutils.c#L192-L234 technical-description
- https://github.com/EarthScope/libmseed/commit/c93a36a1381e944b59b10967342ee1cb94304223 patch
- https://github.com/EarthScope/libmseed product
- VulnCheck Advisory: EarthScope libmseed through 3.5.4 Heap Out-of-Bounds Read via ms3_detect third-party-advisory