Description
Xiph.Org libvorbis through 1.3.7 contains a heap out-of-bounds read vulnerability in ov_time_tell() in lib/vorbisfile.c that reads vf->vi[-1].rate after a failed seek leaves vf->pcm_offset at -1. Attackers can supply a crafted Ogg Vorbis file with a corrupted page to applications that seek and query playback time, leaking heap bytes via the returned value or crashing the process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Xiph.Org | libvorbis | ≤ 1.3.7 | — |
References
- https://gitlab.xiph.org/xiph/vorbis/-/merge_requests/52 issue-tracking
- https://github.com/xiph/vorbis/pull/137 issue-tracking patch
- https://github.com/xiph/vorbis/blob/v1.3.7/lib/vorbisfile.c#L1867 technical-description
- VulnCheck Advisory: Xiph.Org libvorbis through 1.3.7 Heap Out-of-Bounds Read via ov_time_tell third-party-advisory