Common Weakness Enumeration

CWE-134

Allowed

Use of Externally-Controlled Format String

Abstraction: Base · Status: Draft

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

501 vulnerabilities reference this CWE, most recent first.

GHSA-9X5R-J6V5-H93R

Vulnerability from github – Published: 2022-10-25 19:00 – Updated: 2022-10-28 12:00
VLAI
Details

Four format string injection vulnerabilities exist in the XCMD testWifiAP functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. Specially-crafted configuration values can lead to memory corruption, information disclosure and denial of service. An attacker can modify a configuration value and then execute an XCMD to trigger these vulnerabilities.This vulnerability arises from format string injection via the default_key_id configuration parameter, as used within the testWifiAP XCMD handler

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-35877"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-10-25T17:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "Four format string injection vulnerabilities exist in the XCMD testWifiAP functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. Specially-crafted configuration values can lead to memory corruption, information disclosure and denial of service. An attacker can modify a configuration value and then execute an XCMD to trigger these vulnerabilities.This vulnerability arises from format string injection via the `default_key_id` configuration parameter, as used within the `testWifiAP` XCMD handler",
  "id": "GHSA-9x5r-j6v5-h93r",
  "modified": "2022-10-28T12:00:35Z",
  "published": "2022-10-25T19:00:28Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-35877"
    },
    {
      "type": "WEB",
      "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2022-1581"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-9X99-QQ28-FF9G

Vulnerability from github – Published: 2024-04-30 09:30 – Updated: 2025-11-04 00:30
VLAI
Details

DMitry (Deepmagic Information Gathering Tool) 1.3a has a format-string vulnerability, with a threat model similar to CVE-2017-7938.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2024-31837"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-04-30T07:15:48Z",
    "severity": "HIGH"
  },
  "details": "DMitry (Deepmagic Information Gathering Tool) 1.3a has a format-string vulnerability, with a threat model similar to CVE-2017-7938.",
  "id": "GHSA-9x99-qq28-ff9g",
  "modified": "2025-11-04T00:30:48Z",
  "published": "2024-04-30T09:30:45Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31837"
    },
    {
      "type": "WEB",
      "url": "https://github.com/jaygreig86/dmitry/pull/12"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00024.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-9XF5-RPHV-HQW2

Vulnerability from github – Published: 2022-05-01 17:51 – Updated: 2022-05-01 17:51
VLAI
Details

Format string vulnerability in the new_warning function in ntserv/warning.c for Netrek Vanilla Server 2.12.0, when EVENTLOG is enabled, allows remote attackers to cause a denial of service (crash) or execute arbitrary code via format string specifiers in the message handling.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-1251"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-03-03T20:19:00Z",
    "severity": "HIGH"
  },
  "details": "Format string vulnerability in the new_warning function in ntserv/warning.c for Netrek Vanilla Server 2.12.0, when EVENTLOG is enabled, allows remote attackers to cause a denial of service (crash) or execute arbitrary code via format string specifiers in the message handling.",
  "id": "GHSA-9xf5-rphv-hqw2",
  "modified": "2022-05-01T17:51:43Z",
  "published": "2022-05-01T17:51:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1251"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/32777"
    },
    {
      "type": "WEB",
      "url": "http://aluigi.altervista.org/adv/netrekfs-adv.txt"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24357"
    },
    {
      "type": "WEB",
      "url": "http://sourceforge.net/project/shownotes.php?release_id=490561"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/461755/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/22786"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/0815"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-C2XV-CJ4R-RWV7

Vulnerability from github – Published: 2022-05-14 02:45 – Updated: 2025-04-11 03:35
VLAI
Details

Format string vulnerability in ovet_demandpoll.exe in HP OpenView Network Node Manager (OV NNM) 7.01, 7.51, and 7.53 allows remote attackers to execute arbitrary code via format string specifiers in the sel parameter.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2010-1550"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2010-05-13T17:30:00Z",
    "severity": "HIGH"
  },
  "details": "Format string vulnerability in ovet_demandpoll.exe in HP OpenView Network Node Manager (OV NNM) 7.01, 7.51, and 7.53 allows remote attackers to execute arbitrary code via format string specifiers in the sel parameter.",
  "id": "GHSA-c2xv-cj4r-rwv7",
  "modified": "2025-04-11T03:35:11Z",
  "published": "2022-05-14T02:45:24Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1550"
    },
    {
      "type": "WEB",
      "url": "http://marc.info/?l=bugtraq\u0026m=127360750704351\u0026w=2"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/511245/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://zerodayinitiative.com/advisories/ZDI-10-081"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-C435-2CGX-2393

Vulnerability from github – Published: 2022-05-02 03:16 – Updated: 2022-05-02 03:16
VLAI
Details

Format string vulnerability in Symantec pcAnywhere before 12.5 SP1 allows local users to read and modify arbitrary memory locations, and cause a denial of service (application crash) or possibly have unspecified other impact, via format string specifiers in the pathname of a remote control file (aka .CHF file).

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2009-0538"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2009-03-18T15:30:00Z",
    "severity": "MODERATE"
  },
  "details": "Format string vulnerability in Symantec pcAnywhere before 12.5 SP1 allows local users to read and modify arbitrary memory locations, and cause a denial of service (application crash) or possibly have unspecified other impact, via format string specifiers in the pathname of a remote control file (aka .CHF file).",
  "id": "GHSA-c435-2cgx-2393",
  "modified": "2022-05-02T03:16:17Z",
  "published": "2022-05-02T03:16:17Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0538"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/49291"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/52797"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/34305"
    },
    {
      "type": "WEB",
      "url": "http://securityresponse.symantec.com/avcenter/security/Content/2009.03.17.html"
    },
    {
      "type": "WEB",
      "url": "http://securitytracker.com/id?1021855"
    },
    {
      "type": "WEB",
      "url": "http://www.layereddefense.com/pcanywhere17mar.html"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/501930/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/33845"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2009/0755"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-C49M-XJH6-2H4V

Vulnerability from github – Published: 2022-05-13 01:26 – Updated: 2022-05-13 01:26
VLAI
Details

The Pulse Secure Desktop (macOS) 5.3RX before 5.3R5 and 9.0R1 has a Format String Vulnerability.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2018-15749"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2018-09-06T23:29:00Z",
    "severity": "MODERATE"
  },
  "details": "The Pulse Secure Desktop (macOS) 5.3RX before 5.3R5 and 9.0R1 has a Format String Vulnerability.",
  "id": "GHSA-c49m-xjh6-2h4v",
  "modified": "2022-05-13T01:26:38Z",
  "published": "2022-05-13T01:26:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-15749"
    },
    {
      "type": "WEB",
      "url": "https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA43877"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-C4F5-FW2W-G788

Vulnerability from github – Published: 2022-05-01 18:31 – Updated: 2022-05-01 18:31
VLAI
Details

Multiple format string vulnerabilities in the ID Software Doom 3 engine, as used by Doom 3 1.3.1 and earlier, Quake 4 1.4.2 and earlier, and Prey 1.3 and earlier, when Punkbuster (PB) is enabled, allow remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via format string specifiers in (1) a PB_Y packet to the YPG server or (2) a PB_U packet to UCON. NOTE: this issue might be in Punkbuster itself, but there are insufficient details to be certain.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-5248"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-10-06T17:17:00Z",
    "severity": "HIGH"
  },
  "details": "Multiple format string vulnerabilities in the ID Software Doom 3 engine, as used by Doom 3 1.3.1 and earlier, Quake 4 1.4.2 and earlier, and Prey 1.3 and earlier, when Punkbuster (PB) is enabled, allow remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via format string specifiers in (1) a PB_Y packet to the YPG server or (2) a PB_U packet to UCON.  NOTE: this issue might be in Punkbuster itself, but there are insufficient details to be certain.",
  "id": "GHSA-c4f5-fw2w-g788",
  "modified": "2022-05-01T18:31:29Z",
  "published": "2022-05-01T18:31:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-5248"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36899"
    },
    {
      "type": "WEB",
      "url": "http://aluigi.altervista.org/adv/d3engfspb-adv.txt"
    },
    {
      "type": "WEB",
      "url": "http://aluigi.org/poc/d3engfspb.zip"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27002"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27023"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/27036"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/3196"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/481229/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/25893"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/3333"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-C577-76Q8-RJR3

Vulnerability from github – Published: 2023-02-12 06:30 – Updated: 2023-02-21 21:30
VLAI
Details

IBM Spectrum Scale (5.1.0.0 through 5.1.2.8 and 5.1.3.0 through 5.1.5.1) and IBM Elastic Storage System (6.1.0.0 through 6.1.2.4 and 6.1.3.0 through 6.1.4.1) could allow an authenticated user to cause a denial of service through the GUI using a format string attack. IBM X-Force ID: 239539.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-43869"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-02-12T04:15:00Z",
    "severity": "MODERATE"
  },
  "details": "IBM Spectrum Scale (5.1.0.0 through 5.1.2.8 and 5.1.3.0 through 5.1.5.1) and IBM Elastic Storage System (6.1.0.0 through 6.1.2.4 and 6.1.3.0 through 6.1.4.1) could allow an authenticated user to cause a denial of service through the GUI using a format string attack. IBM X-Force ID: 239539.",
  "id": "GHSA-c577-76q8-rjr3",
  "modified": "2023-02-21T21:30:17Z",
  "published": "2023-02-12T06:30:28Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43869"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/239539"
    },
    {
      "type": "WEB",
      "url": "https://www.ibm.com/support/pages/node/6909465"
    },
    {
      "type": "WEB",
      "url": "https://www.ibm.com/support/pages/node/6909469"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-C67J-99PX-GG68

Vulnerability from github – Published: 2022-05-17 02:02 – Updated: 2025-04-11 03:42
VLAI
Details

Format string vulnerability in nnmRptConfig.exe in HP OpenView Network Node Manager (OV NNM) 7.51 and 7.53 allows remote attackers to execute arbitrary code via format string specifiers in input data that involves an invalid template name.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2011-0270"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2011-01-13T19:00:00Z",
    "severity": "HIGH"
  },
  "details": "Format string vulnerability in nnmRptConfig.exe in HP OpenView Network Node Manager (OV NNM) 7.51 and 7.53 allows remote attackers to execute arbitrary code via format string specifiers in input data that involves an invalid template name.",
  "id": "GHSA-c67j-99px-gg68",
  "modified": "2025-04-11T03:42:57Z",
  "published": "2022-05-17T02:02:50Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-0270"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/64646"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/70474"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/515628"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/45762"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id?1024951"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2011/0085"
    },
    {
      "type": "WEB",
      "url": "http://www.zerodayinitiative.com/advisories/ZDI-11-012"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-C8VQ-G263-292W

Vulnerability from github – Published: 2022-04-23 00:03 – Updated: 2022-04-23 00:03
VLAI
Details

ASUS RT-AX88U has a Format String vulnerability, which allows an unauthenticated remote attacker to write to arbitrary memory address and perform remote arbitrary code execution, arbitrary system operation or disrupt service.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-26674"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2022-04-22T07:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "ASUS RT-AX88U has a Format String vulnerability, which allows an unauthenticated remote attacker to write to arbitrary memory address and perform remote arbitrary code execution, arbitrary system operation or disrupt service.",
  "id": "GHSA-c8vq-g263-292w",
  "modified": "2022-04-23T00:03:03Z",
  "published": "2022-04-23T00:03:03Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26674"
    },
    {
      "type": "WEB",
      "url": "https://www.twcert.org.tw/tw/cp-132-6043-0f72c-1.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

Mitigation
Requirements

Choose a language that is not subject to this flaw.

Mitigation
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]

Mitigation
Build and Compilation

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

CAPEC-135: Format String Injection

An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.

CAPEC-67: String Format Overflow in syslog()

This attack targets applications and software that uses the syslog() function insecurely. If an application does not explicitely use a format string parameter in a call to syslog(), user input can be placed in the format string parameter leading to a format string injection attack. Adversaries can then inject malicious format string commands into the function call leading to a buffer overflow. There are many reported software vulnerabilities with the root cause being a misuse of the syslog() function.