The get_relocs_64 function in libr/bin/format/mach0/mach0.c in radare2 1.3.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted Mach0 file.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/radare/radare2/issues/7301 | issue tracking third party advisory patch |
https://github.com/radare/radare2/commit/d1e8ac62c6d978d4662f69116e30230d43033c92 | issue tracking third party advisory patch |