libvorbis through 1.3.7 Stack Buffer Overflow via _ov_getlap
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 25, 2026
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.
| Product | Versions |
|---|---|
| libvorbis Xiph.Org | 1.3.7 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-839 Numeric Range Comparison Without Minimum Check
References
- https://gitlab.xiph.org/xiph/vorbis/-/merge_requests/52Issue Tracker
- https://github.com/xiph/vorbis/pull/136Issue TrackerPatch
- https://github.com/xiph/vorbis/pull/139Issue TrackerPatch
- https://github.com/xiph/vorbis/blob/v1.3.7/lib/vorbisfile.c#L2242Technical Details
- https://github.com/xiph/vorbis/blob/v1.3.7/lib/block.c#L1034Technical Details
- VulnCheck Advisory: libvorbis through 1.3.7 Stack Buffer Overflow via _ov_getlapThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.