libsmi smiGetNode() buffer overflow

libsmi-smigetnode-bo (62686) The risk level is classified as HighHigh Risk


libsmi is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the smiGetNode() function when processing an Object Identifier (OID) in string-dotted notation. By sending an overly long string, a local attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.


Base Score: 4.6
  Access Vector: Local
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
Temporal Score: 3.4
  Exploitability: Proof-of-Concept
  Remediation Level: Official-Fix
  Report Confidence: Uncorroborated


Gain Access


Apply the patch for this vulnerability, available from the libsmi SVN Repository. See References.


  • CORE-2010-0819: LibSMI smiGetNode Buffer Overflow When Long OID Is Given In Numerical Form.
  • libsmi SVN Repository: libsmi.
  • Offensive Security Exploit Database [10-20-2010]: LibSMI smiGetNode Buffer Overflow When Long OID Is Given In Numerical Form.
  • BID-44276: libsmi 'smiGetNode()' Long OID Remote Buffer Overflow Vulnerability
  • CVE-2010-2891: Buffer overflow in the smiGetNode function in lib/smi.c in libsmi 0.4.8 allows context-dependent attackers to execute arbitrary code via an Object Identifier (aka OID) represented as a numerical string containing many components separated by . (dot) characters.
  • DSA-2145: libsmi -- buffer overflow
  • MDVSA-2010:209: libsmi
  • OSVDB ID: 68767: libsmi lib/smi.c smiGetNode() Function Object Identifier (OID) Handling Overflow
  • SA41841: libsmi smiGetNode() Buffer Overflow Vulnerability
  • SUSE-SR:2011:001: SUSE Security Summary Report
  • SUSE-SR:2011:002: SUSE Security Summary Report

Platforms Affected:

  • libsmi libsmi 0.4.8
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • Mandriva Enterprise Server 5
  • Mandriva Enterprise Server 5 X86_64
  • Mandriva Linux 2009.0
  • Mandriva Linux 2009.0 X86_64
  • Mandriva Linux 2009.1
  • Mandriva Linux 2009.1 X86_64
  • Mandriva Linux 2010 X86_64
  • Mandriva Linux 2010


Oct 20, 2010

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page