AFFLIB versions through 3.7.22 have a heap out-of-bounds write vulnerability in the af_get_page() function. This flaw allows attackers to corrupt heap memory by crafting AFF images with mismatched page and sector sizes, specifically when the page size is larger than and not a multiple of the sector size. This can cause a buffer overflow leading to crashes in forensic tools.