Description
libaec through 1.1.7 contains an out-of-bounds read vulnerability in m_se_decode() in src/decode.c that allows attackers to bypass a signed bounds check via an overlong fundamental sequence. Attackers can supply a crafted CCSDS 121.0/SZIP stream with 2^31 or more zero bits to crash the decoder or leak adjacent memory into decoded samples.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Deutsches Klimarechenzentrum libaec
Default version status: unaffected
0 to ≤ 1.1.7affected
References
- https://github.com/Deutsches-Klimarechenzentrum/libaec/issues/64 ↗
- https://github.com/Deutsches-Klimarechenzentrum/libaec/pull/66 ↗
- https://github.com/Deutsches-Klimarechenzentrum/libaec/blob/v1.1.7/src/decode.c#L556-L586 ↗
- https://github.com/Deutsches-Klimarechenzentrum/libaec/releases/tag/v1.1.7 ↗
- https://hackmd.io/@haindpwn/libaec-se-decode-fs-signedness-oob-read ↗
- https://www.vulncheck.com/advisories/libaec-through-1.1.7-out-of-bounds-read-via-m-se-decode-second-extension-decoder ↗