Libsndfile 1.2.2 addresses a security vulnerability involving a misaligned memory access in the psf_binheader_readf() function when parsing WAV format chunks. This flaw allows a specially crafted WAV file to cause undefined behavior, resulting in a denial of service condition.