Description
Hardlink before 0.1.2 has multiple integer overflows leading to heap-based buffer overflows because of the way string lengths concatenation is done in the calculation of the required memory space to be used. A remote attacker could provide a specially-crafted directory tree and trick the local user into consolidating it, leading to hardlink executable crash or potentially arbitrary code execution with user privileges.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| hardlink | hardlink | 0.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | hardlink | 1.0.g50-1.7 | openSUSE-SU-2024:10055-1 |
Advisories 1
- openSUSE-SU-2024:10055-1 hardlink-1.0.g50-1.7 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026