# CVE-2014-9938

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.9.3 (CNA); fix release not confirmed
- Status: published
- Published: 2017-03-20 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2014-9938, USN-3243-1, DEBIAN-CVE-2014-9938
- Record: https://cvemate.com/vulnerability/CVE-2014-9938 · JSON: https://cvemate.com/vulnerability/CVE-2014-9938/json

## Description

```text
contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.32%, percentile 84.013%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian git (Debian): \< 1:2.0.0~rc2-1
- ubuntu git (Ubuntu): \< 1:1.9.1-1ubuntu0.4
- git-scm git: \< 1.9.3

## References

- <https://github.com/njhartwell/pw3nage>
- <https://github.com/git/git/commit/8976500cbbb13270398d3b3e07a17b8cc7bff43f>
- <https://access.redhat.com/errata/RHSA-2017:2004>
- <https://ubuntu.com/security/CVE-2014-9938>
- <https://ubuntu.com/security/notices/USN-3243-1>
- <https://www.cve.org/CVERecord?id=CVE-2014-9938>
- <https://security-tracker.debian.org/tracker/CVE-2014-9938>

---

Data as of 2026-12-05T03:11:02.399Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
