Hexret

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

    NetScaler ADC and NetScaler Gateway · CWE-125

    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

    Microsoft Windows LDAP client · CWE-125

    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

    Citrix NetScaler ADC and NetScaler Gateway · CWE-125

    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)

    OpenSSL (TLS/DTLS heartbeat extension) · CWE-125

    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).

Browse by