Integer overflow in the format string functionality (Perl_sv_vcatpvfn) in Perl 5.9.2 and…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
Integer overflow in the format string functionality (Perl_sv_vcatpvfn) in Perl 5.9.2 and 5.8.6 Perl allows attackers to overwrite arbitrary memory and possibly execute arbitrary code via format string specifiers with large values, which causes an integer wrap and leads to a buffer overflow, as demonstrated using format string vulnerabilities in Perl applications.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2005:881 Released 2005-12-20 · Red Hat rating Moderateperl security update
- Red Hat Desktop version 3 perl-2:5.8.0-90.4, perl-2:5.8.0-90.4.i386, perl-CGI-2:2.89-90.4 +7
- Red Hat Enterprise Linux AS version 3 perl-2:5.8.0-90.4, perl-2:5.8.0-90.4.i386, perl-2:5.8.0-90.4.ia64 +17
- Red Hat Enterprise Linux ES version 3 perl-2:5.8.0-90.4, perl-2:5.8.0-90.4.i386, perl-2:5.8.0-90.4.ia64 +12
- Red Hat Enterprise Linux WS version 3 perl-2:5.8.0-90.4, perl-2:5.8.0-90.4.i386, perl-2:5.8.0-90.4.ia64 +12
- RHSA-2005:880 Released 2005-12-20 · Red Hat rating Moderateperl security update
- Red Hat Enterprise Linux AS version 4 perl-3:5.8.5-24.RHEL4, perl-3:5.8.5-24.RHEL4.i386, perl-3:5.8.5-24.RHEL4.ia64 +5
- Red Hat Enterprise Linux Desktop version 4 perl-3:5.8.5-24.RHEL4, perl-3:5.8.5-24.RHEL4.i386, perl-suidperl-3:5.8.5-24.RHEL4 +1
- Red Hat Enterprise Linux ES version 4 perl-3:5.8.5-24.RHEL4, perl-3:5.8.5-24.RHEL4.i386, perl-3:5.8.5-24.RHEL4.ia64 +3
- Red Hat Enterprise Linux WS version 4 perl-3:5.8.5-24.RHEL4, perl-3:5.8.5-24.RHEL4.i386, perl-3:5.8.5-24.RHEL4.ia64 +3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:881 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:881 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:880 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:880 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:881 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:880 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:881 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:880 |
Timeline
- 2026-10-02 Threatist record created from CVE-2005-3962
- 2026-10-03 Alias added: GHSA-x9vv-cmfc-4qwh
References
Advisory 18
Other 11
- ADV-2006-4750
- oval:org.mitre.oval:def:1074
- 22255
- http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm
- 20051201 Perl format string integer wrap vulnerability
- ADV-2005-2688
- 21345
- http://docs.info.apple.com/article.html?artnum=304829
- oval:org.mitre.oval:def:10598
- ADV-2006-0771
- http://www.ipcop.org/index.php?name=News&file=article&sid=41
More Perl vulnerabilities
- TI-2022-24100 In Perl 5.34.0, function S_find_uninit_var in sv.c has a stack-based crash that can lead… CVSS 3.1CRITICAL 9.8
- TI-2012-05140 The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl… CVSS 2.0HIGH 7.5
- TI-2018-12932 Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular… CVSS 3.0CRITICAL 9.8
- TI-2018-12931 Perl before 5.26.3 and 5.28.x before 5.28.1 has a buffer overflow via a crafted regular… CVSS 3.0CRITICAL 9.8
- TI-2018-05049 Heap-based buffer overflow in the pack function in Perl before 5.26.2 allows… CVSS 3.0CRITICAL 9.8
- TI-2017-09493 Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2005-3962 · CVE Program
- CVE-2005-3962 · NVD
- FIRST EPSS
- GHSA-x9vv-cmfc-4qwh · GitHub Advisory Database · CC BY 4.0
- CVE-2005-3962 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences