CWE
190 189
Advisory Published
CVE Published
Updated

CVE-2009-4881: Integer Overflow

First published: Tue Mar 25 2008(Updated: )

Common Vulnerabilities and Exposures assigned an identifier <a href="https://access.redhat.com/security/cve/CVE-2009-4881">CVE-2009-4881</a> to the following vulnerability: Integer overflow in the __vstrfmon_l function in stdlib/strfmon_l.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 <a href="https://access.redhat.com/security/cve/CVE-2008-1391">CVE-2008-1391</a>. References: [1] <a href="http://sources.redhat.com/bugzilla/show_bug.cgi?id=10600">http://sources.redhat.com/bugzilla/show_bug.cgi?id=10600</a> [2] <a href="http://sourceware.org/git/?p=glibc.git;a=commit;h=153aa31b93be22e01b236375fb02a9f9b9a0195f">http://sourceware.org/git/?p=glibc.git;a=commit;h=153aa31b93be22e01b236375fb02a9f9b9a0195f</a> [3] <a href="http://sources.redhat.com/bugzilla/show_bug.cgi?id=10600">http://sources.redhat.com/bugzilla/show_bug.cgi?id=10600</a> [4] <a href="http://securityreason.com/achievement_securityalert/53">http://securityreason.com/achievement_securityalert/53</a> [5] <a href="http://xorl.wordpress.com/2009/04/11/cve-2008-1391-netbsd-strfmon-integer-overflow/">http://xorl.wordpress.com/2009/04/11/cve-2008-1391-netbsd-strfmon-integer-overflow/</a> Public PoC (from [4]): #include &lt;stdio.h&gt; #include &lt;monetary.h&gt; 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

Credit: cve@mitre.org

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

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-2009-4881?

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

  • 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.

  • 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.

  • 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.

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