{"api_version":"1","generated_at":"2026-07-23T19:40:34+00:00","cve":"CVE-2012-4561","urls":{"html":"https://cve.report/CVE-2012-4561","api":"https://cve.report/api/cve/CVE-2012-4561.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-4561","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-4561"},"summary":{"title":"CVE-2012-4561","description":"The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free \"an invalid pointer on an error path,\" which might allow remote attackers to cause a denial of service (crash) via unspecified vectors.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-11-30 22:55:01","updated_at":"2026-04-29 01:13:23"},"problem_types":["NVD-CWE-noinfo","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871617","name":"https://bugzilla.redhat.com/show_bug.cgi?id=871617","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"871617 – (CVE-2012-4561) CVE-2012-4561 libssh: multiple invalid free() flaws","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/11/20/3","name":"http://www.openwall.com/lists/oss-security/2012/11/20/3","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - libssh 0.5.3 release fixes multiple security issues","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1640-1","name":"http://www.ubuntu.com/usn/USN-1640-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1640-1: libssh vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/56604","name":"http://www.securityfocus.com/bid/56604","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"libssh Multiple Buffer Overflow and Denial of Service Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/","name":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"libssh 0.5.3 (SECURITY RELEASE)  at  libssh - The SSH Library!","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80220","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80220","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-November/093474.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 17 Update: libssh-0.5.3-1.fc17","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 18 Update: libssh-0.5.3-1.fc18","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html","name":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2012:1622-1: moderate: update for libssh","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support / Security / Advisories /  / MDVSA-2012:175 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2012/dsa-2577","name":"http://www.debian.org/security/2012/dsa-2577","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2577-1 libssh","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html","name":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"openSUSE-SU-2013:0130-1: moderate: update for libssh","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html","name":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] openSUSE-SU-2012:1620-1: important: update for libss","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-4561","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-4561","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":"4561","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"0.4.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4561","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"0.4.8","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4561","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"0.5.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4561","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"0.5.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4561","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"0.5.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"4561","vulnerable":"1","versionEndIncluding":"0.5.2","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","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-06T20:42:53.678Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"DSA-2577","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2012/dsa-2577"},{"name":"MDVSA-2012:175","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871617"},{"name":"USN-1640-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1640-1"},{"name":"openSUSE-SU-2013:0130","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html"},{"name":"openSUSE-SU-2012:1622","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html"},{"name":"FEDORA-2012-18610","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html"},{"name":"openSUSE-SU-2012:1620","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html"},{"name":"[oss-security] 20121120 libssh 0.5.3 release fixes multiple security issues","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/11/20/3"},{"name":"libssh-multiple-dos(80220)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80220"},{"name":"FEDORA-2012-18677","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html"},{"name":"56604","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/56604"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-11-20T00:00:00.000Z","descriptions":[{"lang":"en","value":"The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free \"an invalid pointer on an error path,\" which might allow remote attackers to cause a denial of service (crash) via unspecified vectors."}],"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":"DSA-2577","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2012/dsa-2577"},{"name":"MDVSA-2012:175","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=871617"},{"name":"USN-1640-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1640-1"},{"name":"openSUSE-SU-2013:0130","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html"},{"name":"openSUSE-SU-2012:1622","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html"},{"name":"FEDORA-2012-18610","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html"},{"name":"openSUSE-SU-2012:1620","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html"},{"name":"[oss-security] 20121120 libssh 0.5.3 release fixes multiple security issues","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/11/20/3"},{"name":"libssh-multiple-dos(80220)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80220"},{"name":"FEDORA-2012-18677","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html"},{"name":"56604","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/56604"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-4561","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free \"an invalid pointer on an error path,\" which might allow remote attackers to cause a denial of service (crash) via unspecified vectors."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-2577","refsource":"DEBIAN","url":"http://www.debian.org/security/2012/dsa-2577"},{"name":"MDVSA-2012:175","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:175"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=871617","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=871617"},{"name":"USN-1640-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-1640-1"},{"name":"openSUSE-SU-2013:0130","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00021.html"},{"name":"openSUSE-SU-2012:1622","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2012-12/msg00016.html"},{"name":"FEDORA-2012-18610","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093313.html"},{"name":"openSUSE-SU-2012:1620","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2012-12/msg00002.html"},{"name":"[oss-security] 20121120 libssh 0.5.3 release fixes multiple security issues","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/11/20/3"},{"name":"libssh-multiple-dos(80220)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/80220"},{"name":"FEDORA-2012-18677","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-November/093474.html"},{"name":"56604","refsource":"BID","url":"http://www.securityfocus.com/bid/56604"},{"name":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/","refsource":"CONFIRM","url":"http://www.libssh.org/2012/11/20/libssh-0-5-3-security-release/"}]}}}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-4561","datePublished":"2012-11-30T22:00:00.000Z","dateReserved":"2012-08-21T00:00:00.000Z","dateUpdated":"2024-08-06T20:42:53.678Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-11-30 22:55:01","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["NVD-CWE-noinfo","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":true,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","versionEndIncluding":"0.5.2","matchCriteriaId":"5C70E449-A62A-4670-8786-093A915EF07C"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.4.7:*:*:*:*:*:*:*","matchCriteriaId":"EA0F1552-63D8-4E97-A44A-EF55E8A330B7"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.4.8:*:*:*:*:*:*:*","matchCriteriaId":"6514D889-F87F-44D1-9C7B-5BE75676DCFF"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.5.0:*:*:*:*:*:*:*","matchCriteriaId":"A80094C5-1273-43AB-9E1E-096D8B0A60BB"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.5.0:rc1:*:*:*:*:*:*","matchCriteriaId":"CF67514C-3240-42A4-9996-21E855104C59"},{"vulnerable":true,"criteria":"cpe:2.3:a:libssh:libssh:0.5.1:*:*:*:*:*:*:*","matchCriteriaId":"7BBD0BC3-2467-414E-BD82-2A5778B810F9"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"4561","Ordinal":"1","Title":"CVE-2012-4561","CVE":"CVE-2012-4561","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"4561","Ordinal":"1","NoteData":"The (1) publickey_make_dss, (2) publickey_make_rsa, (3) signature_from_string, (4) ssh_do_sign, and (5) ssh_sign_session_id functions in keys.c in libssh before 0.5.3 free \"an invalid pointer on an error path,\" which might allow remote attackers to cause a denial of service (crash) via unspecified vectors.","Type":"Description","Title":"CVE-2012-4561"},{"CveYear":"2012","CveId":"4561","Ordinal":"2","NoteData":"2012-11-30","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"4561","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}