CVE-2012-6329: The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly handle backslashes and…
Noroxi assessment
Priority: Plan (action score 49/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 63.7% (FIRST EPSS); higher than 99.2% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: perl (Debian:12) 5.14.2-16; perl (Red Hat:enterprise_linux:5::server) 4:5.8.8-40.el5_9; perl-debuginfo (Red Hat:enterprise_linux:5::server) 4:5.8.8-40.el5_9.
Add it to your regular patch cycle. Upgrade to perl (Debian:12) 5.14.2-16; perl (Red Hat:enterprise_linux:5::server) 4:5.8.8-40.el5_9; perl-debuginfo (Red Hat:enterprise_linux:5::server) 4:5.8.8-40.el5_9 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.7% · 99th percentile
- CWE
- CWE-94
Report tools
Action score
49
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 19 / 30 · 63.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| 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
+12 more rows
- 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 |
+96
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…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2012-5195Dec 17, 2012 · 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…31Monitor
- ← EarlierCVE-2011-2728Dec 21, 2012 · The bsd_glob function in the File::Glob module for Perl before 5.14.2 allows context-dependent attackers to cause a denial of service…17Monitor
- Later →CVE-2013-1667Mar 13, 2013 · The rehash mechanism in Perl 5.8.2 through 5.16.x allows context-dependent attackers to cause a denial of service (memory consumption and…31Monitor
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
- TodayNov 15, 2026+5062 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.
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
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)
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- 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.