CWE-120: Classic Buffer Overflow
3 real-world CVEs classified as CWE-120: Classic Buffer Overflow. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2020-10713high 8.22020
BootHole non-fatal lexer overflow
GRUB's generated lexer detected an oversized token but its fatal-error macro only printed a message and returned, allowing the token copy to overflow a heap buffer before Secure Boot verification.
- CVE-2017-7269critical 9.82017
ExplodingCan: IIS WebDAV character-count overflow
A WebDAV URL conversion allocates a large CStackBuffer as though the character count were a byte count, then writes the expanded Unicode representation into the undersized destination.
- CVE-2014-6321critical 10.02014
WinShock: Schannel ECDSA signature heap overflow
Schannel sizes a signature destination from the ECC key length but copies two DER-decoded integers using attacker-controlled component lengths, allowing their combined size to exceed the allocation.