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.
https://www.vulncheck.com/advisories/libvorbis-through-1.3.7-stack-buffer-overflow-via-ov-getlap
https://gitlab.xiph.org/xiph/vorbis/-/merge_requests/52
https://github.com/xiph/vorbis/pull/139
https://github.com/xiph/vorbis/pull/136
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
Published: 2026-11-25
Updated: 2026-11-25
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 6.1
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Severity: Medium
Base Score: 6.9
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Severity: Medium
EPSS: 0.00634