Skip to content
OpenAdvisories

Weakness (CWE)

CWE-134: Use of Externally-Controlled Format String

Base Draft

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

How to prevent it (3 mitigations)
  1. Requirements

    Choose a language that is not subject to this flaw.

  2. 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. [REF-116] [REF-117]

  3. Build and Compilation

    Run compilers and linkers with high warning levels, since they may detect incorrect usage.

Source: MITRE CWE-134

54 results · Clear filters · Feed

  • Medium 6.8

    psqlODBC uses a server-supplied column name as a format string

    For an updatable cursor over a table without OIDs that has an auto-increment int4 column, psqlODBC places that column's name, as reported by the server, into a printf-style format string. It later expands that string with one argument while it builds the WHER…

  • Medium 4.9

    Microsoft SQL Server Denial of Service Vulnerability

    Use of externally-controlled format string in SQL Server allows an authorized attacker to deny service over a network.

  • Medium 6.6

    Authenticated Format String Vulnerability allows Memory Corruption in HPE Networking Instant ON API Endpoint

    A format string vulnerability in the API endpoint of HPE Networking Instant ON APs could allow an authenticated remote attacker with high privileges to cause memory corruption with a modified input. Successful exploitation could allow an attacker to provoke a…

  • Medium 6.5

    Active Directory Certificate Services (AD CS) Information Disclosure Vulnerability

    Use of externally-controlled format string in Active Directory Certificate Services (AD CS) allows an authorized attacker to disclose information over a network.

  • Medium 5.2

    Power System Information Disclosure

    IBM PowerVM Hypervisor FW1120.00, FW1110.00 through FW1110.30, and FW1060.00 through FW1060.80 IBM PowerVM could allow a local attacker to obtain sensitive information or cause a denial of service due to improper control of format strings.

  • Medium 6.8

    Nano: gnu nano: arbitrary memory writes, information disclosure, or denial of service via format string vulnerability in error handling.

    A flaw was found in GNU nano's multi-buffer error message handling. When a user opens multiple files at startup and one triggers an ALERT-level error, a specially crafted filename containing printf format specifiers can be reinterpreted. This format string vu…

  • Medium 5.5

    Dell PowerProtect Data Domain, versions 7.7.1.0 through 8.7, LTS2026 release version 8.6.1.0 through 8.6.1.10, LTS2025 …

  • Medium 6.9

    A format string vulnerability has been found in the "alias" parameter of the Serial Param configuration page in the NPo…

  • Medium 6.3

    An unsanitized format validation vulnerability in Nokia SR Linux

    Nokia SR Linux is vulnerable to local privilege escalation vulnerability due to unsanitized format validation. Successful exploitation of this vulnerability may allow an authenticated user to execute arbitrary commands with superuser privileges.

  • Medium 6.8

    Authenticated Format String Vulnerability in ONVIF Subscribe Service on TP-Link Tapo C520WS

    An authenticated format string vulnerability exists in the ONVIF Subscribe service in Tapo C520WS v2 due to improper handling of externally supplied parameters within formatting functions. An attacker may inject crafted format strings into event subscription …

  • Medium 6.8

    Authenticated Format String Vulnerability in ONVIF AddScopes Method on TP-Link Tapo C520WS

    An authenticated format string vulnerability is present in the ONVIF AddScopes in Tapo C520WS v2, where user-controlled input is improperly passed to formatting functions without adequate sanitization. An attacker can inject format specifiers into ONVIF scope…

  • Medium 4.3

    PostgreSQL timeofday() can disclose portions of server memory

    Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server memory, via crafted timezone zones. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.

  • Medium 4.7

    Remote Denial of Service Vulnerability Exists in ZTE Cloud PC Client uSmartview

    A remote denial-of-service vulnerability exists in the ZTE Cloud PC client uSmartview, which may lead to memory corruption and remote denial of service.

  • Medium 4.4

    Notepad++ 8.9.3 Format String Injection via nativeLang.xml

    Notepad++ 8.9.3 contains a format string injection vulnerability in the Find Results panel handler that allows attackers to cause denial of service and information disclosure by crafting a malicious nativeLang.xml language pack file. Attackers can distribute …

  • Medium 6.6
    CVE-2026-3008 Public exploit

    Vulnerability in Notepad++

    Successful exploitation of the string injection vulnerability could allow an attacker to obtain memory address information or crash the application.

  • Medium 5.5

    Nano: nano: format string vulnerability leads to denial of service

    A flaw was found in nano. A local user could exploit a format string vulnerability in the `statusline()` function. By creating a directory with a name containing `printf` specifiers, the application attempts to display this name, leading to a segmentation fau…

  • Medium 6.5

    A use of externally-controlled format string vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.4, FortiAnalyzer…

  • Medium 4.9

    A post-authentication Format String vulnerability in SonicOS allows a remote attacker to crash a firewall.

  • Medium 6.7

    A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.6.0 through 7.6.4, FortiOS 7.4.0 throu…

  • Medium 5.3

    n8n has a Webhook Node IP Whitelist Bypass via Partial String Matching

    n8n is an open source workflow automation platform. From 1.36.0 to before 2.2.0, the Webhook node’s IP whitelist validation performed partial string matching instead of exact IP comparison. As a result, an incoming request could be accepted if the source IP a…

  • Medium 5.1

    Panda3D <= 1.10.16 egg-mkfont Format String Information Disclosure

    The egg-mkfont utility in Panda3D versions up to and including 1.10.16 contains an uncontrolled format string vulnerability. The -gp (glyph pattern) command-line option is used directly as the format string for sprintf() with only a single argument supplied. …

  • Medium 5.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If a remote attacker gains an administrator account, they can then exploit the vulnerability to obtain secret data or modify memory.…

  • Medium 5.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If a remote attacker gains an administrator account, they can then exploit the vulnerability to obtain secret data or modify memory.…

  • Medium 5.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If a remote attacker gains an administrator account, they can then exploit the vulnerability to obtain secret data or modify memory.…

  • Medium 5.1

    QTS, QuTS hero

    A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If a remote attacker gains an administrator account, they can then exploit the vulnerability to obtain secret data or modify memory.…

  • Medium 5.5

    An XML External Entity (XXE) vulnerability in the deserializeArgs() method of Java SDK for CloudEvents v4.0.1 allows at…

  • Medium 6.3

    A use of externally-controlled format string vulnerability [CWE-134] vulnerability in Fortinet allows a privileged atta…

  • Medium 6.8

    A use of externally-controlled format string in Fortinet FortiAnalyzer versions 7.4.0 through 7.4.3, 7.2.2 through 7.2.…

  • Medium 6.3

    OnCell G3470A-LTE Series: Authenticated Format String Errors

    OnCell G3470A-LTE Series firmware versions v1.7.7 and prior have been identified as vulnerable due to accepting a format string from an external source as an argument. An attacker could modify an externally controlled format string to cause a memory leak and …

  • Medium 6.2

    A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through 7.2.5, Fort…

  • Medium 6.2

    A use of externally-controlled format string vulnerability in Fortinet FortiOS 7.4.0, FortiOS 7.2.0 through 7.2.5, Fort…

  • Medium 5.7

    Use of Externally-Controlled Format String vulnerability in Merge DICOM Toolkit C/C++ on Windows. When MC_Open_Associat…

  • Medium 6.1

    A use of externally-controlled format string vulnerability [CWE-134] in FortiOS version 7.4.1 and below, version 7.2.7 …

  • Medium 6.3

    A use of externally-controlled format string vulnerability [CWE-134] vulnerability in Fortinet allows a privileged atta…

  • Medium 5.7

    A format string vulnerability in Zyxel ATP series firmware versions from 4.32 through 5.37 Patch 1, USG FLEX series fir…

  • Medium 6.3

    A use of externally-controlled format string in Fortinet FortiOS version 7.2.0 through 7.2.4, FortiOS all versions 7.0,…

  • Medium 4.4

    Use of externally-controlled format string vulnerability in mPOS TUI trustlet prior to SMR May-2023 Release 1 allows lo…

  • Medium 6.3

    A valid, authenticated user may be able to trigger a denial of service of the XCC web user interface or other undefined…

  • Medium 6.5

    A format string vulnerability in a binary of the Zyxel NBG-418N v2 firmware versions prior to V1.00(AARP.14)C0 could al…

  • Medium 6.8

    This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of D-Link DIR-…