The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and f
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and fully qualified method names during compilation of bracket notation, which allows context-dependent attackers to execute arbitrary commands via crafted input to an application that accepts translation strings from users, as demonstrated by the TWiki application before 5.1.3, and the Foswiki application 1.0.x through 1.0.10 and 1.1.x through 1.1.6.
- Published
- Jan 4, 2013
- Updated
- Jun 16, 2026
- EPSS
- 63.5% · 99th percentile
- CWE
- CWE-94
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
49
Plan
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 19 / 30 · 63.5%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| perl | perl | cpe:2.3:a:perl:perl |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- perl perlup to 5.16.2 inclusive
- perl perl5.10
- perl perl5.10.0
- perl perl5.10.1
- perl perl5.11.0
- perl perl5.11.1
- perl perl5.11.2
- perl perl5.11.3
- perl perl5.11.4
- perl perl5.11.5
- perl perl5.12.0
- perl perl5.12.1
- perl perl5.12.2
- perl perl5.12.3
- perl perl5.13.0
- perl perl5.13.1
- perl perl5.13.10
- perl perl5.13.11
- perl perl5.13.2
- perl perl5.13.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | perl | before 5.14.2-16 | 5.14.2-16 |
| Red Hat:enterprise_linux:5::server | perl | before 4:5.8.8-40.el5_9 | 4:5.8.8-40.el5_9 |
| Red Hat:enterprise_linux:5::server | perl-debuginfo | before 4:5.8.8-40.el5_9 | 4:5.8.8-40.el5_9 |
| Red Hat:enterprise_linux:5::server | perl-suidperl | before 4:5.8.8-40.el5_9 | 4:5.8.8-40.el5_9 |
| Red Hat:enterprise_linux:6::client | perl | before 4:5.10.1-130.el6_4 | 4:5.10.1-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-Archive-Extract | before 1:0.38-130.el6_4 | 1:0.38-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-Archive-Tar | before 0:1.58-130.el6_4 | 0:1.58-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-CGI | before 0:3.51-130.el6_4 | 0:3.51-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-Compress-Raw-Bzip2 | before 0:2.020-130.el6_4 | 0:2.020-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-Compress-Raw-Zlib | before 1:2.020-130.el6_4 | 1:2.020-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-Compress-Zlib | before 0:2.020-130.el6_4 | 0:2.020-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-core | before 0:5.10.1-130.el6_4 | 0:5.10.1-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-CPAN | before 0:1.9402-130.el6_4 | 0:1.9402-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-CPANPLUS | before 0:0.88-130.el6_4 | 0:0.88-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-debuginfo | before 4:5.10.1-130.el6_4 | 4:5.10.1-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-devel | before 4:5.10.1-130.el6_4 | 4:5.10.1-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-Digest-SHA | before 1:5.47-130.el6_4 | 1:5.47-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-ExtUtils-CBuilder | before 1:0.27-130.el6_4 | 1:0.27-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-ExtUtils-Embed | before 0:1.28-130.el6_4 | 0:1.28-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-ExtUtils-MakeMaker | before 0:6.55-130.el6_4 | 0:6.55-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-ExtUtils-ParseXS | before 1:2.2003.0-130.el6_4 | 1:2.2003.0-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-File-Fetch | before 0:0.26-130.el6_4 | 0:0.26-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-IO-Compress-Base | before 0:2.020-130.el6_4 | 0:2.020-130.el6_4 |
| Red Hat:enterprise_linux:6::client | perl-IO-Compress-Bzip2 | before 0:2.020-130.el6_4 | 0:2.020-130.el6_4 |
+29
Same product
perl: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-18311Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-18312Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid write operations.43Plan
- CVE-2018-6913Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows context-dependent attackers to execute arbitrary code via a lar42Plan
- CVE-2018-18314Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations.41Plan
- CVE-2018-6797An issue was discovered in Perl 5.18 through 5.26.41Plan
- CVE-2017-12814Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 on Windo41Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:perl | 5.14.2-16 · Debian:12 | Package registry (OSV) |
| red hat:perl | 4:5.8.8-40.el5_9 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:perl-Archive-Extract | 1:0.38-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-Archive-Tar | 0:1.58-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-CGI | 0:3.51-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-Compress-Raw-Bzip2 | 0:2.020-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-Compress-Raw-Zlib | 1:2.020-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-Compress-Zlib | 0:2.020-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-CPAN | 0:1.9402-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-CPANPLUS | 0:0.88-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-debuginfo | 4:5.8.8-40.el5_9 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
| red hat:perl-Digest-SHA | 1:5.47-130.el6_4 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:perl-suidperl | 4:5.8.8-40.el5_9 · Red Hat:enterprise_linux:5::server | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×2
- Exploit-DB entry ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2012-12-23 |
| Exploit-DB entry | remote | 2012-12-23 |
| Metasploit module | exploit/unix/webapp/foswiki_maketextFoswiki MAKETEXT Remote Command Executionexploit | 2012-12-03 |
| Metasploit module | exploit/unix/webapp/twiki_maketextTWiki MAKETEXT Remote Command Executionexploit | 2012-12-15 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-33 d
- First PoC-13 d
- Published
- TodaySep 30, 2026+5017 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=695224
- code.activestate.com/lists/perl5-porters/187746/
- code.activestate.com/lists/perl5-porters/187763/
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10735
- openwall.com/lists/oss-security/2012/12/11/4
- perl5.git.perl.org/perl.git/blob/HEAD:/pod/perl5177delta.pod
- perl5.git.perl.org/perl.git/commit/1735f6f53ca19f99c6e9e39496c486af323ba6a8
- rhn.redhat.com/errata/RHSA-2013-0685.html
- sourceforge.net/mailarchive/message.php?msg_id=30219695
- twiki.org/cgi-bin/view/Codev/SecurityAlert-CVE-2012-6329
- www.mandriva.com/security/advisories?name=MDVSA-2013:113
- www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- www.securityfocus.com/bid/56950
- www.ubuntu.com/usn/USN-2099-1
- bugzilla.redhat.com/show_bug.cgi?id=884354
- wiki.mageia.org/en/Support/Advisories/MGASA-2013-0032
Vendor advisories and official records. Exploit/PoC links are deliberately left out.