CWE
189 119
Advisory Published
CVE Published
Updated

CVE-2011-2939: Buffer Overflow

First published: Wed Aug 17 2011(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Encode<=2.43
Encode=0.93
Encode=0.94
Encode=0.95
Encode=0.96
Encode=0.97
Encode=0.98
Encode=0.99
Encode=1.00
Encode=1.01
Encode=1.10
Encode=1.11
Encode=1.20
Encode=1.21
Encode=1.25
Encode=1.26
Encode=1.28
Encode=1.30
Encode=1.31
Encode=1.32
Encode=1.33
Encode=1.34
Encode=1.40
Encode=1.41
Encode=1.42
Encode=1.50
Encode=1.51
Encode=1.52
Encode=1.53
Encode=1.54
Encode=1.55
Encode=1.56
Encode=1.57
Encode=1.58
Encode=1.59
Encode=1.60
Encode=1.61
Encode=1.62
Encode=1.63
Encode=1.64
Encode=1.65
Encode=1.66
Encode=1.67
Encode=1.68
Encode=1.69
Encode=1.70
Encode=1.71
Encode=1.72
Encode=1.73
Encode=1.74
Encode=1.75
Encode=1.76
Encode=1.77
Encode=1.78
Encode=1.79
Encode=1.80
Encode=1.81
Encode=1.82
Encode=1.83
Encode=1.84
Encode=1.85
Encode=1.86
Encode=1.87
Encode=1.88
Encode=1.89
Encode=1.90
Encode=1.91
Encode=1.92
Encode=1.93
Encode=1.94
Encode=1.95
Encode=1.96
Encode=1.97
Encode=1.98
Encode=1.99
Encode=2.0
Encode=2.01
Encode=2.02
Encode=2.03
Encode=2.04
Encode=2.05
Encode=2.06
Encode=2.07
Encode=2.08
Encode=2.09
Encode=2.10
Encode=2.11
Encode=2.12
Encode=2.13
Encode=2.14
Encode=2.15
Encode=2.16
Encode=2.17
Encode=2.18
Encode=2.19
Encode=2.20
Encode=2.21
Encode=2.22
Encode=2.23
Encode=2.24
Encode=2.25
Encode=2.26
Encode=2.27
Encode=2.28
Encode=2.29
Encode=2.30
Encode=2.31
Encode=2.32
Encode=2.33
Encode=2.34
Encode=2.35
Encode=2.36
Encode=2.37
Encode=2.38
Encode=2.39
Encode=2.40
Encode=2.41
Encode=2.42
Perl 5.30.0<=5.14.2
Perl 5.30.0=5.8.1
Perl 5.30.0=5.8.2
Perl 5.30.0=5.8.3
Perl 5.30.0=5.8.4
Perl 5.30.0=5.8.5
Perl 5.30.0=5.8.6
Perl 5.30.0=5.8.7
Perl 5.30.0=5.8.8
Perl 5.30.0=5.8.9
Perl 5.30.0=5.8.10
Perl 5.30.0=5.9.2
Perl 5.30.0=5.10
Perl 5.30.0=5.10.0
Perl 5.30.0=5.10.0-rc1
Perl 5.30.0=5.10.0-rc2
Perl 5.30.0=5.10.1
Perl 5.30.0=5.10.1-rc1
Perl 5.30.0=5.10.1-rc2
Perl 5.30.0=5.11.0
Perl 5.30.0=5.11.1
Perl 5.30.0=5.11.2
Perl 5.30.0=5.11.3
Perl 5.30.0=5.11.4
Perl 5.30.0=5.11.5
Perl 5.30.0=5.12.0
Perl 5.30.0=5.12.0-rc0
Perl 5.30.0=5.12.0-rc1
Perl 5.30.0=5.12.0-rc2
Perl 5.30.0=5.12.0-rc3
Perl 5.30.0=5.12.0-rc4
Perl 5.30.0=5.12.0-rc5
Perl 5.30.0=5.12.1
Perl 5.30.0=5.12.1-rc1
Perl 5.30.0=5.12.1-rc2
Perl 5.30.0=5.12.2
Perl 5.30.0=5.12.2-rc1
Perl 5.30.0=5.12.3
Perl 5.30.0=5.12.3-rc1
Perl 5.30.0=5.12.3-rc2
Perl 5.30.0=5.12.3-rc3
Perl 5.30.0=5.13.0
Perl 5.30.0=5.13.1
Perl 5.30.0=5.13.2
Perl 5.30.0=5.13.3
Perl 5.30.0=5.13.4
Perl 5.30.0=5.13.5
Perl 5.30.0=5.13.6
Perl 5.30.0=5.13.7
Perl 5.30.0=5.13.8
Perl 5.30.0=5.13.9
Perl 5.30.0=5.13.10
Perl 5.30.0=5.13.11
Perl 5.30.0=5.14.0
Perl 5.30.0=5.14.0-rc1
Perl 5.30.0=5.14.0-rc2
Perl 5.30.0=5.14.0-rc3
Perl 5.30.0=5.14.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2011-2939?

    CVE-2011-2939 is considered a moderate severity vulnerability due to its potential to cause a denial of service via a memory corruption issue.

  • How do I fix CVE-2011-2939?

    To fix CVE-2011-2939, you should upgrade the Encode module to version 2.44 or later.

  • Which versions are affected by CVE-2011-2939?

    CVE-2011-2939 affects the Encode module versions prior to 2.44 and Perl versions prior to 5.15.6.

  • What type of vulnerability is CVE-2011-2939?

    CVE-2011-2939 is categorized as a heap-based buffer overflow caused by an off-by-one error.

  • Can CVE-2011-2939 be exploited remotely?

    Yes, CVE-2011-2939 can potentially be exploited by context-dependent attackers through specially crafted Unicode strings.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203