CVE-2013-7422
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and...
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
Exploit likelihood
What each source reports
NVD Score used 7.5
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
CVE-2013-7422- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE ListNo score
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
CVE-2013-7422- Updated
- 2026-11-02
EUVDEUVD-2013-7186No score
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
EUVD-2013-7186- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m7pj-qf68-j4wpNo score
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and...
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
GHSA-m7pj-qf68-j4wp- Updated
- 2026-11-02
OSVNo score
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
CVE-2013-7422- Updated
- 2026-11-02
OSVDEBIAN-CVE-2013-7422No score
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
DEBIAN-CVE-2013-7422- Updated
- 2026-11-02
OSVUBUNTU-CVE-2013-7422No score
Integer underflow in regcomp.c in Perl before 5.20, as used in Apple OS X before 10.10.5 and other products, allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via a long digit string associated with an invalid backreference within a regular expression.
- Record
UBUNTU-CVE-2013-7422- Updated
- 2026-11-02
OSVUSN-2916-1No score
perl vulnerabilities
It was discovered that Perl incorrectly handled certain regular expressions with an invalid backreference. An attacker could use this issue to cause Perl to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2013-7422)
Markus Vervier discovered that Perl incorrectly handled nesting in the Data::Dumper module. An attacker could use this issue to cause Perl to consume memory and crash, resulting in a denial of service. (CVE-2014-4330)
Stephane Chazelas discovered that Perl incorrectly handled duplicate environment variables. An attacker could possibly use this issue to bypass the taint protection mechanism. (CVE-2016-2381)
- Record
USN-2916-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
perlDebian:12 | before 5.20.0-1 | 5.20.0-1 |
perlDebian:13 | before 5.20.0-1 | 5.20.0-1 |
perlDebian:14 | before 5.20.0-1 | 5.20.0-1 |
perlUbuntu:14.04:LTS | before 5.18.2-2ubuntu1.1, plus listed versions 5.14.2-21build15.18.1-45.18.1-4build15.18.1-55.18.2-25.18.2-2ubuntu1 | 5.18.2-2ubuntu1.1 |
perlUbuntu:14.04:LTS From an advisory covering 3 CVEs | before 5.18.2-2ubuntu1.1, plus listed versions 5.14.2-21build15.18.1-45.18.1-4build15.18.1-55.18.2-25.18.2-2ubuntu1 | 5.18.2-2ubuntu1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| 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-2013-7422 is a high vulnerability (CVSS 7.5) in Perl, published August 16, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.04%, the 87th percentile. Fixed in perl 5.20.0-1.
References
lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
perl5.git.perl.org/perl.git/commit/0c2990d652e985784f095bba4bc356481a66aa06
security.gentoo.org/glsa/201507-11
ubuntu.com/usn/USN-2916-1
support.apple.com/kb/HT205031
securityfocus.com/bid/75704