CWE-125: Out-of-bounds Read
4 real-world CVEs classified as CWE-125: Out-of-bounds Read. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2025-5777high 7.52025
CitrixBleed 2: bare login field leaks stack memory
A malformed login form marks the username as present without supplying a value, then reflects an uninitialized local buffer into the XML authentication response.
- CVE-2024-49113high 7.52024
LDAPNightmare: malformed CLDAP referral crashes LSASS
A crafted CLDAP response sets a nonzero referral index while the connection has no referral table, and vulnerable wldap32 code dereferences the unchecked entry inside the critical LSASS process.
- CVE-2023-4966high 7.52023
CitrixBleed: NetScaler snprintf-length memory over-read
A response is sent using snprintf's return value as its length, but snprintf returns the length it would have written, so an over-long client hostname makes the appliance send adjacent memory (including session tokens) back to the attacker.
- CVE-2014-0160high 7.52014
OpenSSL heartbeat over-read (Heartbleed, CVE-2014-0160)
A TLS heartbeat handler copies a peer-supplied payload length without checking it against the bytes actually received, reading up to roughly 64KB of process memory per request and echoing it back. Nicknamed Heartbleed because the heartbeat extension was made to bleed memory, it leaked session data, credentials, and even private keys, and is widely credited with popularizing branded vulnerabilities (its own name, logo, and website).