CVE-2012-5195Perl
High 7.5 No auth needed
Follow: this CVE · Perl · Perl We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 4.9% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Dec 18, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
Heap-based buffer overflow in the Perl_repeatcpy function in util.c in Perl 5.12.x before 5.12.5, 5.14.x before 5.14.3, and 5.15.x before 15.15.5 allows context-dependent attackers to cause a denial of service (memory consumption and crash) or possibly execute arbitrary code via the 'x' string repeat operator.
What to do
- Apply the vendor's security update for Perl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| perl | perl | 5.12.0 |
| perl | perl | 5.12.0 |
| perl | perl | 5.12.0 |
| perl | perl | 5.12.0 |
| perl | perl | 5.12.0 |
| perl | perl | 5.12.0 |
| perl | perl | 5.12.0 |
| perl | perl | 5.12.1 |
| perl | perl | 5.12.1 |
| perl | perl | 5.12.1 |
| perl | perl | 5.12.2 |
| perl | perl | 5.12.2 |
| perl | perl | 5.12.3 |
| perl | perl | 5.12.3 |
| perl | perl | 5.12.3 |
| perl | perl | 5.12.3 |
| perl | perl | 5.12.4 |
| perl | perl | 5.14.0 |
| perl | perl | 5.14.0 |
| perl | perl | 5.14.0 |
| perl | perl | 5.14.0 |
| perl | perl | 5.14.1 |
| perl | perl | 5.14.2 |
Official sources
References
Links published by the sources. Open them with care.