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.
499 vulnerabilities reference this CWE, most recent first.
GHSA-M8M5-89H4-8CJH
Vulnerability from github – Published: 2022-05-17 04:48 – Updated: 2022-05-17 04:48Format string vulnerability in the register_disk function in block/genhd.c in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and writing format string specifiers to /sys/module/md_mod/parameters/new_array in order to create a crafted /dev/md device name.
{
"affected": [],
"aliases": [
"CVE-2013-2851"
],
"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 register_disk function in block/genhd.c in the Linux kernel through 3.9.4 allows local users to gain privileges by leveraging root access and writing format string specifiers to /sys/module/md_mod/parameters/new_array in order to create a crafted /dev/md device name.",
"id": "GHSA-m8m5-89h4-8cjh",
"modified": "2022-05-17T04:48:36Z",
"published": "2022-05-17T04:48:36Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2013-2851"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=969515"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2013-09/msg00003.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2013-09/msg00004.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2013-12/msg00129.html"
},
{
"type": "WEB",
"url": "http://marc.info/?l=linux-kernel\u0026m=137055204522556\u0026w=2"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2013-1645.html"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2013-1783.html"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2014-0284.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-1912-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1913-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1941-1"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/USN-1942-1"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-M9WW-XWM5-PF57
Vulnerability from github – Published: 2026-06-06 00:31 – Updated: 2026-06-06 00:31An authenticated format string vulnerability exists in the ONVIF Subscribe service in Tapo C520WS v2 due to improper handling of externally supplied parameters within formatting functions. An attacker may inject crafted format strings into event subscription requests or notification generation path to disrupt normal service execution.
Successful exploitation may cause the event notification service to terminate unexpectedly, resulting in the loss of real-time alarm functionality and disruption of event notifications.
{
"affected": [],
"aliases": [
"CVE-2026-6242"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-06-06T00:16:41Z",
"severity": "MODERATE"
},
"details": "An authenticated format string vulnerability exists in the ONVIF Subscribe service in Tapo C520WS v2 due to improper handling of externally supplied parameters within formatting functions. An attacker may inject crafted format strings into event subscription requests or notification generation path to disrupt normal service execution.\n\nSuccessful exploitation may cause the event notification service to terminate unexpectedly, resulting in the loss of real-time alarm functionality and disruption of event notifications.",
"id": "GHSA-m9ww-xwm5-pf57",
"modified": "2026-06-06T00:31:38Z",
"published": "2026-06-06T00:31:38Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6242"
},
{
"type": "WEB",
"url": "https://www.tp-link.com/en/support/download/tapo-c520ws/#Firmware-Release-Notes"
},
{
"type": "WEB",
"url": "https://www.tp-link.com/us/support/download/tapo-c520ws/#Firmware-Release-Notes"
},
{
"type": "WEB",
"url": "https://www.tp-link.com/us/support/faq/5120"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/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-MF25-JQ7F-VX34
Vulnerability from github – Published: 2022-05-24 19:02 – Updated: 2022-05-24 19:02A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.
{
"affected": [],
"aliases": [
"CVE-2021-30145"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-05-18T14:15:00Z",
"severity": "HIGH"
},
"details": "A format string vulnerability in mpv through 0.33.0 allows user-assisted remote attackers to achieve code execution via a crafted m3u playlist file.",
"id": "GHSA-mf25-jq7f-vx34",
"modified": "2022-05-24T19:02:43Z",
"published": "2022-05-24T19:02:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-30145"
},
{
"type": "WEB",
"url": "https://github.com/mpv-player/mpv/commit/d0c530919d8cd4d7a774e38ab064e0fabdae34e6"
},
{
"type": "WEB",
"url": "https://devel0pment.de/?p=2217"
},
{
"type": "WEB",
"url": "https://github.com/mpv-player/mpv/releases/tag/v0.33.1"
},
{
"type": "WEB",
"url": "https://mpv.io"
},
{
"type": "WEB",
"url": "https://security.gentoo.org/glsa/202107-46"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-MG6C-C5W2-G567
Vulnerability from github – Published: 2022-05-03 03:16 – Updated: 2022-05-03 03:16Multiple format string vulnerabilities in Wireshark (aka Ethereal) 0.10.x to 0.99.0 allow remote attackers to cause a denial of service and possibly execute arbitrary code via the (1) ANSI MAP, (2) Checkpoint FW-1, (3) MQ, (4) XML, and (5) NTP dissectors.
{
"affected": [],
"aliases": [
"CVE-2006-3628"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2006-07-21T14:03:00Z",
"severity": "HIGH"
},
"details": "Multiple format string vulnerabilities in Wireshark (aka Ethereal) 0.10.x to 0.99.0 allow remote attackers to cause a denial of service and possibly execute arbitrary code via the (1) ANSI MAP, (2) Checkpoint FW-1, (3) MQ, (4) XML, and (5) NTP dissectors.",
"id": "GHSA-mg6c-c5w2-g567",
"modified": "2022-05-03T03:16:07Z",
"published": "2022-05-03T03:16:07Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2006-3628"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27822"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27823"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27824"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27825"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27828"
},
{
"type": "WEB",
"url": "https://issues.rpath.com/browse/RPL-512"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9175"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2006-0602.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21078"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21107"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21121"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21204"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21249"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21467"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21488"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21598"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/22089"
},
{
"type": "WEB",
"url": "http://security.gentoo.org/glsa/glsa-200607-09.xml"
},
{
"type": "WEB",
"url": "http://securitytracker.com/id?1016532"
},
{
"type": "WEB",
"url": "http://support.avaya.com/elmodocs2/security/ASA-2006-197.htm"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2006/dsa-1127"
},
{
"type": "WEB",
"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2006:128"
},
{
"type": "WEB",
"url": "http://www.novell.com/linux/security/advisories/2006_20_sr.html"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27362"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27363"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27364"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27369"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/440576/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/19051"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2006/2850"
},
{
"type": "WEB",
"url": "http://www.wireshark.org/security/wnpa-sec-2006-01.html"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-MGCW-89JJ-VW5F
Vulnerability from github – Published: 2022-05-02 03:22 – Updated: 2022-05-02 03:22Format string vulnerability in the PROFINET/DCP (PN-DCP) dissector in Wireshark 1.0.6 and earlier allows remote attackers to execute arbitrary code via a PN-DCP packet with format string specifiers in the station name. NOTE: some of these details are obtained from third party information.
{
"affected": [],
"aliases": [
"CVE-2009-1210"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-04-01T10:30:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in the PROFINET/DCP (PN-DCP) dissector in Wireshark 1.0.6 and earlier allows remote attackers to execute arbitrary code via a PN-DCP packet with format string specifiers in the station name. NOTE: some of these details are obtained from third party information.",
"id": "GHSA-mgcw-89jj-vw5f",
"modified": "2022-05-02T03:22:45Z",
"published": "2022-05-02T03:22:45Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-1210"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/49512"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5976"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9526"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/8308"
},
{
"type": "WEB",
"url": "https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00675.html"
},
{
"type": "WEB",
"url": "https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01167.html"
},
{
"type": "WEB",
"url": "https://www.redhat.com/archives/fedora-package-announce/2009-May/msg01213.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2009-06/msg00003.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34542"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34778"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34970"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/35133"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/35224"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/35416"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/35464"
},
{
"type": "WEB",
"url": "http://wiki.rpath.com/Advisories:rPSA-2009-0062"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2009/dsa-1785"
},
{
"type": "WEB",
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2009:088"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2009-1100.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/502745/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/34291"
},
{
"type": "WEB",
"url": "http://www.wireshark.org/security/wnpa-sec-2009-02.html"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-MGPJ-7M2G-H43R
Vulnerability from github – Published: 2022-05-01 18:05 – Updated: 2022-05-01 18:05Unspecified vulnerability in NetWin Webmail 3.1s-1 in SurgeMail before 3.8i2 has unknown impact and remote attack vectors, possibly a format string vulnerability that allows remote code execution.
{
"affected": [],
"aliases": [
"CVE-2007-2655"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-05-14T21:19:00Z",
"severity": "HIGH"
},
"details": "Unspecified vulnerability in NetWin Webmail 3.1s-1 in SurgeMail before 3.8i2 has unknown impact and remote attack vectors, possibly a format string vulnerability that allows remote code execution.",
"id": "GHSA-mgpj-7m2g-h43r",
"modified": "2022-05-01T18:05:41Z",
"published": "2022-05-01T18:05:41Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-2655"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/34217"
},
{
"type": "WEB",
"url": "http://osvdb.org/35891"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/25207"
},
{
"type": "WEB",
"url": "http://www.netwinsite.com/surgemail/help/updates.htm"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/23908"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2007/1755"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-MHQ6-64CP-3VX7
Vulnerability from github – Published: 2022-05-13 01:04 – Updated: 2022-05-13 01:04It was found that usage of snprintf function in feature/locks translator of glusterfs server 3.8.4, as shipped with Red Hat Gluster Storage, was vulnerable to a format string attack. A remote, authenticated attacker could use this flaw to cause remote denial of service.
{
"affected": [],
"aliases": [
"CVE-2018-14661"
],
"database_specific": {
"cwe_ids": [
"CWE-134",
"CWE-20"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2018-10-31T20:29:00Z",
"severity": "MODERATE"
},
"details": "It was found that usage of snprintf function in feature/locks translator of glusterfs server 3.8.4, as shipped with Red Hat Gluster Storage, was vulnerable to a format string attack. A remote, authenticated attacker could use this flaw to cause remote denial of service.",
"id": "GHSA-mhq6-64cp-3vx7",
"modified": "2022-05-13T01:04:43Z",
"published": "2022-05-13T01:04:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14661"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:3431"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:3432"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2018:3470"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2018-14661"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1636880"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14661"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2018/11/msg00003.html"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2021/11/msg00000.html"
},
{
"type": "WEB",
"url": "https://security.gentoo.org/glsa/201904-06"
}
],
"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-MHVP-9557-5GXF
Vulnerability from github – Published: 2022-05-17 04:52 – Updated: 2022-05-17 04:52Format string vulnerability in the dkim_exim_verify_finish function in src/dkim.c in Exim before 4.76 might allow remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via format string specifiers in data used in DKIM logging, as demonstrated by an identity field containing a % (percent) character.
{
"affected": [],
"aliases": [
"CVE-2011-1764"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2011-10-05T02:56:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in the dkim_exim_verify_finish function in src/dkim.c in Exim before 4.76 might allow remote attackers to execute arbitrary code or cause a denial of service (daemon crash) via format string specifiers in data used in DKIM logging, as demonstrated by an identity field containing a % (percent) character.",
"id": "GHSA-mhvp-9557-5gxf",
"modified": "2022-05-17T04:52:35Z",
"published": "2022-05-17T04:52:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-1764"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=702474"
},
{
"type": "WEB",
"url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624670"
},
{
"type": "WEB",
"url": "http://bugs.exim.org/show_bug.cgi?id=1106"
},
{
"type": "WEB",
"url": "http://git.exim.org/exim.git/commit/337e3505b0e6cd4309db6bf6062b33fa56e06cf8"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2011-05/msg00005.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/51155"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2011/dsa-2232"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-MJV8-7FFV-4VJ3
Vulnerability from github – Published: 2022-05-04 00:29 – Updated: 2022-05-04 00:29Format string vulnerability in Advantech/BroadWin WebAccess before 7.0 allows remote attackers to execute arbitrary code via format string specifiers in a message string.
{
"affected": [],
"aliases": [
"CVE-2012-0242"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2012-02-21T13:31:00Z",
"severity": "HIGH"
},
"details": "Format string vulnerability in Advantech/BroadWin WebAccess before 7.0 allows remote attackers to execute arbitrary code via format string specifiers in a message string.",
"id": "GHSA-mjv8-7ffv-4vj3",
"modified": "2022-05-04T00:29:00Z",
"published": "2022-05-04T00:29:00Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-0242"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/52051"
},
{
"type": "WEB",
"url": "http://www.us-cert.gov/control_systems/pdf/ICSA-12-047-01.pdf"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-MMRR-C2J6-CQFP
Vulnerability from github – Published: 2026-01-07 21:31 – Updated: 2026-01-12 18:30Panda3D versions up to and including 1.10.16 egg-mkfont contains an uncontrolled format string vulnerability. The -gp (glyph pattern) command-line option is used directly as the format string for sprintf() with only a single argument supplied. If an attacker provides additional format specifiers, egg-mkfont may read unintended stack values and write the formatted output into generated .egg and .png files, resulting in disclosure of stack-resident memory and pointer values.
{
"affected": [],
"aliases": [
"CVE-2026-22190"
],
"database_specific": {
"cwe_ids": [
"CWE-134"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-01-07T21:16:03Z",
"severity": "MODERATE"
},
"details": "Panda3D versions up to and including 1.10.16 egg-mkfont contains an uncontrolled format string vulnerability. The -gp (glyph pattern) command-line option is used directly as the format string for sprintf() with only a single argument supplied. If an attacker provides additional format specifiers, egg-mkfont may read unintended stack values and write the formatted output into generated .egg and .png files, resulting in disclosure of stack-resident memory and pointer values.",
"id": "GHSA-mmrr-c2j6-cqfp",
"modified": "2026-01-12T18:30:25Z",
"published": "2026-01-07T21:31:56Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22190"
},
{
"type": "WEB",
"url": "https://github.com/panda3d/panda3d"
},
{
"type": "WEB",
"url": "https://seclists.org/fulldisclosure/2026/Jan/11"
},
{
"type": "WEB",
"url": "https://www.panda3d.org"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/panda3d-egg-mkfont-format-string-information-disclosure"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/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"
}
]
}
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.