CVE-2026-85092
5.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
LiME through 1.12.0 fails to validate the disk acquisition output path and does not use O_NOFOLLOW when opening the operator-supplied path parameter, allowing unprivileged local users to overwrite arbitrary root-owned files. An attacker who controls the output directory can create a symbolic link with the expected filename pointing to any root-owned file, and when the acquisition runs in kernel context, LiME follows the link and truncates the target file with the memory acquisition stream.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| jtsylve | LiME | 0 <= 1.12.0 | affected |
Weaknesses
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
- https://gist.github.com/thesmartshadow/5355949144749b431da41490b63598f5
- https://github.com/jtsylve/LiME/blob/v1.12.0/src/disk.c#L63
- https://github.com/jtsylve/LiME
- https://www.vulncheck.com/advisories/lime-through-1.12.0-arbitrary-file-overwrite-via-symlink-following
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.