Description
Heap-based buffer overflow in the visit_old_format function in locate/locate.c in locate in GNU findutils before 4.2.31 might allow context-dependent attackers to execute arbitrary code via a long pathname in a locate database that has the old format, a different vulnerability than CVE-2001-1036.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | findutils | 4.2.31-1 | — |
| Debian 13 | findutils | 4.2.31-1 | — |
| Debian 12 | findutils | 4.2.31-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | findutils | 4.8.0-2.15 | openSUSE-SU-2024:10758-1 |
Advisories 1
- openSUSE-SU-2024:10758-1 findutils-4.8.0-2.15 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- SSRT100018 vendor-advisory
- findutils-filename-bo(34628) vdb-entry
- ADV-2007-2015 vdb-entry
- 40551 third-party-advisory
- 36827 vdb-entry
- 20070530 GNU Findutils release 4.2.31 fixes CVE-2007-2452 (GNU locate heap buffer overrun) mailing-list
- 25477 third-party-advisory
- 2760 third-party-advisory
- ADV-2010-1796 vdb-entry
- 1018183 vdb-entry
- 24250 vdb-entry