In radare2 through 5.3.0 there is a double free vulnerability in the pyc parse via a crafted file which can lead to DoS.
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.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1959939 | issue tracking third party advisory patch |
https://github.com/radareorg/radare2/issues/18679 | issue tracking patch exploit third party advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3LPB5VGCIA7WA55FSB3YZQFUGZKWD7O/ | vendor advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y3S7JB46PONPHXZHIMR2XDPLGJCN5ZIX/ | vendor advisory |
https://github.com/radareorg/radare2/issues/18667 | issue tracking patch exploit third party advisory |
https://github.com/radareorg/radare2/commit/a07dedb804a82bc01c07072861942dd80c6b6d62 | third party advisory patch |
https://github.com/radareorg/radare2/issues/18666 | issue tracking patch exploit third party advisory |
https://github.com/radareorg/radare2/commit/5e16e2d1c9fe245e4c17005d779fde91ec0b9c05 | third party advisory patch |