Perl decode_xs heap-based buffer overflow
Published Jan 13, 2012
5.1
MEDIUMCVSS 2.0
EPSS 2.56%
Description
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.
Affected products
No data.
- ≤ 2.43
- 0.93
- 0.94
- 0.95
- 0.96
- 0.97
- 0.98
- 0.99
- 1.00
- 1.01
- 1.10
- 1.11
- 1.20
- 1.21
- 1.25
- 1.26
- 1.28
- 1.30
- 1.31
- 1.32
- 1.33
- 1.34
- 1.40
- 1.41
- 1.42
- 1.50
- 1.51
- 1.52
- 1.53
- 1.54
- 1.55
- 1.56
- 1.57
- 1.58
- 1.59
- 1.60
- 1.61
- 1.62
- 1.63
- 1.64
- 1.65
- 1.66
- 1.67
- 1.68
- 1.69
- 1.70
- 1.71
- 1.72
- 1.73
- 1.74
- 1.75
- 1.76
- 1.77
- 1.78
- 1.79
- 1.80
- 1.81
- 1.82
- 1.83
- 1.84
- 1.85
- 1.86
- 1.87
- 1.88
- 1.89
- 1.90
- 1.91
- 1.92
- 1.93
- 1.94
- 1.95
- 1.96
- 1.97
- 1.98
- 1.99
- 2.0
- 2.01
- 2.02
- 2.03
- 2.04
- 2.05
- 2.06
- 2.07
- 2.08
- 2.09
- 2.10
- 2.11
- 2.12
- 2.13
- 2.14
- 2.15
- 2.16
- 2.17
- 2.18
- 2.19
- 2.20
- 2.21
- 2.22
- 2.23
- 2.24
- 2.25
- 2.26
- 2.27
- 2.28
- 2.29
- 2.30
- 2.31
- 2.32
- 2.33
- 2.34
- 2.35
- 2.36
- 2.37
- 2.38
- 2.39
- 2.40
- 2.41
- 2.42
- ≤ 5.14.2
- 5.8.1
- 5.8.2
- 5.8.3
- 5.8.4
- 5.8.5
- 5.8.6
- 5.8.7
- 5.8.8
- 5.8.9
- 5.8.10
- 5.9.2
- 5.10
- 5.10.0
- 5.10.0
- 5.10.0
- 5.10.1
- 5.10.1
- 5.10.1
- 5.11.0
- 5.11.1
- 5.11.2
- 5.11.3
- 5.11.4
- 5.11.5
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.0
- 5.12.1
- 5.12.1
- 5.12.1
- 5.12.2
- 5.12.2
- 5.12.3
- 5.12.3
- 5.12.3
- 5.12.3
- 5.13.0
- 5.13.1
- 5.13.2
- 5.13.3
- 5.13.4
- 5.13.5
- 5.13.6
- 5.13.7
- 5.13.8
- 5.13.9
- 5.13.10
- 5.13.11
- 5.14.0
- 5.14.0
- 5.14.0
- 5.14.0
- 5.14.1
No data.
Red Hat Enterprise Linux 6
perl-4:5.10.1-119.el6_1.1
Fixed · RHSA-2011:1424
Red Hat Enterprise Linux 4
perl
Affected
Red Hat Enterprise Linux 5
perl
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | perl-4:5.10.1-119.el6_1.1 | Fixed | RHSA-2011:1424 |
| Red Hat Enterprise Linux 4 | perl | Affected | n/a |
| Red Hat Enterprise Linux 5 | perl | Affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:H/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (19 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.56% (0.02557) | 84.52th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.65% (0.02653) | 83.63th | v5 (v2026.06.15) |
| Dec 28, 2025 | 6.57% (0.06571) | 90.83th | v4 (v2025.03.14) |
| Dec 27, 2025 | 2.32% (0.02324) | 84.44th | v4 (v2025.03.14) |
| Oct 28, 2025 | 6.57% (0.06571) | 90.72th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.32% (0.02324) | 84.28th | v4 (v2025.03.14) |
| Oct 1, 2025 | 6.57% (0.06571) | 90.81th | v4 (v2025.03.14) |
| Jul 30, 2025 | 2.32% (0.02324) | 84.17th | v4 (v2025.03.14) |
| May 4, 2025 | 3.69% (0.03687) | 87.28th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.15% (0.05150) | 88.89th | v4 (v2025.03.14) |
| Mar 29, 2025 | 7.67% (0.07666) | 86.20th | v4 (v2025.03.14) |
| Mar 17, 2025 | 5.47% (0.05469) | 89.48th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.90% (0.01900) | 89.00th | v3 (v2023.03.01) |
| Feb 1, 2024 | 1.71% (0.01715) | 86.54th | v3 (v2023.03.01) |
| Jun 10, 2023 | 2.05% (0.02048) | 87.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.14% (0.02140) | 87.47th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (17)
- http://cpansearch.perl.org/src/FLORA/perl-5.14.2/pod/perldelta.pod x_refsource_CONFIRM
- http://perl5.git.perl.org/perl.git/commitdiff/e46d973584785af1f445c4dedbee4243419cb860#patch5 x_refsource_CONFIRMExploitPatch
- http://search.cpan.org/~flora/perl-5.14.2/pod/perldelta.pod#Encode_decode_xs_n-byte_heap-overflow_%28CVE-2011-2939%29 x_refsource_CONFIRM
- http://secunia.com/advisories/46172 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/46989 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/51457 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/55314 third-party-advisoryx_refsource_SECUNIA
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:008 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2011/08/18/8 mailing-listx_refsource_MLIST
- http://www.openwall.com/lists/oss-security/2011/08/19/17 mailing-listx_refsource_MLISTPatch
- http://www.redhat.com/support/errata/RHSA-2011-1424.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/bid/49858 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-1643-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2011-2939 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=731246 x_refsource_CONFIRMPatchIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2011-2939
- https://www.cve.org/CVERecord?id=CVE-2011-2939
Change history (0)
No recorded changes yet.