Back
CVE-2015-1418
The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before…
High7.8EPSS 3.7%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
The do_ed_script function in pch.c in GNU patch through 2.7.6, and patch in FreeBSD 10.1 before 10.1-RELEASE-p17, 10.2 before 10.2-BETA2-p3, 10.2-RC1 before 10.2-RC1-p2, and 0.2-RC2 before 10.2-RC2-p1, allows remote attackers to execute arbitrary commands via a crafted patch file, because a '!' character can be passed to the ed program.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.7% · top 10% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Weakness
Affected products
n/a
- affected n/a
References (6)
- https://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/013_patch.patch.sig (opens in a new tab)x_refsource_MISCx_transferred
- 76236 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1033188 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- FreeBSD-SA-15:18 (opens in a new tab)vendor-advisoryx_refsource_FREEBSDx_transferred
- http://rachelbythebay.com/w/2018/04/05/bangpatch/ (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.debian.org/894667 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-1418)Record last updated .