1. CVE archive
  2. Vulnerability types
  3. CWE-134
CWE-134 · #94 most frequent type in the archive

Use of Externally-Controlled Format String

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Part of: CWE-668 · Exposure of Resource to Wrong Sphere

435CVEs of this type in the archive
110critical (CVSS ≥ 9)
194high severity (7–8.9)
Nov 30, 2026latest published

What it is

The product uses a function that accepts a format string as an argument, but the format string originates from an external source.

Impact on systems

ScopeImpact
Confidentiality Read Memory
Format string problems allow for information disclosure which can severely simplify exploitation of the program.
Integrity, Confidentiality, Availability Modify Memory, Execute Unauthorized Code or Commands
Format string problems can result in the execution of arbitrary code, buffer overflows, denial of service, or incorrect data representation.

How to prevent it

Requirements Choose a language that is not subject to this flaw.
Implementation Ensure that all format string functions are passed a static string which cannot be controlled by the user, and that the proper number of arguments are always sent to that function as well. If at all possible, use functions that do not support the %n operator in format strings.
Build and Compilation Run compilers and linkers with high warning levels, since they may detect incorrect usage.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-134 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20021
20031
20042
20055
200618
200732
200824
200928
201015
201110
201211
20139
20147
20154
20163
201718
201821
201924
202012
202114
202231
202325
202426
202519
202675

All CWE-134 CVEs

435 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.