CVE-2018-25268
Published: 22 April 2026
Summary
CVE-2018-25268 is a high-severity Out-of-bounds Write (CWE-787) vulnerability in Lizardsystems Lanspy. Its CVSS base score is 8.6 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 10.0th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-16 (Memory Protection).
Deeper analysis
CVE-2018-25268 is a local buffer overflow vulnerability in LanSpy version 2.0.1.159. The issue arises from supplying oversized input to the scan field, enabling attackers to overwrite the instruction pointer. A crafted payload of 688 bytes of padding followed by 4 bytes of controlled data triggers the overflow. It is classified under CWE-787 with a CVSS v3.1 base score of 8.4 (AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
A local attacker can exploit this vulnerability without requiring privileges, due to its low attack complexity and lack of user interaction. Exploitation allows crashing the application or potentially achieving code execution by controlling the instruction pointer.
Advisories and related resources are documented at https://lizardsystems.com, https://www.exploit-db.com/exploits/45968, and https://www.vulncheck.com/advisories/lanspy-local-buffer-overflow-via-scan-field. An exploit is available on Exploit-DB, indicating proof-of-concept code exists for this issue.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2018-21784
Vulnerability details
LanSpy 2.0.1.159 contains a local buffer overflow vulnerability that allows attackers to overwrite the instruction pointer by supplying oversized input to the scan field. Attackers can craft a payload with 688 bytes of padding followed by 4 bytes of controlled…
more
data to crash the application or potentially achieve code execution.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Local buffer overflow enabling arbitrary code execution via instruction pointer control directly maps to exploitation for privilege escalation or code execution on the host.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
SI-10 mandates validation of oversized inputs to the scan field, directly preventing the buffer overflow that overwrites the instruction pointer.
SI-16 enforces memory protections such as non-executable stacks and ASLR, mitigating exploitation of the buffer overflow for code execution.
SI-2 requires identification and remediation of the specific buffer overflow flaw in LanSpy, such as through patching to eliminate the vulnerability.