Skip to content

bound jump target within code section in yr_execute_code - #2236

Open
jmestwa-coder wants to merge 1 commit into
VirusTotal:masterfrom
jmestwa-coder:exec-jump-target-bound
Open

bound jump target within code section in yr_execute_code#2236
jmestwa-coder wants to merge 1 commit into
VirusTotal:masterfrom
jmestwa-coder:exec-jump-target-bound

Conversation

@jmestwa-coder

Copy link
Copy Markdown
Contributor

conditional-jump opcodes add an unchecked 4-byte offset from the compiled bytecode to the instruction pointer, so a crafted .yrc whose taken jump lands past the code section makes yr_execute_code fetch the next opcode out of bounds; reject any ip that leaves the code buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants