Description
smpeg through 2.0.0 contains a heap out-of-bounds read vulnerability in MPEGsystem::FillBuffer() that allows attackers to read past the 16384-byte buffer by supplying a crafted system header stream table. Attackers can provide an MPEG file whose stream table bytes all set the high bit, which crashes applications opening it through SMPEG_new, SMPEG_new_rwops, or SMPEG_new_data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| icculus | smpeg | ≤ 2.0.0 | — |
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 | smpeg | No fix yet | — |
| Debian 13 | smpeg | No fix yet | — |
| Debian 12 | smpeg | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | smpeg | No fix yet | — |
| Ubuntu 26.04 LTS | smpeg | No fix yet | — |
| Ubuntu 24.04 LTS | smpeg | No fix yet | — |
| Ubuntu 22.04 LTS | smpeg | No fix yet | — |
| Ubuntu 20.04 LTS | smpeg | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | smpeg | No fix yet | — |
| Ubuntu 16.04 LTS | smpeg | No fix yet | — |
References
- https://hackmd.io/@haindpwn/smpeg-system-header-stream-table-oob-read technical-description exploit
- https://github.com/icculus/smpeg/blob/d188dc111f4817288718705e4a84e248803ccfdc/MPEGsystem.cpp#L803-L823 technical-description
- https://github.com/icculus/smpeg product
- VulnCheck Advisory: smpeg through 2.0.0 Heap Out-of-Bounds Read via MPEGsystem::FillBuffer third-party-advisory