nerdexam
CompTIA

SY0-701 · Question #46

Which of the following vulnerabilities is exploited when an attacker overwrites a register with a malicious address?

The correct answer is C. Buffer overflow. A buffer overflow is a vulnerability that occurs when an application writes more data to a memory buffer than it can hold, causing the excess data to overwrite adjacent memory locations. A register is a small storage area in the CPU that holds temporary data or instructions. An…

Submitted by lars.no· Mar 6, 2026Threats, vulnerabilities, and mitigations

Question

Which of the following vulnerabilities is exploited when an attacker overwrites a register with a malicious address?

Options

  • AVM escape
  • BSQL injection
  • CBuffer overflow
  • DRace condition

How the community answered

(30 responses)
  • B
    3% (1)
  • C
    93% (28)
  • D
    3% (1)

Explanation

A buffer overflow is a vulnerability that occurs when an application writes more data to a memory buffer than it can hold, causing the excess data to overwrite adjacent memory locations. A register is a small storage area in the CPU that holds temporary data or instructions. An attacker can exploit a buffer overflow to overwrite a register with a malicious address that points to a shellcode, which is a piece of code that gives the attacker control over the system. By doing so, the attacker can bypass the normal execution flow of the application and execute arbitrary

Community Discussion

No community discussion yet for this question.

Full SY0-701 Practice