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-HCVJ-9XM8-98JM
Vulnerability from github – Published: 2022-05-24 16:52 – Updated: 2024-04-04 01:32cPanel before 60.0.25 allows format-string injection in exception-message handling (SEC-171).
{
"affected": [],
"aliases": [
"CVE-2016-10773"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2019-08-05T13:15:00Z",
"severity": "HIGH"
},
"details": "cPanel before 60.0.25 allows format-string injection in exception-message handling (SEC-171).",
"id": "GHSA-hcvj-9xm8-98jm",
"modified": "2024-04-04T01:32:02Z",
"published": "2022-05-24T16:52:29Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10773"
},
{
"type": "WEB",
"url": "https://documentation.cpanel.net/display/CL/60+Change+Log"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-HGH9-G52Q-6M7G
Vulnerability from github – Published: 2022-08-23 00:00 – Updated: 2022-08-24 00:00A flaw was found in the Red Hat OpenShift API Management product. User input is not validated allowing an authenticated user to inject scripts into some text boxes leading to a XSS attack. The highest threat from this vulnerability is to data confidentiality.
{
"affected": [],
"aliases": [
"CVE-2021-3442"
],
"database_specific": {
"cwe_ids": [
"CWE-134",
"CWE-20"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2022-08-22T15:15:00Z",
"severity": "MODERATE"
},
"details": "A flaw was found in the Red Hat OpenShift API Management product. User input is not validated allowing an authenticated user to inject scripts into some text boxes leading to a XSS attack. The highest threat from this vulnerability is to data confidentiality.",
"id": "GHSA-hgh9-g52q-6m7g",
"modified": "2022-08-24T00:00:29Z",
"published": "2022-08-23T00:00:16Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3442"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2021:3851"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2021-3442"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1930083"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-HHQ7-6G2P-F5H6
Vulnerability from github – Published: 2022-05-01 23:36 – Updated: 2022-05-01 23:36Format string vulnerability in the cryactio function in Crysis 1.1.1.5879 allows remote authenticated users to execute arbitrary code via format string specifiers in the user name, which is triggered when the game character is killed.
{
"affected": [],
"aliases": [
"CVE-2008-1127"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-03-03T23:44:00Z",
"severity": "MODERATE"
},
"details": "Format string vulnerability in the cryactio function in Crysis 1.1.1.5879 allows remote authenticated users to execute arbitrary code via format string specifiers in the user name, which is triggered when the game character is killed.",
"id": "GHSA-hhq7-6g2p-f5h6",
"modified": "2022-05-01T23:36:51Z",
"published": "2022-05-01T23:36:51Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-1127"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/5201"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/29155"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/28039"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/0735"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-HJ2J-77XM-MC5V
Vulnerability from github – Published: 2019-04-10 14:30 – Updated: 2024-09-24 20:51In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "Jinja2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.8.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2016-10745"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:40:24Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "In Pallets Jinja before 2.8.1, str.format allows a sandbox escape.",
"id": "GHSA-hj2j-77xm-mc5v",
"modified": "2024-09-24T20:51:38Z",
"published": "2019-04-10T14:30:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10745"
},
{
"type": "WEB",
"url": "https://github.com/pallets/jinja/commit/9b53045c34e61013dc8f09b7e52a555fa16bed16"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2019:1022"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2019:1237"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2019:1260"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2019:3964"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2019:4062"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-hj2j-77xm-mc5v"
},
{
"type": "PACKAGE",
"url": "https://github.com/pallets/jinja"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/jinja2/PYSEC-2019-220.yaml"
},
{
"type": "WEB",
"url": "https://palletsprojects.com/blog/jinja-281-released"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/4011-1"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/4011-2"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00030.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00064.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "Jinja2 sandbox escape vulnerability"
}
GHSA-HJQ2-29HF-FWVR
Vulnerability from github – Published: 2022-05-01 18:31 – Updated: 2022-05-01 18:31Multiple format string vulnerabilities in websrv.cpp in Dawn of Time 1.69s beta4 and earlier allow remote attackers to execute arbitrary code via format string specifiers in the (1) username or (2) password fields when accessing certain "restricted zones", which are not properly handled by the (a) processWebHeader and (b) filterWebRequest functions.
{
"affected": [],
"aliases": [
"CVE-2007-5265"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-10-08T21:17:00Z",
"severity": "HIGH"
},
"details": "Multiple format string vulnerabilities in websrv.cpp in Dawn of Time 1.69s beta4 and earlier allow remote attackers to execute arbitrary code via format string specifiers in the (1) username or (2) password fields when accessing certain \"restricted zones\", which are not properly handled by the (a) processWebHeader and (b) filterWebRequest functions.",
"id": "GHSA-hjq2-29hf-fwvr",
"modified": "2022-05-01T18:31:50Z",
"published": "2022-05-01T18:31:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-5265"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/36973"
},
{
"type": "WEB",
"url": "http://aluigi.altervista.org/adv/dawnfs-adv.txt"
},
{
"type": "WEB",
"url": "http://forums.dawnoftime.org/viewtopic.php?t=2102"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/27083"
},
{
"type": "WEB",
"url": "http://securityreason.com/securityalert/3201"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/481619/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/25944"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2007/3418"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-HJVG-MWXC-784G
Vulnerability from github – Published: 2022-05-01 17:43 – Updated: 2022-05-01 17:43Multiple format string vulnerabilities in (1) _invitedToRoom: and (2) _invitedToDirectChat: in Colloquy 2.1 and earlier allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via format string specifiers in the channel name of an INVITE request, related to the implementation of AlertSheet and AlertPanel in Apple AppKit.
{
"affected": [],
"aliases": [
"CVE-2007-0344"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-01-18T02:28:00Z",
"severity": "HIGH"
},
"details": "Multiple format string vulnerabilities in (1) _invitedToRoom: and (2) _invitedToDirectChat: in Colloquy 2.1 and earlier allow remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via format string specifiers in the channel name of an INVITE request, related to the implementation of AlertSheet and AlertPanel in Apple AppKit.",
"id": "GHSA-hjvg-mwxc-784g",
"modified": "2022-05-01T17:43:18Z",
"published": "2022-05-01T17:43:18Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-0344"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/3139"
},
{
"type": "WEB",
"url": "http://projects.info-pull.com/moab/MOAB-16-01-2007.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/23801"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/32688"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/22086"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2007/0238"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-HMPV-PVG5-4FPQ
Vulnerability from github – Published: 2022-05-24 19:16 – Updated: 2025-10-22 00:32Assuming radio permission is gained, missing input validation in modem interface driver prior to SMR Oct-2021 Release 1 results in format string bug leading to kernel panic.
{
"affected": [],
"aliases": [
"CVE-2021-25489"
],
"database_specific": {
"cwe_ids": [
"CWE-134",
"CWE-20"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-10-06T18:15:00Z",
"severity": "MODERATE"
},
"details": "Assuming radio permission is gained, missing input validation in modem interface driver prior to SMR Oct-2021 Release 1 results in format string bug leading to kernel panic.",
"id": "GHSA-hmpv-pvg5-4fpq",
"modified": "2025-10-22T00:32:25Z",
"published": "2022-05-24T19:16:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25489"
},
{
"type": "WEB",
"url": "https://security.samsungmobile.com/securityUpdate.smsb?year=2021\u0026month=10"
},
{
"type": "WEB",
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-25489"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-HP64-JG7M-F9MQ
Vulnerability from github – Published: 2022-05-02 00:05 – Updated: 2022-05-02 00:05MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b'' (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.
{
"affected": [],
"aliases": [
"CVE-2008-3963"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-09-11T01:13:00Z",
"severity": "MODERATE"
},
"details": "MySQL 5.0 before 5.0.66, 5.1 before 5.1.26, and 6.0 before 6.0.6 does not properly handle a b\u0027\u0027 (b single-quote single-quote) token, aka an empty bit-string literal, which allows remote attackers to cause a denial of service (daemon crash) by using this token in a SQL statement.",
"id": "GHSA-hp64-jg7m-f9mq",
"modified": "2022-05-02T00:05:26Z",
"published": "2022-05-02T00:05:26Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-3963"
},
{
"type": "WEB",
"url": "https://bugs.gentoo.org/237166"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45042"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10521"
},
{
"type": "WEB",
"url": "http://bugs.mysql.com/bug.php?id=35658"
},
{
"type": "WEB",
"url": "http://dev.mysql.com/doc/refman/5.0/en/releasenotes-es-5-0-66.html"
},
{
"type": "WEB",
"url": "http://dev.mysql.com/doc/refman/5.1/en/news-5-1-26.html"
},
{
"type": "WEB",
"url": "http://dev.mysql.com/doc/refman/6.0/en/news-6-0-6.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/31769"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/32759"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/32769"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34907"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/36566"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2009/dsa-1783"
},
{
"type": "WEB",
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:094"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/09/09/4"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2008/09/09/7"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2009-1067.html"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2009-1289.html"
},
{
"type": "WEB",
"url": "http://www.securitytracker.com/id?1020858"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1397-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-671-1"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/2554"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-HPHW-V67P-V2G2
Vulnerability from github – Published: 2025-09-22 18:30 – Updated: 2025-09-22 18:30IBM webMethods Integration 10.15 and 11.1 could allow an authenticated user with required execute Services to execute commands on the system due to the improper validation of format string strings passed as an argument from an external source.
{
"affected": [],
"aliases": [
"CVE-2025-36202"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-09-22T16:15:43Z",
"severity": "HIGH"
},
"details": "IBM webMethods Integration 10.15 and 11.1 could allow an authenticated user with required execute Services to execute commands on the system due to the improper validation of format string strings passed as an argument from an external source.",
"id": "GHSA-hphw-v67p-v2g2",
"modified": "2025-09-22T18:30:36Z",
"published": "2025-09-22T18:30:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-36202"
},
{
"type": "WEB",
"url": "https://www.ibm.com/support/pages/node/7245720"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-HPVQ-MG46-42WP
Vulnerability from github – Published: 2022-05-01 06:53 – Updated: 2022-05-01 06:53Multiple format string vulnerabilities in Empire Server before 4.3.1 allow attackers to cause a denial of service (crash) via the (1) load, (2) spy and (3) bomb functions.
{
"affected": [],
"aliases": [
"CVE-2006-1840"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2006-04-19T16:06:00Z",
"severity": "MODERATE"
},
"details": "Multiple format string vulnerabilities in Empire Server before 4.3.1 allow attackers to cause a denial of service (crash) via the (1) load, (2) spy and (3) bomb functions.",
"id": "GHSA-hpvq-mg46-42wp",
"modified": "2022-05-01T06:53:17Z",
"published": "2022-05-01T06:53:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2006-1840"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/25863"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/19674"
},
{
"type": "WEB",
"url": "http://sourceforge.net/project/shownotes.php?release_id=410001\u0026group_id=24031"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/24700"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/17585"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2006/1380"
}
],
"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.