OpenBSD and NetBSD 'printf(1)' Format String Parsing Denial of Service Vulnerability

BID:36884

Info

OpenBSD and NetBSD 'printf(1)' Format String Parsing Denial of Service Vulnerability

Bugtraq ID: 36884
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Oct 30 2009 12:00AM
Updated: Nov 02 2009 08:37PM
Credit: Maksymilian Arciemowicz
Vulnerable: OpenBSD OpenBSD 4.6
NetBSD NetBSD 5.0.1
Not Vulnerable:

Discussion

OpenBSD and NetBSD 'printf(1)' Format String Parsing Denial of Service Vulnerability

OpenBSD and NetBSD are prone to a denial-of-service vulnerability because they fail to properly parse format strings to the 'printf(1)' function.

An attacker can exploit this issue to cause applications using the vulnerable call to crash with a segmentation fault, denying service to legitimate users.

The following are reported vulnerable:

OpenBSD 4.6
NetBSD 5.0.1

Exploit / POC

OpenBSD and NetBSD 'printf(1)' Format String Parsing Denial of Service Vulnerability

The following example is available:

printf %*********s 666

Solution / Fix

OpenBSD and NetBSD 'printf(1)' Format String Parsing Denial of Service Vulnerability

Solution:
Patches for OpenBSD and NetBSD are available. Please see the references for details.

References

OpenBSD and NetBSD 'printf(1)' Format String Parsing Denial of Service 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