# CVE-2004-0172: Heap-based buffer overflow in the searchforcommand function of ltrace 0.3.10, if it is installed setuid, could allow local users to execute…

- Severity: High 7.2 (CVSS:2.0, scored by NVD) `AV:L/AC:L/Au:N/C:C/I:C/A:C`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2004-02-23T05:00:00.000Z
- Modified: 2026-06-16T22:05:05.300Z
- Assigned by: mitre

## Description

Heap-based buffer overflow in the search_for_command function of ltrace 0.3.10, if it is installed setuid, could allow local users to execute arbitrary code via a long filename.  NOTE: It is unclear whether there are any packages that install ltrace as a setuid program, so this candidate might be REJECTed.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- juan_cespedes ltrace: 0.3.10

## References

- <http://lists.grok.org.uk/pipermail/full-disclosure/2003-October/011610.html> (mailing-list)
- <http://securitytracker.com/id?1007896> (vdb-entry)
- <http://www.securityfocus.com/bid/8790> (vdb-entry, vendor-advisory)
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/13389> (vdb-entry)
- <http://lists.grok.org.uk/pipermail/full-disclosure/2003-October/011600.html> (mailing-list)

## Sources

- CVE List: [CVE-2004-0172](https://www.cve.org/CVERecord?id=CVE-2004-0172), CVE Terms of Use, modified 2024-08-08
- NVD: [CVE-2004-0172](https://nvd.nist.gov/vuln/detail/CVE-2004-0172), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2004-0172 · Whole record: https://cve.day/CVE-2004-0172.json · Rebuilt by cve.day 2026-11-25T22:56:53.888Z
