Skip to content
Noroxi
CVE-2012-6329· NVD / CVE Program· CNA mitre

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.

HighCVSS 7.5 · v2.0—Weaponized Fix available
Published
Jan 4, 2013
Updated
Jun 16, 2026
EPSS
63.5% · 99th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

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

VendorProduct
perlperl

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.

EcosystemPackageAffected rangeFix
Debian:12perlbefore 5.14.2-165.14.2-16
Red Hat:enterprise_linux:5::serverperlbefore 4:5.8.8-40.el5_94:5.8.8-40.el5_9
Red Hat:enterprise_linux:5::serverperl-debuginfobefore 4:5.8.8-40.el5_94:5.8.8-40.el5_9
Red Hat:enterprise_linux:5::serverperl-suidperlbefore 4:5.8.8-40.el5_94:5.8.8-40.el5_9
Red Hat:enterprise_linux:6::clientperlbefore 4:5.10.1-130.el6_44:5.10.1-130.el6_4
Red Hat:enterprise_linux:6::clientperl-Archive-Extractbefore 1:0.38-130.el6_41:0.38-130.el6_4
Red Hat:enterprise_linux:6::clientperl-Archive-Tarbefore 0:1.58-130.el6_40:1.58-130.el6_4
Red Hat:enterprise_linux:6::clientperl-CGIbefore 0:3.51-130.el6_40:3.51-130.el6_4
Red Hat:enterprise_linux:6::clientperl-Compress-Raw-Bzip2before 0:2.020-130.el6_40:2.020-130.el6_4
Red Hat:enterprise_linux:6::clientperl-Compress-Raw-Zlibbefore 1:2.020-130.el6_41:2.020-130.el6_4
Red Hat:enterprise_linux:6::clientperl-Compress-Zlibbefore 0:2.020-130.el6_40:2.020-130.el6_4
Red Hat:enterprise_linux:6::clientperl-corebefore 0:5.10.1-130.el6_40:5.10.1-130.el6_4
Red Hat:enterprise_linux:6::clientperl-CPANbefore 0:1.9402-130.el6_40:1.9402-130.el6_4
Red Hat:enterprise_linux:6::clientperl-CPANPLUSbefore 0:0.88-130.el6_40:0.88-130.el6_4
Red Hat:enterprise_linux:6::clientperl-debuginfobefore 4:5.10.1-130.el6_44:5.10.1-130.el6_4
Red Hat:enterprise_linux:6::clientperl-develbefore 4:5.10.1-130.el6_44:5.10.1-130.el6_4
Red Hat:enterprise_linux:6::clientperl-Digest-SHAbefore 1:5.47-130.el6_41:5.47-130.el6_4
Red Hat:enterprise_linux:6::clientperl-ExtUtils-CBuilderbefore 1:0.27-130.el6_41:0.27-130.el6_4
Red Hat:enterprise_linux:6::clientperl-ExtUtils-Embedbefore 0:1.28-130.el6_40:1.28-130.el6_4
Red Hat:enterprise_linux:6::clientperl-ExtUtils-MakeMakerbefore 0:6.55-130.el6_40:6.55-130.el6_4
Red Hat:enterprise_linux:6::clientperl-ExtUtils-ParseXSbefore 1:2.2003.0-130.el6_41:2.2003.0-130.el6_4
Red Hat:enterprise_linux:6::clientperl-File-Fetchbefore 0:0.26-130.el6_40:0.26-130.el6_4
Red Hat:enterprise_linux:6::clientperl-IO-Compress-Basebefore 0:2.020-130.el6_40:2.020-130.el6_4
Red Hat:enterprise_linux:6::clientperl-IO-Compress-Bzip2before 0:2.020-130.el6_40:2.020-130.el6_4

+29

Same product

perl: all records

Other 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 lar
    42Plan
  • 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 Windo
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:perl5.14.2-16 · Debian:12Package registry (OSV)
red hat:perl4:5.8.8-40.el5_9 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:perl-Archive-Extract1:0.38-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-Archive-Tar0:1.58-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-CGI0:3.51-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-Compress-Raw-Bzip20:2.020-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-Compress-Raw-Zlib1:2.020-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-Compress-Zlib0:2.020-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-CPAN0:1.9402-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-CPANPLUS0:0.88-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-debuginfo4:5.8.8-40.el5_9 · Red Hat:enterprise_linux:5::serverPackage registry (OSV)
red hat:perl-Digest-SHA1:5.47-130.el6_4 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:perl-suidperl4:5.8.8-40.el5_9 · Red Hat:enterprise_linux:5::serverPackage 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.

Public exploit evidence
SourceKindDate
Exploit-DB entryremote2012-12-23
Exploit-DB entryremote2012-12-23
Metasploit moduleexploit/unix/webapp/foswiki_maketextFoswiki MAKETEXT Remote Command Executionexploit2012-12-03
Metasploit moduleexploit/unix/webapp/twiki_maketextTWiki MAKETEXT Remote Command Executionexploit2012-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.

  1. Metasploit-33 d
  2. First PoC-13 d
  3. Published
  4. TodaySep 30, 2026+5017 d
EPSS, last 120 days

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.

Finders, 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

CVSS vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

nvd-primary

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 help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records