Multiple BSD Distributions 'printf(3)' Memory Corruption Vulnerability

BID:36885

Info

Multiple BSD Distributions 'printf(3)' Memory Corruption Vulnerability

Bugtraq ID: 36885
Class: Boundary Condition Error
CVE:
Remote: No
Local: Yes
Published: Oct 30 2009 12:00AM
Updated: Nov 02 2009 09:17PM
Credit: Maksymilian Arciemowicz
Vulnerable: OpenBSD OpenBSD 4.6
NetBSD NetBSD 5.0.1
Not Vulnerable:

Discussion

Multiple BSD Distributions 'printf(3)' Memory Corruption Vulnerability

Multiple BSD distributions are prone to a memory-corruption vulnerability because the software fails to properly bounds-check data used as an array index.

An attacker can exploit this issue to cause applications to crash with a segmentation fault, denying service to legitimate users. Given the nature of this issue, the attacker may also be able to run arbitrary code, but this has not been confirmed.

The following are vulnerable:

OpenBSD 4.6
NetBSD 5.0.1

Exploit / POC

Multiple BSD Distributions 'printf(3)' Memory Corruption Vulnerability

The following example is available:

printf %.1100000000f 1.1

Solution / Fix

Multiple BSD Distributions 'printf(3)' Memory Corruption Vulnerability

Solution:
Updates are available. Please see the references for details.

References

Multiple BSD Distributions 'printf(3)' Memory Corruption Vulnerability

References:

© CVE.report 2026

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report