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

8 results · Clear filters · Feed

  • 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.

  • High 8.4
    CVE-2010-10017 Public exploit

    WM Downloader 3.1.2.2 Buffer Overflow via Malformed M3U File

    WM Downloader version 3.1.2.2 is vulnerable to a buffer overflow when processing a specially crafted .m3u playlist file. The application fails to properly validate input length, allowing an attacker to overwrite structured exception handler (SEH) records and …

  • High 8.7
    CVE-2011-10029 Public exploit

    Solar FTP Server <= 2.1.1 Malformed USER Denial of Service

    Solar FTP Server fails to properly handle format strings passed to the USER command. When a specially crafted string containing format specifiers is sent, the server crashes due to a read access violation in the __output_1() function of sfsservice.exe. This r…

  • Critical 9.3
    CVE-2012-10055 Public exploit

    ComSndFTP v1.3.7 Beta USER Format String RCE

    ComSndFTP FTP Server version 1.3.7 Beta contains a format string vulnerability in its handling of the USER command. By sending a specially crafted username containing format specifiers, a remote attacker can overwrite a hardcoded function pointer in memory (s…

  • Critical 9.8
    CVE-2024-23113 Exploited Public exploit EPSS 62%

    A use of externally-controlled format string in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0…

    KEV Oct 9, 2024
  • High 7.2
    CVE-2023-35086 Public exploit EPSS 39%

    ASUS RT-AX56U V2 & RT-AC86U - Format String -1

    It is identified a format string vulnerability in ASUS RT-AX56U V2 & RT-AC86U. This vulnerability is caused by directly using input as a format string when calling syslog in logmessage_normal function, in the do_detwan_cgi module of httpd. A remote attacker w…

  • Medium 4.5
    CVE-2019-11287 Public exploit

    RabbitMQ Web Management Plugin DoS via heap overflow

    Pivotal RabbitMQ, versions 3.7.x prior to 3.7.21 and 3.8.x prior to 3.8.1, and RabbitMQ for Pivotal Platform, 1.16.x versions prior to 1.16.7 and 1.17.x versions prior to 1.17.4, contain a web management plugin that is vulnerable to a denial of service attack…

  • High 8.1
    CVE-2019-1579 Exploited · Ransomware Public exploit EPSS 44%

    Remote Code Execution in PAN-OS 7.1.18 and earlier, PAN-OS 8.0.11-h1 and earlier, and PAN-OS 8.1.2 and earlier with Glo…

    KEV Jan 10, 2022