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.
526 vulnerabilities reference this CWE, most recent first.
GHSA-J863-F9RP-WC8M
Vulnerability from github – Published: 2022-05-02 03:43 – Updated: 2022-05-02 03:43Blocks/Common/Src/Configuration/Manageability/Adm/AdmContentBuilder.cs in Microsoft patterns & practices Enterprise Library (aka EntLib) allows context-dependent attackers to cause a denial of service (CPU consumption) via an input string composed of many \ (backslash) characters followed by a " (double quote), related to a certain regular expression, aka a "ReDoS" vulnerability.
{
"affected": [],
"aliases": [
"CVE-2009-3275"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-09-21T19:30:00Z",
"severity": "MODERATE"
},
"details": "Blocks/Common/Src/Configuration/Manageability/Adm/AdmContentBuilder.cs in Microsoft patterns \u0026 practices Enterprise Library (aka EntLib) allows context-dependent attackers to cause a denial of service (CPU consumption) via an input string composed of many \\ (backslash) characters followed by a \" (double quote), related to a certain regular expression, aka a \"ReDoS\" vulnerability.",
"id": "GHSA-j863-f9rp-wc8m",
"modified": "2022-05-02T03:43:29Z",
"published": "2022-05-02T03:43:29Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-3275"
},
{
"type": "WEB",
"url": "http://www.checkmarx.com/Upload/Documents/PDF/Checkmarx_OWASP_IL_2009_ReDoS.pdf"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/506419/100/0/threaded"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-J88J-Q5W5-7Q9P
Vulnerability from github – Published: 2026-07-14 00:31 – Updated: 2026-07-14 00:31Lorex 2K Indoor Wi-Fi Security Camera CDeviceOperator Format String Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Lorex 2K Indoor Wi-Fi Security Cameras. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the parsing of JSON requests in the sonia binary. 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 vulnerability to execute code in the context of root. Was ZDI-CAN-25884.
{
"affected": [],
"aliases": [
"CVE-2026-15680"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-07-13T22:16:45Z",
"severity": "HIGH"
},
"details": "Lorex 2K Indoor Wi-Fi Security Camera CDeviceOperator Format String Remote Code Execution Vulnerability. This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Lorex 2K Indoor Wi-Fi Security Cameras. Authentication is not required to exploit this vulnerability.\n\nThe specific flaw exists within the parsing of JSON requests in the sonia binary. 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 vulnerability to execute code in the context of root. Was ZDI-CAN-25884.",
"id": "GHSA-j88j-q5w5-7q9p",
"modified": "2026-07-14T00:31:01Z",
"published": "2026-07-14T00:31:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-15680"
},
{
"type": "WEB",
"url": "https://www.zerodayinitiative.com/advisories/ZDI-26-398"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-JCCC-47H3-6R27
Vulnerability from github – Published: 2022-05-02 06:12 – Updated: 2022-05-02 06:12Format string vulnerability in the WebDAV implementation in webservd in Sun Java System Web Server 7.0 Update 6 allows remote attackers to cause a denial of service (daemon crash) and possibly have unspecified other impact via format string specifiers in the encoding attribute of the XML declaration in a PROPFIND request.
{
"affected": [],
"aliases": [
"CVE-2010-0388"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-01-25T19:30:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in the WebDAV implementation in webservd in Sun Java System Web Server 7.0 Update 6 allows remote attackers to cause a denial of service (daemon crash) and possibly have unspecified other impact via format string specifiers in the encoding attribute of the XML declaration in a PROPFIND request.",
"id": "GHSA-jccc-47h3-6r27",
"modified": "2022-05-02T06:12:19Z",
"published": "2022-05-02T06:12:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-0388"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/55812"
},
{
"type": "WEB",
"url": "http://intevydis.blogspot.com/2010/01/sun-java-system-web-server-70-webdav.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/37910"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-JFV6-C5MJ-2XVJ
Vulnerability from github – Published: 2022-05-17 05:41 – Updated: 2025-04-11 03:47Format string vulnerability in ECTrace.dll in the iMailGateway service in the Internet Mail Gateway in OneBridge Server and DMZ Proxy in Sybase OneBridge Mobile Data Suite 5.5 and 5.6 allows remote attackers to execute arbitrary code via format string specifiers in unspecified string fields, related to authentication logging.
{
"affected": [],
"aliases": [
"CVE-2011-2475"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2011-06-09T21:55:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in ECTrace.dll in the iMailGateway service in the Internet Mail Gateway in OneBridge Server and DMZ Proxy in Sybase OneBridge Mobile Data Suite 5.5 and 5.6 allows remote attackers to execute arbitrary code via format string specifiers in unspecified string fields, related to authentication logging.",
"id": "GHSA-jfv6-c5mj-2xvj",
"modified": "2025-04-11T03:47:42Z",
"published": "2022-05-17T05:41:08Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2475"
},
{
"type": "WEB",
"url": "http://www.sybase.com/detail?id=1092074"
},
{
"type": "WEB",
"url": "http://zerodayinitiative.com/advisories/ZDI-11-171"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-JHW8-2486-29CW
Vulnerability from github – Published: 2022-05-17 00:39 – Updated: 2022-05-17 00:39Format string vulnerability in Xitami Web Server 2.2a through 2.5c2, and possibly other versions, allows remote attackers to cause a denial of service (daemon crash) and possibly execute arbitrary code via format string specifiers in a Long Running Web Process (LRWP) request, which triggers incorrect logging code involving the sendfmt function in the SMT kernel.
{
"affected": [],
"aliases": [
"CVE-2008-6519"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-03-25T18:30:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in Xitami Web Server 2.2a through 2.5c2, and possibly other versions, allows remote attackers to cause a denial of service (daemon crash) and possibly execute arbitrary code via format string specifiers in a Long Running Web Process (LRWP) request, which triggers incorrect logging code involving the sendfmt function in the SMT kernel.",
"id": "GHSA-jhw8-2486-29cw",
"modified": "2022-05-17T00:39:09Z",
"published": "2022-05-17T00:39:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-6519"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/41644"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/5354"
},
{
"type": "WEB",
"url": "http://www.bratax.be/advisories/b013.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/28603"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-JJ2F-7GQW-HPXJ
Vulnerability from github – Published: 2022-05-17 05:50 – Updated: 2022-05-17 05:50Format string vulnerability in authcfg.cgi in Accoria Web Server (aka Rock Web Server) 1.4.7 allows remote attackers to have an unspecified impact via format string specifiers in the path (aka Password File) parameter.
{
"affected": [],
"aliases": [
"CVE-2010-2271"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-06-15T14:30:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in authcfg.cgi in Accoria Web Server (aka Rock Web Server) 1.4.7 allows remote attackers to have an unspecified impact via format string specifiers in the path (aka Password File) parameter.",
"id": "GHSA-jj2f-7gqw-hpxj",
"modified": "2022-05-17T05:50:14Z",
"published": "2022-05-17T05:50:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-2271"
},
{
"type": "WEB",
"url": "http://www.ioactive.com/pdfs/AccoriaWebServer.pdf"
},
{
"type": "WEB",
"url": "http://www.kb.cert.org/vuls/id/245081"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-JJ4V-F22V-8GX6
Vulnerability from github – Published: 2022-05-24 17:46 – Updated: 2022-07-31 00:00Format string vulnerability in panoFileOutputNamesCreate() in libpano13 2.9.20~rc2+dfsg-3 and earlier can lead to read and write arbitrary memory values.
{
"affected": [],
"aliases": [
"CVE-2021-20307"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-04-05T22:15:00Z",
"severity": "CRITICAL"
},
"details": "Format string vulnerability in panoFileOutputNamesCreate() in libpano13 2.9.20~rc2+dfsg-3 and earlier can lead to read and write arbitrary memory values.",
"id": "GHSA-jj4v-f22v-8gx6",
"modified": "2022-07-31T00:00:59Z",
"published": "2022-05-24T17:46:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-20307"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1946284"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2021/04/msg00010.html"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FVJRXUOBN56ZWP6QQ3NTA6DIFZMDZAEQ"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JE6YZSXNVD6WZ3AG3ENL2DIHQFF24LYX"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VYDYBKHT2MNMQCUMAVJNZW4VH6MD5BOF"
},
{
"type": "WEB",
"url": "https://security.gentoo.org/glsa/202107-47"
},
{
"type": "WEB",
"url": "https://sourceforge.net/projects/panotools/files/libpano13/libpano13-2.9.20"
}
],
"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-JQ32-JQVQ-VQV9
Vulnerability from github – Published: 2022-05-02 06:15 – Updated: 2022-05-02 06:15Multiple format string vulnerabilities in isns.c in (1) Linux SCSI target framework (aka tgt or scsi-target-utils) 1.0.3, 0.9.5, and earlier and (2) iSCSI Enterprise Target (aka iscsitarget) 0.4.16 allow remote attackers to cause a denial of service (tgtd daemon crash) or possibly have unspecified other impact via vectors that involve the isns_attr_query and qry_rsp_handle functions, and are related to (a) client appearance and (b) client disappearance messages.
{
"affected": [],
"aliases": [
"CVE-2010-0743"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-04-08T17:30:00Z",
"severity": "MODERATE"
},
"details": "Multiple format string vulnerabilities in isns.c in (1) Linux SCSI target framework (aka tgt or scsi-target-utils) 1.0.3, 0.9.5, and earlier and (2) iSCSI Enterprise Target (aka iscsitarget) 0.4.16 allow remote attackers to cause a denial of service (tgtd daemon crash) or possibly have unspecified other impact via vectors that involve the isns_attr_query and qry_rsp_handle functions, and are related to (a) client appearance and (b) client disappearance messages.",
"id": "GHSA-jq32-jqvq-vqv9",
"modified": "2022-05-02T06:15:14Z",
"published": "2022-05-02T06:15:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-0743"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2010:0362"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2010-0743"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=576359"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/57496"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11248"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574935"
},
{
"type": "WEB",
"url": "http://git.kernel.org/?p=linux/kernel/git/tomo/tgt.git%3Ba=commit%3Bh=107d922706cd36f3bb79bcca9bc4678c32f22e59"
},
{
"type": "WEB",
"url": "http://git.kernel.org/?p=linux/kernel/git/tomo/tgt.git;a=commit;h=107d922706cd36f3bb79bcca9bc4678c32f22e59"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html"
},
{
"type": "WEB",
"url": "http://marc.info/?l=oss-security\u0026m=127005132403189\u0026w=2"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/39142"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/39726"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2010/dsa-2042"
},
{
"type": "WEB",
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2010:131"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/39127"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2010/1786"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-JRJ6-VFJ7-PRCF
Vulnerability from github – Published: 2022-05-17 00:22 – Updated: 2022-05-17 00:22Format string vulnerability in the b43_request_firmware function in drivers/net/wireless/b43/main.c in the Broadcom B43 wireless driver in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and including format string specifiers in an fwpostfix modprobe parameter, leading to improper construction of an error message.
{
"affected": [],
"aliases": [
"CVE-2013-2852"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2013-06-07T14:03:00Z",
"severity": "MODERATE"
},
"details": "Format string vulnerability in the b43_request_firmware function in drivers/net/wireless/b43/main.c in the Broadcom B43 wireless driver in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and including format string specifiers in an fwpostfix modprobe parameter, leading to improper construction of an error message.",
"id": "GHSA-jrj6-vfj7-prcf",
"modified": "2022-05-17T00:22:57Z",
"published": "2022-05-17T00:22:57Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2852"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=969518"
},
{
"type": "WEB",
"url": "http://git.kernel.org/cgit/linux/kernel/git/linville/wireless.git/commit/?id=9538cbaab6e8b8046039b4b2eb6c9d614dc782bd"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2013-09/msg00003.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00129.html"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2013-1051.html"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2013-1450.html"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2013/dsa-2766"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2013/06/06/13"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1899-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1900-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1914-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1915-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1916-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1917-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1918-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1919-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1920-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1930-1"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-JWWJ-G6R2-3WHJ
Vulnerability from github – Published: 2022-05-17 03:23 – Updated: 2022-05-17 03:23Multiple format string vulnerabilities in mcrypt 2.6.8 and earlier might allow user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via vectors involving (1) errors.c or (2) mcrypt.c.
{
"affected": [],
"aliases": [
"CVE-2012-4426"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2012-11-21T23:55:00Z",
"severity": "MODERATE"
},
"details": "Multiple format string vulnerabilities in mcrypt 2.6.8 and earlier might allow user-assisted remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via vectors involving (1) errors.c or (2) mcrypt.c.",
"id": "GHSA-jwwj-g6r2-3whj",
"modified": "2022-05-17T03:23:31Z",
"published": "2022-05-17T03:23:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4426"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/06/8"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/06/9"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/10/5"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2012/09/13/22"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/55557"
}
],
"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.