CVE-2015-8607
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does...
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
7.3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
CVE-2015-8607- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
CVE-2015-8607- Updated
- 2026-11-02
EUVDEUVD-2015-8484 No score
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
EUVD-2015-8484- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-53pj-vpxm-m333
7.3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does...
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
GHSA-53pj-vpxm-m333- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
CVE-2015-8607- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-8607
7.3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
DEBIAN-CVE-2015-8607- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-8607
7.3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
- Record
UBUNTU-CVE-2015-8607- CVSS 3.0
- 7.3 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVMGASA-2016-0027 No score
Updated perl and perl-PathTools packages fix security vulnerability
It was reported that File::Spec::canonpath() routine returns untainted strings even if passed tainted input. This defect undermines the guarantee of taint propagation, which is sometimes used to ensure that unvalidated user input does not reach sensitive code (CVE-2015-8607).
- Record
MGASA-2016-0027- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perlDebian:12 |
before 5.22.1-4 | 5.22.1-4 |
perlDebian:13 |
before 5.22.1-4 | 5.22.1-4 |
perlDebian:14 |
before 5.22.1-4 | 5.22.1-4 |
perlDebian:8 |
before 5.20.2-3+deb8u2, plus listed versions 5.20.2-35.20.2-3+deb8u1 |
5.20.2-3+deb8u2 |
perlMageia:5 |
before 5.20.1-8.1.mga5 | 5.20.1-8.1.mga5 |
perl-PathToolsMageia:5 |
before 3.470.0-7.1.mga5 | 3.470.0-7.1.mga5 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-8607 is a high vulnerability (CVSS 7.3) in Perl Pathtools, published January 11, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.12%, the 87th percentile. Fixed in perl 5.22.1-4.
References
security.gentoo.org/glsa/201701-75
securityfocus.com/bid/80504
securitytracker.com/id/1034772
lists.fedoraproject.org/pipermail/package-announce/2016-January/176228.html
debian.org/security/2016/dsa-3441
lists.fedoraproject.org/pipermail/package-announce/2016-January/175494.html
Show 15 moreShow less
ubuntu.com/usn/USN-2878-1
lists.opensuse.org/opensuse-updates/2016-03/msg00112.html
oracle.com/security-alerts/cpujul2020.html
cpansearch.perl.org/src/RJBS/PathTools-3.62/Changes
rt.perl.org/Public/Bug/Display.html?id=126862
h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
nvd.nist.gov/vuln/detail/CVE-2015-8607
github.com/advisories/GHSA-53pj-vpxm-m333
security-tracker.debian.org/tracker/CVE-2015-8607
advisories.mageia.org/MGASA-2016-0027.html
bugs.mageia.org/show_bug.cgi?id=17475
ubuntu.com/security/CVE-2015-8607
ubuntu.com/security/notices/USN-2878-1
cve.org/CVERecord?id=CVE-2015-8607