You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is a NULL pointer dereference in function _yr_re_fiber_sync inside libyara/re.c. As visible in the attached screenshot from GDB, the content of the memory pointed to by fiber is 0x00000000. The code dereferences this address to access the member ip which results in a segmentation fault.
To Reproduce
Build yara version v4.5.0 from source with ASAN.
The PoC is given in the ZIP file: yara.zip
Describe the bug
There is a NULL pointer dereference in function _yr_re_fiber_sync inside libyara/re.c. As visible in the attached screenshot from GDB, the content of the memory pointed to by fiber is 0x00000000. The code dereferences this address to access the member ip which results in a segmentation fault.
To Reproduce
Build yara version v4.5.0 from source with ASAN.
The PoC is given in the ZIP file: yara.zip
ASAN trace:
Screenshots
Please complete the following information:
The text was updated successfully, but these errors were encountered: