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-VFQP-R766-G759

Vulnerability from github – Published: 2026-04-30 21:30 – Updated: 2026-04-30 21:30
VLAI
Details

Notepad++ 8.9.3 contains a format string injection vulnerability in the Find Results panel handler that allows attackers to cause denial of service and information disclosure by crafting a malicious nativeLang.xml language pack file. Attackers can distribute a poisoned language pack through community channels that triggers format string interpretation when a user performs search operations, leading to access violations and potential leakage of stack or register contents.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-6539"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-04-30T21:16:33Z",
    "severity": "MODERATE"
  },
  "details": "Notepad++ 8.9.3 contains a format string injection vulnerability in the Find Results panel handler that allows attackers to cause denial of service and information disclosure by crafting a malicious nativeLang.xml language pack file. Attackers can distribute a poisoned language pack through community channels that triggers format string interpretation when a user performs search operations, leading to access violations and potential leakage of stack or register contents.",
  "id": "GHSA-vfqp-r766-g759",
  "modified": "2026-04-30T21:30:39Z",
  "published": "2026-04-30T21:30:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-6539"
    },
    {
      "type": "WEB",
      "url": "https://notepad-plus-plus.org/news/v894-released"
    },
    {
      "type": "WEB",
      "url": "https://www.vulncheck.com/advisories/notepad-format-string-injection-via-nativelang-xml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/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-VFX7-5239-R253

Vulnerability from github – Published: 2022-05-01 02:15 – Updated: 2022-05-01 02:15
VLAI
Details

Format string vulnerability in the logging functionality in BitDefender AntiVirus 7.2 through 9 allows remote attackers to cause a denial of service and possibly execute arbitrary code via format string specifiers in file or directory name.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2005-3154"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2005-10-05T23:02:00Z",
    "severity": "HIGH"
  },
  "details": "Format string vulnerability in the logging functionality in BitDefender AntiVirus 7.2 through 9 allows remote attackers to cause a denial of service and possibly execute arbitrary code via format string specifiers in file or directory name.",
  "id": "GHSA-vfx7-5239-r253",
  "modified": "2022-05-01T02:15:03Z",
  "published": "2022-05-01T02:15:03Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2005-3154"
    },
    {
      "type": "WEB",
      "url": "http://kb.bitdefender.com/KB261-en--Filename-Format-String-Vulnerability.html"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/16991"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/45"
    },
    {
      "type": "WEB",
      "url": "http://shadock.net/secubox/BitDefenderLoggingFunc.html"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/14968"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-VHHJ-MRPH-VF7J

Vulnerability from github – Published: 2022-05-01 23:37 – Updated: 2025-04-09 03:52
VLAI
Details

Format string vulnerability in the log_message function in lks.c in Linux Kiss Server 1.2, when background (daemon) mode is disabled, allows remote attackers to cause a denial of service (crash) or execute arbitrary code via format string specifiers in an invalid command.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2008-1206"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2008-03-08T00:44:00Z",
    "severity": "MODERATE"
  },
  "details": "Format string vulnerability in the log_message function in lks.c in Linux Kiss Server 1.2, when background (daemon) mode is disabled, allows remote attackers to cause a denial of service (crash) or execute arbitrary code via format string specifiers in an invalid command.",
  "id": "GHSA-vhhj-mrph-vf7j",
  "modified": "2025-04-09T03:52:17Z",
  "published": "2022-05-01T23:37:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2008-1206"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/41018"
    },
    {
      "type": "WEB",
      "url": "http://marc.info/?l=full-disclosure\u0026m=120468901813326\u0026w=2"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/29219"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/28099"
    },
    {
      "type": "WEB",
      "url": "http://www.vashnukad.com"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2008/0785"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-VMHM-F3XF-HV75

Vulnerability from github – Published: 2022-05-24 17:09 – Updated: 2022-05-24 17:09
VLAI
Details

An exploitable format string vulnerability exists in the iw_console conio_writestr functionality of the Moxa AWK-3131A firmware version 1.13. 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.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2019-5143"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2020-02-25T16:15:00Z",
    "severity": "MODERATE"
  },
  "details": "An exploitable format string vulnerability exists in the iw_console conio_writestr functionality of the Moxa AWK-3131A firmware version 1.13. 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-vmhm-f3xf-hv75",
  "modified": "2022-05-24T17:09:37Z",
  "published": "2022-05-24T17:09:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5143"
    },
    {
      "type": "WEB",
      "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2019-0932"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-VP33-R976-5VJP

Vulnerability from github – Published: 2022-05-01 23:35 – Updated: 2022-05-01 23:35
VLAI
Details

Format string vulnerability in mDNSResponderHelper in Apple Mac OS X 10.5.2 allows local users to execute arbitrary code via format string specifiers in the local hostname.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2008-0989"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2008-03-18T23:44:00Z",
    "severity": "MODERATE"
  },
  "details": "Format string vulnerability in mDNSResponderHelper in Apple Mac OS X 10.5.2 allows local users to execute arbitrary code via format string specifiers in the local hostname.",
  "id": "GHSA-vp33-r976-5vjp",
  "modified": "2022-05-01T23:35:33Z",
  "published": "2022-05-01T23:35:33Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2008-0989"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/41292"
    },
    {
      "type": "WEB",
      "url": "http://docs.info.apple.com/article.html?artnum=307562"
    },
    {
      "type": "WEB",
      "url": "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/29420"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/28304"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/28339"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id?1019662"
    },
    {
      "type": "WEB",
      "url": "http://www.us-cert.gov/cas/techalerts/TA08-079A.html"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2008/0924/references"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-VQRH-PW2C-GFRH

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

Multiple format string vulnerabilities in the gm_main_window_flash_message function in Ekiga before 2.0.5 allow attackers to cause a denial of service and possibly execute arbitrary code via a crafted Q.931 SETUP packet.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-1006"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-02-20T01:28:00Z",
    "severity": "HIGH"
  },
  "details": "Multiple format string vulnerabilities in the gm_main_window_flash_message function in Ekiga before 2.0.5 allow attackers to cause a denial of service and possibly execute arbitrary code via a crafted Q.931 SETUP packet.",
  "id": "GHSA-vqrh-pw2c-gfrh",
  "modified": "2022-05-01T17:49:15Z",
  "published": "2022-05-01T17:49:15Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1006"
    },
    {
      "type": "WEB",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11642"
    },
    {
      "type": "WEB",
      "url": "http://fedoranews.org/cms/node/2682"
    },
    {
      "type": "WEB",
      "url": "http://fedoranews.org/cms/node/2683"
    },
    {
      "type": "WEB",
      "url": "http://labs.musecurity.com/advisories/MU-200702-01.txt"
    },
    {
      "type": "WEB",
      "url": "http://mail.gnome.org/archives/ekiga-list/2007-February/msg00060.html"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24194"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24228"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24229"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24271"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24379"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24680"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/25119"
    },
    {
      "type": "WEB",
      "url": "http://security.gentoo.org/glsa/glsa-200703-25.xml"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2007/dsa-1262"
    },
    {
      "type": "WEB",
      "url": "http://www.ekiga.org/index.php?rub=10\u0026archive=1"
    },
    {
      "type": "WEB",
      "url": "http://www.mandriva.com/security/advisories?name=MDKSA-2007:044"
    },
    {
      "type": "WEB",
      "url": "http://www.novell.com/linux/security/advisories/2007_9_sr.html"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/31939"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2007-0087.html"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/22613"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id?1017673"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/usn-426-1"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/0655"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-VV6M-9GCJ-8CF5

Vulnerability from github – Published: 2023-06-13 09:30 – Updated: 2024-04-04 04:45
VLAI
Details

A use of externally-controlled format string in Fortinet FortiOS version 7.2.0 through 7.2.4, FortiOS all versions 7.0, FortiOS all versions 6.4, FortiOS all versions 6.2, FortiProxy version 7.2.0 through 7.2.1, FortiProxy version 7.0.0 through 7.0.7 allows attacker to execute unauthorized code or commands via specially crafted commands.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-43953"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-06-13T09:15:16Z",
    "severity": "HIGH"
  },
  "details": "A use of externally-controlled format string in Fortinet FortiOS version 7.2.0 through 7.2.4, FortiOS all versions 7.0, FortiOS all versions 6.4, FortiOS all versions 6.2, FortiProxy version 7.2.0 through 7.2.1, FortiProxy version 7.0.0 through 7.0.7 allows attacker to execute unauthorized code or commands via specially crafted commands.",
  "id": "GHSA-vv6m-9gcj-8cf5",
  "modified": "2024-04-04T04:45:23Z",
  "published": "2023-06-13T09:30:19Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43953"
    },
    {
      "type": "WEB",
      "url": "https://fortiguard.com/psirt/FG-IR-22-463"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-VWJ9-7CRP-G9MP

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

Format string vulnerability in cgi.c for Monkey daemon (monkeyd) before 0.9.1 allows remote attackers to cause a denial of service and possibly execute arbitrary code via an HTTP GET request containing double-encoded format string specifiers (aka "double expansion error").

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2005-1122"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2005-04-14T04:00:00Z",
    "severity": "HIGH"
  },
  "details": "Format string vulnerability in cgi.c for Monkey daemon (monkeyd) before 0.9.1 allows remote attackers to cause a denial of service and possibly execute arbitrary code via an HTTP GET request containing double-encoded format string specifiers (aka \"double expansion error\").",
  "id": "GHSA-vwj9-7crp-g9mp",
  "modified": "2022-05-01T01:55:39Z",
  "published": "2022-05-01T01:55:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2005-1122"
    },
    {
      "type": "WEB",
      "url": "http://bugs.gentoo.org/show_bug.cgi?id=87916"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/14953"
    },
    {
      "type": "WEB",
      "url": "http://security.gentoo.org/glsa/glsa-200504-14.xml"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/15511"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-VX28-8M2J-873P

Vulnerability from github – Published: 2022-05-01 07:09 – Updated: 2022-05-01 07:09
VLAI
Details

Format string vulnerability in time.cc in MySQL Server 4.1 before 4.1.21 and 5.0 before 1 April 2006 allows remote authenticated users to cause a denial of service (crash) via a format string instead of a date as the first parameter to the date_format function, which is later used in a formatted print call to display the error message.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2006-3469"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2006-07-21T14:03:00Z",
    "severity": "MODERATE"
  },
  "details": "Format string vulnerability in time.cc in MySQL Server 4.1 before 4.1.21 and 5.0 before 1 April 2006 allows remote authenticated users to cause a denial of service (crash) via a format string instead of a date as the first parameter to the date_format function, which is later used in a formatted print call to display the error message.",
  "id": "GHSA-vx28-8m2j-873p",
  "modified": "2022-05-01T07:09:20Z",
  "published": "2022-05-01T07:09:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2006-3469"
    },
    {
      "type": "WEB",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9827"
    },
    {
      "type": "WEB",
      "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375694"
    },
    {
      "type": "WEB",
      "url": "http://bugs.mysql.com/bug.php?id=20729"
    },
    {
      "type": "WEB",
      "url": "http://dev.mysql.com/doc/refman/4.1/en/news-4-1-21.html"
    },
    {
      "type": "WEB",
      "url": "http://docs.info.apple.com/article.html?artnum=305214"
    },
    {
      "type": "WEB",
      "url": "http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/21147"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/21366"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24479"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/31226"
    },
    {
      "type": "WEB",
      "url": "http://security.gentoo.org/glsa/glsa-200608-09.xml"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2006/dsa-1112"
    },
    {
      "type": "WEB",
      "url": "http://www.redhat.com/support/errata/RHSA-2008-0768.html"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/19032"
    },
    {
      "type": "WEB",
      "url": "http://www.ubuntu.com/usn/usn-321-1"
    },
    {
      "type": "WEB",
      "url": "http://www.us-cert.gov/cas/techalerts/TA07-072A.html"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/0930"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-W3GC-CRW4-RMRM

Vulnerability from github – Published: 2023-02-16 21:30 – Updated: 2023-02-24 21:30
VLAI
Details

A use of externally-controlled format string in Fortinet FortiWeb version 7.0.0 through 7.0.1, FortiWeb 6.4 all versions allows attacker to execute unauthorized code or commands via specially crafted command arguments.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-23783"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-134"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-02-16T19:15:00Z",
    "severity": "HIGH"
  },
  "details": "A use of externally-controlled format string in Fortinet FortiWeb version 7.0.0 through 7.0.1, FortiWeb 6.4 all versions allows attacker to execute unauthorized code or commands via specially crafted command arguments.",
  "id": "GHSA-w3gc-crw4-rmrm",
  "modified": "2023-02-24T21:30:18Z",
  "published": "2023-02-16T21:30:28Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-23783"
    },
    {
      "type": "WEB",
      "url": "https://fortiguard.com/psirt/FG-IR-22-187"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/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.