Every CVE Search/ Get API key

CVE-2011-2939

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44...

5.1 MediumFix available

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Exploit likelihood

2.56%Down 0.1 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.1

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Record
CVE-2011-2939
CVSS 2.0
5.1 MediumAV:N/AC:H/Au:N/C:P/I:P/A:P
Weakness
CWE-189
Updated
2026-11-02
CVE List No score

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Record
CVE-2011-2939
Updated
2026-11-02
EUVDEUVD-2011-2907 No score

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Record
EUVD-2011-2907
Updated
2026-11-03
GitHub AdvisoriesGHSA-76hr-qp66-cq6j No score

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44...

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Record
GHSA-76hr-qp66-cq6j
Updated
2026-11-02
OSV No score

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Record
CVE-2011-2939
Updated
2026-11-02
OSVDEBIAN-CVE-2011-2939 No score

Off-by-one error in the decode_xs function in Unicode/Unicode.xs in the Encode module before 2.44, as used in Perl before 5.15.6, might allow context-dependent attackers to cause a denial of service (memory corruption) via a crafted Unicode string, which triggers a heap-based buffer overflow.

Record
DEBIAN-CVE-2011-2939
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libencode-perl
Debian:12
before 2.44-1
2.44-1
libencode-perl
Debian:13
before 2.44-1
2.44-1
libencode-perl
Debian:14
before 2.44-1
2.44-1
perl
Debian:12
before 5.12.4-4
5.12.4-4
perl
Debian:13
before 5.12.4-4
5.12.4-4
perl
Debian:14
before 5.12.4-4
5.12.4-4
perl
Red Hat:enterprise_linux:6::server
before 4:5.10.1-119.el6_1.1
4:5.10.1-119.el6_1.1
perl-Archive-Extract
Red Hat:enterprise_linux:6::server
before 1:0.38-119.el6_1.1
1:0.38-119.el6_1.1
perl-Archive-Tar
Red Hat:enterprise_linux:6::server
before 0:1.58-119.el6_1.1
0:1.58-119.el6_1.1
perl-CGI
Red Hat:enterprise_linux:6::server
before 0:3.51-119.el6_1.1
0:3.51-119.el6_1.1
Show 41 moreShow less
Affected packages
PackageAffectedFixed
perl-CPAN
Red Hat:enterprise_linux:6::server
before 0:1.9402-119.el6_1.1
0:1.9402-119.el6_1.1
perl-CPANPLUS
Red Hat:enterprise_linux:6::server
before 0:0.88-119.el6_1.1
0:0.88-119.el6_1.1
perl-Compress-Raw-Zlib
Red Hat:enterprise_linux:6::server
before 0:2.023-119.el6_1.1
0:2.023-119.el6_1.1
perl-Compress-Zlib
Red Hat:enterprise_linux:6::server
before 0:2.020-119.el6_1.1
0:2.020-119.el6_1.1
perl-Digest-SHA
Red Hat:enterprise_linux:6::server
before 1:5.47-119.el6_1.1
1:5.47-119.el6_1.1
perl-ExtUtils-CBuilder
Red Hat:enterprise_linux:6::server
before 1:0.27-119.el6_1.1
1:0.27-119.el6_1.1
perl-ExtUtils-Embed
Red Hat:enterprise_linux:6::server
before 0:1.28-119.el6_1.1
0:1.28-119.el6_1.1
perl-ExtUtils-MakeMaker
Red Hat:enterprise_linux:6::server
before 0:6.55-119.el6_1.1
0:6.55-119.el6_1.1
perl-ExtUtils-ParseXS
Red Hat:enterprise_linux:6::server
before 1:2.2003.0-119.el6_1.1
1:2.2003.0-119.el6_1.1
perl-File-Fetch
Red Hat:enterprise_linux:6::server
before 0:0.26-119.el6_1.1
0:0.26-119.el6_1.1
perl-IO-Compress-Base
Red Hat:enterprise_linux:6::server
before 0:2.020-119.el6_1.1
0:2.020-119.el6_1.1
perl-IO-Compress-Zlib
Red Hat:enterprise_linux:6::server
before 0:2.020-119.el6_1.1
0:2.020-119.el6_1.1
perl-IO-Zlib
Red Hat:enterprise_linux:6::server
before 1:1.09-119.el6_1.1
1:1.09-119.el6_1.1
perl-IPC-Cmd
Red Hat:enterprise_linux:6::server
before 1:0.56-119.el6_1.1
1:0.56-119.el6_1.1
perl-Locale-Maketext-Simple
Red Hat:enterprise_linux:6::server
before 1:0.18-119.el6_1.1
1:0.18-119.el6_1.1
perl-Log-Message
Red Hat:enterprise_linux:6::server
before 1:0.02-119.el6_1.1
1:0.02-119.el6_1.1
perl-Log-Message-Simple
Red Hat:enterprise_linux:6::server
before 0:0.04-119.el6_1.1
0:0.04-119.el6_1.1
perl-Module-Build
Red Hat:enterprise_linux:6::server
before 1:0.3500-119.el6_1.1
1:0.3500-119.el6_1.1
perl-Module-CoreList
Red Hat:enterprise_linux:6::server
before 0:2.18-119.el6_1.1
0:2.18-119.el6_1.1
perl-Module-Load
Red Hat:enterprise_linux:6::server
before 1:0.16-119.el6_1.1
1:0.16-119.el6_1.1
perl-Module-Load-Conditional
Red Hat:enterprise_linux:6::server
before 0:0.30-119.el6_1.1
0:0.30-119.el6_1.1
perl-Module-Loaded
Red Hat:enterprise_linux:6::server
before 1:0.02-119.el6_1.1
1:0.02-119.el6_1.1
perl-Module-Pluggable
Red Hat:enterprise_linux:6::server
before 1:3.90-119.el6_1.1
1:3.90-119.el6_1.1
perl-Object-Accessor
Red Hat:enterprise_linux:6::server
before 1:0.34-119.el6_1.1
1:0.34-119.el6_1.1
perl-Package-Constants
Red Hat:enterprise_linux:6::server
before 1:0.02-119.el6_1.1
1:0.02-119.el6_1.1
perl-Params-Check
Red Hat:enterprise_linux:6::server
before 1:0.26-119.el6_1.1
1:0.26-119.el6_1.1
perl-Parse-CPAN-Meta
Red Hat:enterprise_linux:6::server
before 1:1.40-119.el6_1.1
1:1.40-119.el6_1.1
perl-Pod-Escapes
Red Hat:enterprise_linux:6::server
before 1:1.04-119.el6_1.1
1:1.04-119.el6_1.1
perl-Pod-Simple
Red Hat:enterprise_linux:6::server
before 1:3.13-119.el6_1.1
1:3.13-119.el6_1.1
perl-Term-UI
Red Hat:enterprise_linux:6::server
before 0:0.20-119.el6_1.1
0:0.20-119.el6_1.1
perl-Test-Harness
Red Hat:enterprise_linux:6::server
before 0:3.17-119.el6_1.1
0:3.17-119.el6_1.1
perl-Test-Simple
Red Hat:enterprise_linux:6::server
before 0:0.92-119.el6_1.1
0:0.92-119.el6_1.1
perl-Time-HiRes
Red Hat:enterprise_linux:6::server
before 4:1.9721-119.el6_1.1
4:1.9721-119.el6_1.1
perl-Time-Piece
Red Hat:enterprise_linux:6::server
before 0:1.15-119.el6_1.1
0:1.15-119.el6_1.1
perl-core
Red Hat:enterprise_linux:6::server
before 0:5.10.1-119.el6_1.1
0:5.10.1-119.el6_1.1
perl-debuginfo
Red Hat:enterprise_linux:6::server
before 4:5.10.1-119.el6_1.1
4:5.10.1-119.el6_1.1
perl-devel
Red Hat:enterprise_linux:6::server
before 4:5.10.1-119.el6_1.1
4:5.10.1-119.el6_1.1
perl-libs
Red Hat:enterprise_linux:6::server
before 4:5.10.1-119.el6_1.1
4:5.10.1-119.el6_1.1
perl-parent
Red Hat:enterprise_linux:6::server
before 1:0.221-119.el6_1.1
1:0.221-119.el6_1.1
perl-suidperl
Red Hat:enterprise_linux:6::server
before 4:5.10.1-119.el6_1.1
4:5.10.1-119.el6_1.1
perl-version
Red Hat:enterprise_linux:6::server
before 3:0.77-119.el6_1.1
3:0.77-119.el6_1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2011-2939 is a medium vulnerability (CVSS 5.1) in Dan Kogai Encode Module, published January 13, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.56%, the 85th percentile. Fixed in libencode-perl 2.44-1.

References

Show 20 moreShow less
MoveEnter Open