Everything About ___
Live briefing

Everything about Uncontrolled format string

Type of software vulnerability

Uncontrolled format string is a type of code injection vulnerability discovered around 1989 that can be used in security exploits. Originally thought harmless, format string exploits can be used to crash a program or to execute harmful code. The problem stems from the use of unchecked user input as the format string parameter in certain C functions that perform formatting, such as printf . A malicious user may use the %s and %x format tokens, among others, to print data from the call stack or possibly other locations in memory. One may also write arbitrary data to arbitrary locations using the %n format token, which commands printf and similar functions to write the number of bytes formatted to an address stored on the stack. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Uncontrolled format stringA 5-minute orientation
  2. Pick up a classic book: The Conspirators HierarchyThe most-reprinted book on the subject
  3. Go sideways: Przemysław FrasunekA closely related topic
  4. Go sideways: Secure codingA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🗂️ The subject at a glance

  1. Details
  2. History
  3. Prevention in compilers
  4. Detection

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics