libid3tag through 0.16.4 contains an integer overflow vulnerability in id3_parse_latin1() in src/parse.c that lets attackers trigger a heap buffer overflow when malloc(length + 1) wraps to zero. Attackers can supply a crafted MP3, WAV, or AIFF file with about 4 MB of compressed ID3v2.3 URL, UFID, PRIV, or POPM frame data to crash applications on 64-bit Windows builds.
https://www.vulncheck.com/advisories/libid3tag-through-0.16.4-integer-overflow-via-id3-parse-latin1
https://codeberg.org/tenacityteam/libid3tag/src/tag/0.16.4/src/parse.c#L117-L119
https://codeberg.org/tenacityteam/libid3tag/pulls/67
https://codeberg.org/tenacityteam/libid3tag/commit/7aa0aba7dc70c8f00bc1a921a3b485ca481d96bf