Description
VideoLAN libaacs 0.7.0 through 0.12.0 on non-macOS, non-Windows builds contains stack-based buffer overflows in aacs_resolve_path() in src/file/path.c from length checks against the wrong buffer. Local attackers can place a symlink with a long target on a disc path a user opens to overflow resolved_path[] and link[], crashing the process or potentially executing code if mitigations are bypassed.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
VideoLAN libaacs
Default version status: unaffected
0.7.0 to ≤ 0.12.0affected
References
- https://code.videolan.org/videolan/libaacs/-/commit/6bbd2143603b785a9382aa8b20d7f328f7c1400e ↗
- https://code.videolan.org/videolan/libaacs/-/blob/0.12.0/src/file/path.c#L97 ↗
- https://code.videolan.org/videolan/libaacs/-/blob/0.12.0/src/file/path.c#L132 ↗
- https://code.videolan.org/videolan/libaacs/-/blob/0.12.0/src/file/path.c#L94 ↗
- https://code.videolan.org/videolan/libaacs/-/blob/0.12.0/src/file/path.c#L127 ↗
- https://code.videolan.org/videolan/libaacs/-/blob/0.12.0/Makefile.am#L51 ↗
- https://code.videolan.org/videolan/libaacs ↗
- https://www.vulncheck.com/advisories/videolan-libaacs-0.7.0-through-0.12.0-stack-buffer-overflow-via-aacs-resolve-path ↗