{"api_version":"1","generated_at":"2026-07-23T03:23:42+00:00","cve":"CVE-2012-2385","urls":{"html":"https://cve.report/CVE-2012-2385","api":"https://cve.report/api/cve/CVE-2012-2385.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2385","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2385"},"summary":{"title":"CVE-2012-2385","description":"The terminal dispatcher in mosh before 1.2.1 allows remote authenticated users to cause a denial of service (long loop and CPU consumption) via an escape sequence with a large repeat count value.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-06-29 19:55:03","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-399","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4","severity":"","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","baseScore":4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://secunia.com/advisories/49260","name":"http://secunia.com/advisories/49260","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Security Advisory SA49260 - Mosh Escape Sequence Denial of Service Vulnerability - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082814.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082814.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 16 Update: mosh-1.2.2-1.fc16","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/keithw/mosh/commit/9791768705528e911bfca6c4d8aa88139035060e","name":"https://github.com/keithw/mosh/commit/9791768705528e911bfca6c4d8aa88139035060e","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Cap escape sequence parameters to prevent long loops. · mobile-shell/mosh@9791768 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/keithw/mosh/blob/master/ChangeLog","name":"https://github.com/keithw/mosh/blob/master/ChangeLog","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"mosh/ChangeLog at master · mobile-shell/mosh · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/53646","name":"http://www.securityfocus.com/bid/53646","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082766.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082766.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 15 Update: mosh-1.2.2-1.fc15","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75779","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75779","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082850.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082850.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 17 Update: mosh-1.2.2-1.fc17","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=823943","name":"https://bugzilla.redhat.com/show_bug.cgi?id=823943","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Bug 823943 – CVE-2012-2385 mosh: DoS (excessive CPU use) by processing short ANSI escape sequence","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/keithw/mosh/issues/271","name":"https://github.com/keithw/mosh/issues/271","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"slow processing of escape sequences with large repeat counts · Issue #271 · mobile-shell/mosh · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/05/22/9","name":"http://www.openwall.com/lists/oss-security/2012/05/22/9","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - Re: CVE Request -- mosh (and probably vte too): mosh\n server DoS (long loop) due improper parsing of terminal parameters in terminal\n dispatcher","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2385","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2385","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"0.98c","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.1.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.1.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.1.3-1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.1.3-2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"1.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"2385","vulnerable":"1","versionEndIncluding":"1.2-2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"keith_winstein","cpe5":"mosh","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:34:25.236Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FEDORA-2012-9422","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082766.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/keithw/mosh/commit/9791768705528e911bfca6c4d8aa88139035060e"},{"name":"FEDORA-2012-9414","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082814.html"},{"name":"FEDORA-2012-9442","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082850.html"},{"name":"53646","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/53646"},{"name":"49260","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/49260"},{"name":"[oss-security] 20120522 Re: CVE Request -- mosh (and probably vte too): mosh  server DoS (long loop) due improper parsing of terminal parameters in terminal  dispatcher","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/05/22/9"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/keithw/mosh/issues/271"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=823943"},{"name":"mosh-sequences-dos(75779)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75779"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/keithw/mosh/blob/master/ChangeLog"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-05-15T00:00:00.000Z","descriptions":[{"lang":"en","value":"The terminal dispatcher in mosh before 1.2.1 allows remote authenticated users to cause a denial of service (long loop and CPU consumption) via an escape sequence with a large repeat count value."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"FEDORA-2012-9422","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082766.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/keithw/mosh/commit/9791768705528e911bfca6c4d8aa88139035060e"},{"name":"FEDORA-2012-9414","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082814.html"},{"name":"FEDORA-2012-9442","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082850.html"},{"name":"53646","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/53646"},{"name":"49260","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/49260"},{"name":"[oss-security] 20120522 Re: CVE Request -- mosh (and probably vte too): mosh  server DoS (long loop) due improper parsing of terminal parameters in terminal  dispatcher","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/05/22/9"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/keithw/mosh/issues/271"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=823943"},{"name":"mosh-sequences-dos(75779)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75779"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/keithw/mosh/blob/master/ChangeLog"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-2385","datePublished":"2012-06-29T19:00:00.000Z","dateReserved":"2012-04-19T00:00:00.000Z","dateUpdated":"2024-08-06T19:34:25.236Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-06-29 19:55:03","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-399","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","baseScore":4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:*:*:*:*:*:*:*:*","versionEndIncluding":"1.2-2","matchCriteriaId":"749052CB-2810-4C63-9CD1-09126FD33BEF"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:0.98c:*:*:*:*:*:*:*","matchCriteriaId":"6FE64BFE-579E-4F08-A510-5C505CDC6767"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.0:*:*:*:*:*:*:*","matchCriteriaId":"D64FC1A8-A19B-4594-85A1-36F177AB2C8C"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.1:*:*:*:*:*:*:*","matchCriteriaId":"36E00175-618B-4C55-983D-9C407BCEF385"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.1.1:*:*:*:*:*:*:*","matchCriteriaId":"F13CC59B-E80F-4C90-9570-D5A782322329"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.1.2:*:*:*:*:*:*:*","matchCriteriaId":"01EE4E30-4186-4973-A24D-BE1B1FCB1F24"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.1.3:*:*:*:*:*:*:*","matchCriteriaId":"0D686163-2060-4544-939E-9DBC99A42E08"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.1.3-1:*:*:*:*:*:*:*","matchCriteriaId":"5EFB1E1B-469B-4BF5-A87F-15F0856C06E3"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.1.3-2:*:*:*:*:*:*:*","matchCriteriaId":"1D8A2450-A42E-4553-9B25-EA560AD99A9A"},{"vulnerable":true,"criteria":"cpe:2.3:a:keith_winstein:mosh:1.2:*:*:*:*:*:*:*","matchCriteriaId":"479FD965-8DE7-44CD-9112-9F00845B0CDF"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2385","Ordinal":"1","Title":"CVE-2012-2385","CVE":"CVE-2012-2385","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2385","Ordinal":"1","NoteData":"The terminal dispatcher in mosh before 1.2.1 allows remote authenticated users to cause a denial of service (long loop and CPU consumption) via an escape sequence with a large repeat count value.","Type":"Description","Title":"CVE-2012-2385"},{"CveYear":"2012","CveId":"2385","Ordinal":"2","NoteData":"2012-06-29","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"2385","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}