CWE-134
AllowedUse 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.
530 vulnerabilities reference this CWE, most recent first.
GHSA-79H3-Q6M5-2593
Vulnerability from github – Published: 2022-05-24 19:06 – Updated: 2022-05-24 19:06In Weidmueller Industrial WLAN devices in multiple versions an exploitable format string vulnerability exists in the iw_console conio_writestr functionality. A specially crafted time server entry can cause an overflow of the time server buffer, resulting in remote code execution. An attacker can send commands while authenticated as a low privilege user to trigger this vulnerability.
{
"affected": [],
"aliases": [
"CVE-2021-33535"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-06-25T19:15:00Z",
"severity": "HIGH"
},
"details": "In Weidmueller Industrial WLAN devices in multiple versions an exploitable format string vulnerability exists in the iw_console conio_writestr functionality. A specially crafted time server entry can cause an overflow of the time server buffer, resulting in remote code execution. An attacker can send commands while authenticated as a low privilege user to trigger this vulnerability.",
"id": "GHSA-79h3-q6m5-2593",
"modified": "2022-05-24T19:06:16Z",
"published": "2022-05-24T19:06:16Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-33535"
},
{
"type": "WEB",
"url": "https://cert.vde.com/en-us/advisories/vde-2021-026"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-7C2R-G494-H73X
Vulnerability from github – Published: 2026-08-27 12:30 – Updated: 2026-08-27 12:30In CodeMeter Runtime before versions 8.41a and 9.10, the logger does not sanitize input strings in certain cases, allowing an attacker to inject printf-style format specifiers. This can be used to reliably crash CodeMeter and disclose sensitive information such as process memory and stack canaries. The attack works locally, for example by using cmu --set-proxy to set the proxy value, and remotely when combined with CVE-2026-81573 by setting General.ProxyServer and then triggering this vulnerability.
{
"affected": [],
"aliases": [
"CVE-2026-81574"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-27T10:16:40Z",
"severity": "HIGH"
},
"details": "In CodeMeter Runtime before versions 8.41a and 9.10, the logger does not sanitize input strings in certain cases, allowing an attacker to inject printf-style format\nspecifiers. This can be used to reliably crash CodeMeter and disclose sensitive information such as process memory\nand stack canaries. The attack works locally, for example by using cmu --set-proxy to set the proxy value, and\nremotely when combined with CVE-2026-81573 by setting General.ProxyServer and then triggering this\nvulnerability.",
"id": "GHSA-7c2r-g494-h73x",
"modified": "2026-08-27T12:30:26Z",
"published": "2026-08-27T12:30:26Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-81574"
},
{
"type": "WEB",
"url": "https://cdn.wibu.com/fileadmin/wibu_downloads/security_advisories/AdvisoryWIBU-103401.pdf"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-7CV6-R593-WVW4
Vulnerability from github – Published: 2024-11-22 21:32 – Updated: 2025-09-23 15:31A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify memory.
We have already fixed the vulnerability in the following versions: QTS 5.2.1.2930 build 20241025 and later QuTS hero h5.2.1.2929 build 20241025 and later
{
"affected": [],
"aliases": [
"CVE-2024-50399"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-11-22T16:15:33Z",
"severity": "LOW"
},
"details": "A use of externally-controlled format string vulnerability has been reported to affect several QNAP operating system versions. If exploited, the vulnerability could allow remote attackers who have gained administrator access to obtain secret data or modify memory.\n\nWe have already fixed the vulnerability in the following versions:\nQTS 5.2.1.2930 build 20241025 and later\nQuTS hero h5.2.1.2929 build 20241025 and later",
"id": "GHSA-7cv6-r593-wvw4",
"modified": "2025-09-23T15:31:05Z",
"published": "2024-11-22T21:32:15Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-50399"
},
{
"type": "WEB",
"url": "https://www.qnap.com/en/security-advisory/qsa-24-43"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
GHSA-7FXJ-FR3V-R9GJ
Vulnerability from github – Published: 2022-11-04 19:01 – Updated: 2022-11-24 01:13TiDB server (importer CLI tool) prior to version 6.4.0 & 6.1.3 is vulnerable to data source name injection. The database name for generating and inserting data into a database does not properly sanitize user input which can lead to arbitrary file reads."
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/pingcap/tidb"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "6.1.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Go",
"name": "github.com/pingcap/tidb"
},
"ranges": [
{
"events": [
{
"introduced": "6.2.0"
},
{
"last_affected": "6.4.0-alpha1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-3023"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": true,
"github_reviewed_at": "2022-11-04T20:48:44Z",
"nvd_published_at": "2022-11-04T12:15:00Z",
"severity": "CRITICAL"
},
"details": "TiDB server (importer CLI tool) prior to version 6.4.0 \u0026 6.1.3 is vulnerable to data source name injection. The database name for generating and inserting data into a database does not properly sanitize user input which can lead to arbitrary file reads.\"",
"id": "GHSA-7fxj-fr3v-r9gj",
"modified": "2022-11-24T01:13:44Z",
"published": "2022-11-04T19:01:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-3023"
},
{
"type": "WEB",
"url": "https://github.com/pingcap/tidb/commit/d0376379d615cc8f263a0b17c031ce403c8dcbfb"
},
{
"type": "WEB",
"url": "https://advisory.dw1.io/45"
},
{
"type": "PACKAGE",
"url": "https://github.com/pingcap/tidb"
},
{
"type": "WEB",
"url": "https://huntr.dev/bounties/120f1346-e958-49d0-b66c-0f889a469540"
}
],
"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"
}
],
"summary": "TiDB vulnerable to Use of Externally-Controlled Format String"
}
GHSA-7GQ6-CQ68-8842
Vulnerability from github – Published: 2026-09-01 21:31 – Updated: 2026-09-01 21:31A format string vulnerability exists in the command line interface of AOS-CX that could lead to unauthenticated remote code execution. Successful exploitation of this vulnerability results in the ability to execute arbitrary code as a privileged user on the underlying operating system.
{
"affected": [],
"aliases": [
"CVE-2026-73782"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-09-01T21:18:45Z",
"severity": "HIGH"
},
"details": "A format string vulnerability exists in the command line interface of AOS-CX that could lead to unauthenticated remote code execution. Successful exploitation of this vulnerability results in the ability to execute arbitrary code as a privileged user on the underlying operating system.",
"id": "GHSA-7gq6-cq68-8842",
"modified": "2026-09-01T21:31:52Z",
"published": "2026-09-01T21:31:52Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73782"
},
{
"type": "WEB",
"url": "https://support.hpe.com/hpesc/public/docDisplay?docId=hpesbnw05134en_us\u0026docLocale=en_US"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-7JH3-F4P5-7PRM
Vulnerability from github – Published: 2025-02-21 18:31 – Updated: 2025-03-17 21:30An XML External Entity (XXE) vulnerability in the deserializeArgs() method of Java SDK for CloudEvents v4.0.1 allows attackers to access sensitive information via supplying a crafted XML-formatted event message.
{
"affected": [],
"aliases": [
"CVE-2024-55156"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-02-21T18:15:18Z",
"severity": "MODERATE"
},
"details": "An XML External Entity (XXE) vulnerability in the deserializeArgs() method of Java SDK for CloudEvents v4.0.1 allows attackers to access sensitive information via supplying a crafted XML-formatted event message.",
"id": "GHSA-7jh3-f4p5-7prm",
"modified": "2025-03-17T21:30:31Z",
"published": "2025-02-21T18:31:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-55156"
},
{
"type": "WEB",
"url": "https://github.com/aixiao0621/CVE/blob/main/CVE-2024-55156/README.md"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
}
]
}
GHSA-7JWF-QRF9-JRFX
Vulnerability from github – Published: 2022-09-10 00:00 – Updated: 2022-09-16 00:00The Baxter Spectrum WBM is susceptible to format string attacks via application messaging. An attacker could use this to read memory in the WBM to access sensitive information or cause a Denial of Service (DoS) on the WBM.
{
"affected": [],
"aliases": [
"CVE-2022-26393"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2022-09-09T15:15:00Z",
"severity": "HIGH"
},
"details": "The Baxter Spectrum WBM is susceptible to format string attacks via application messaging. An attacker could use this to read memory in the WBM to access sensitive information or cause a Denial of Service (DoS) on the WBM.",
"id": "GHSA-7jwf-qrf9-jrfx",
"modified": "2022-09-16T00:00:38Z",
"published": "2022-09-10T00:00:26Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26393"
},
{
"type": "WEB",
"url": "https://www.cisa.gov/uscert/ics/advisories/icsma-22-251-01"
},
{
"type": "WEB",
"url": "https://www.us-cert.gov/ics/advisories/icsma-22-xxx-xx"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-7MGQ-M2R4-6FC4
Vulnerability from github – Published: 2022-05-01 06:49 – Updated: 2022-05-01 06:49Format string vulnerability in the CF_syslog function launchd in Apple Mac OS X 10.4 up to 10.4.6 allows local users to execute arbitrary code via format string specifiers that are not properly handled in a syslog call in the logging facility, as demonstrated by using a crafted plist file.
{
"affected": [],
"aliases": [
"CVE-2006-1471"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2006-06-27T22:13:00Z",
"severity": "MODERATE"
},
"details": "Format string vulnerability in the CF_syslog function launchd in Apple Mac OS X 10.4 up to 10.4.6 allows local users to execute arbitrary code via format string specifiers that are not properly handled in a syslog call in the logging facility, as demonstrated by using a crafted plist file.",
"id": "GHSA-7mgq-m2r4-6fc4",
"modified": "2022-05-01T06:49:55Z",
"published": "2022-05-01T06:49:55Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2006-1471"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27479"
},
{
"type": "WEB",
"url": "http://lists.apple.com/archives/security-announce/2006/Jun/msg00000.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/20877"
},
{
"type": "WEB",
"url": "http://securitytracker.com/id?1016397"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/26933"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/438699/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/18686"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/18724"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2006/2566"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-7PF5-H579-9V94
Vulnerability from github – Published: 2024-05-08 00:31 – Updated: 2024-05-08 00:31Foxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the implementation of the print method. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process. Was ZDI-CAN-14849.
{
"affected": [],
"aliases": [
"CVE-2021-34970"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-05-07T23:15:11Z",
"severity": "LOW"
},
"details": "Foxit PDF Reader print Method Use of Externally-Controlled Format String Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Foxit PDF Reader. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.\n\nThe specific flaw exists within the implementation of the print method. The issue results from the lack of proper validation of a user-supplied string before using it as a format specifier. An attacker can leverage this in conjunction with other vulnerabilities to execute arbitrary code in the context of the current process. Was ZDI-CAN-14849.",
"id": "GHSA-7pf5-h579-9v94",
"modified": "2024-05-08T00:31:14Z",
"published": "2024-05-08T00:31:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34970"
},
{
"type": "WEB",
"url": "https://www.foxit.com/support/security-bulletins.html"
},
{
"type": "WEB",
"url": "https://www.zerodayinitiative.com/advisories/ZDI-21-1201"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-7RXV-H96Q-XXV7
Vulnerability from github – Published: 2022-05-01 23:36 – Updated: 2022-05-01 23:36Format string vulnerability in webmail.exe in NetWin SurgeMail 38k4 and earlier and beta 39a, and WebMail 3.1s and earlier, allows remote attackers to cause a denial of service (daemon crash) and possibly execute arbitrary code via format string specifiers in the page parameter.
{
"affected": [],
"aliases": [
"CVE-2008-1055"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-02-27T19:44:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in webmail.exe in NetWin SurgeMail 38k4 and earlier and beta 39a, and WebMail 3.1s and earlier, allows remote attackers to cause a denial of service (daemon crash) and possibly execute arbitrary code via format string specifiers in the page parameter.",
"id": "GHSA-7rxv-h96q-xxv7",
"modified": "2022-05-01T23:36:21Z",
"published": "2022-05-01T23:36:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-1055"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/40833"
},
{
"type": "WEB",
"url": "http://aluigi.altervista.org/adv/surgemailz-adv.txt"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/29105"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/29137"
},
{
"type": "WEB",
"url": "http://securityreason.com/securityalert/3705"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/488741/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/27990"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1019500"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/0678"
}
],
"schema_version": "1.4.0",
"severity": []
}
Mitigation
Choose a language that is not subject to this flaw.
Mitigation
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
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.