Description
libvorbis through 1.3.7 contains a stack buffer overflow vulnerability in _ov_getlap() in lib/vorbisfile.c that passes a negative sample count from vorbis_synthesis_lapout() to memcpy(). Attackers can supply a short, valid Ogg Vorbis file with suitable block sizes to overwrite stack frames and crash applications performing two consecutive lapped seeks.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Xiph.Org libvorbis
Default version status: unaffected
0 to ≤ 1.3.7affected
pkg:github/xiph/vorbisReferences
- https://gitlab.xiph.org/xiph/vorbis/-/merge_requests/52 ↗
- https://github.com/xiph/vorbis/pull/136 ↗
- https://github.com/xiph/vorbis/pull/139 ↗
- https://github.com/xiph/vorbis/blob/v1.3.7/lib/vorbisfile.c#L2242 ↗
- https://github.com/xiph/vorbis/blob/v1.3.7/lib/block.c#L1034 ↗
- https://www.vulncheck.com/advisories/libvorbis-through-1.3.7-stack-buffer-overflow-via-ov-getlap ↗