# CVE-2009-3736: Path traversal in n/a

> Local attackers can gain privileges by placing a malicious .la file in the current working directory, exploiting libltdl's file loading behavior.

- **Severity:** Medium 6.9 (`AV:L/AC:M/Au:N/C:C/I:C/A:C`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 27 Nov 2009
- **Updated:** 7 Aug 2024
- **Also known as:** DEBIAN-CVE-2009-3736, DSA-1958-1, GHSA-xpcw-5x35-jv4r, RHSA-2009:1646, RHSA-2010:0039, openSUSE-SU-2024:10168-1

## What is CVE-2009-3736?

CVE-2009-3736 is a medium-severity path traversal vulnerability in n/a, published on 27 Nov 2009. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

ltdl.c in libltdl in GNU Libtool 1.5.x, and 2.2.6 before 2.2.6b, as used in Ham Radio Control Libraries, Q, and possibly other products, attempts to open a .la file in the current working directory, which allows local users to gain privileges via a Trojan horse file.

## Which versions are affected by CVE-2009-3736?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `cpp` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-c++` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-c++-ppc32` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-debuginfo` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-g77` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-gnat` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-java` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-objc` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `gcc-ppc32` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libf2c` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libgcc` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libgcj` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libgcj-devel` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libgnat` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libobjc` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libstdc++` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libstdc++-devel` | Red Hat:enterprise_linux:3::as | All versions | 0:3.2.3-60 |
| `libtool` | Red Hat:enterprise_linux:3::as | All versions | 0:1.4.3-7 |
| `libtool-debuginfo` | Red Hat:enterprise_linux:3::as | All versions | 0:1.4.3-7 |
| `libtool-libs` | Red Hat:enterprise_linux:3::as | All versions | 0:1.4.3-7 |
| `cpp` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc-c++` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc-debuginfo` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc-g77` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc-gnat` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc-java` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `gcc-objc` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libf2c` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libgcc` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libgcj` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libgcj-devel` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libgnat` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libobjc` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libstdc++` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libstdc++-devel` | Red Hat:enterprise_linux:3::desktop | All versions | 0:3.2.3-60 |
| `libtool` | Red Hat:enterprise_linux:3::desktop | All versions | 0:1.4.3-7 |
| `libtool-debuginfo` | Red Hat:enterprise_linux:3::desktop | All versions | 0:1.4.3-7 |
| `libtool-libs` | Red Hat:enterprise_linux:3::desktop | All versions | 0:1.4.3-7 |

Products: Gnu Libtool.

## How do I fix CVE-2009-3736?

Upgrade to a fixed version.

## Is CVE-2009-3736 being exploited?

There is no known exploitation of CVE-2009-3736 in the wild and no public exploit code.

## Other vulnerabilities in n/a

- [CVE-2004-0256](https://insights.sbomify.com/CVE-2004-0256/): GNU libtool before 1.5.2, during compile time, allows local users to overwrite arbitrary files via a symlink attack on libtool directories in /tmp. (low 2.1)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2009-3736 and fix it if it is affected.

What it is: CVE-2009-3736 is a medium-severity path traversal vulnerability in n/a, published on 27 Nov 2009. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2009-3736 in the wild and no public exploit code.

Affected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2009-3736/ (Markdown: https://insights.sbomify.com/CVE-2009-3736/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2009-3736
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2009-3736
- OSV: https://osv.dev/vulnerability/CVE-2009-3736

---
From sbomify Insights: https://insights.sbomify.com/CVE-2009-3736/
Summaries are generated and may contain mistakes; the official description above is the record.
