{"api_version":"1","generated_at":"2026-07-23T15:09:32+00:00","cve":"CVE-2012-3461","urls":{"html":"https://cve.report/CVE-2012-3461","api":"https://cve.report/api/cve/CVE-2012-3461.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-3461","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-3461"},"summary":{"title":"CVE-2012-3461","description":"The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value \"?OTR:===.\", which triggers a heap-based buffer overflow.","state":"PUBLISHED","assigner":"redhat","published_at":"2012-08-20 19:55:05","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-119","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.debian.org/security/2012/dsa-2526","name":"http://www.debian.org/security/2012/dsa-2526","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Debian -- Security Information -- DSA-2526-1 libotr","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1541-1","name":"http://www.ubuntu.com/usn/USN-1541-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1541-1: libotr vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121","name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"#684121 - libotr2: Buffer overflows in libotr - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435","name":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Off-the-Record Messaging / Git tools","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html","name":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[OTR-dev] otr file transfer","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:131","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:131","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support / Security / Advisories /  / MDVSA-2012:131 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:097","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:097","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Support / Security / Advisories /  / MDVSA-2013:097 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=846377","name":"https://bugzilla.redhat.com/show_bug.cgi?id=846377","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"846377 – (CVE-2012-3461) CVE-2012-3461 libotr: Multiple heap-based buffer overflows in the Base64 decoder","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html","name":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] SUSE-SU-2012:1578-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html","name":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] openSUSE-SU-2012:1525-1: important: update for libot","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html","name":"http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[security-announce] openSUSE-SU-2013:0155-1: important: update for libot","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1","name":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Off-the-Record Messaging / Git tools","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/54907","name":"http://www.securityfocus.com/bid/54907","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58","name":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Off-the-Record Messaging / Git tools","mime":"text/html","httpstatus":"403","archivestatus":"200"},{"url":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html","name":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[OTR-dev] otrl_base64_otr_decode() function...","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77528","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77528","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=1902baee5d4b056850274ed0fa8c2409f1187435","name":"CONFIRM:http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=1902baee5d4b056850274ed0fa8c2409f1187435","refsource":"MITRE","tags":[],"title":"Off-the-Record Messaging / Git tools","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1","name":"CONFIRM:http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1","refsource":"MITRE","tags":[],"title":"Off-the-Record Messaging / Git tools","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=b17232f86f8e60d0d22caf9a2400494d3c77da58","name":"CONFIRM:http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr;a=commitdiff;h=b17232f86f8e60d0d22caf9a2400494d3c77da58","refsource":"MITRE","tags":[],"title":"Off-the-Record Messaging / Git tools","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-3461","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3461","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":"3461","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cypherpunks","cpe5":"libotr","cpe6":"3.1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2012","cve_id":"3461","vulnerable":"1","versionEndIncluding":"3.2.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cypherpunks","cpe5":"libotr","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:05:12.525Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"DSA-2526","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2012/dsa-2526"},{"name":"SUSE-SU-2012:1578","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html"},{"name":"libotr-base64-bo(77528)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77528"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=846377"},{"name":"MDVSA-2013:097","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:097"},{"name":"MDVSA-2012:131","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:131"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58"},{"name":"[OTR-dev] 20120727 otrl_base64_otr_decode() function...","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html"},{"name":"[OTR-dev] 20120727 Re: otrl_base64_otr_decode() function...","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121"},{"name":"USN-1541-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1541-1"},{"name":"openSUSE-SU-2012:1525","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435"},{"name":"openSUSE-SU-2013:0155","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1"},{"name":"54907","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/54907"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-07-27T00:00:00.000Z","descriptions":[{"lang":"en","value":"The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value \"?OTR:===.\", which triggers a heap-based buffer overflow."}],"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-2526","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2012/dsa-2526"},{"name":"SUSE-SU-2012:1578","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html"},{"name":"libotr-base64-bo(77528)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/77528"},{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=846377"},{"name":"MDVSA-2013:097","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:097"},{"name":"MDVSA-2012:131","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2012:131"},{"tags":["x_refsource_CONFIRM"],"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58"},{"name":"[OTR-dev] 20120727 otrl_base64_otr_decode() function...","tags":["mailing-list","x_refsource_MLIST"],"url":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html"},{"name":"[OTR-dev] 20120727 Re: otrl_base64_otr_decode() function...","tags":["mailing-list","x_refsource_MLIST"],"url":"http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html"},{"tags":["x_refsource_MISC"],"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121"},{"name":"USN-1541-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1541-1"},{"name":"openSUSE-SU-2012:1525","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435"},{"name":"openSUSE-SU-2013:0155","tags":["vendor-advisory","x_refsource_SUSE"],"url":"http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1"},{"name":"54907","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/54907"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2012-3461","datePublished":"2012-08-20T19:00:00.000Z","dateReserved":"2012-06-14T00:00:00.000Z","dateUpdated":"2024-08-06T20:05:12.525Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-08-20 19:55:05","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-119","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"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:cypherpunks:libotr:*:*:*:*:*:*:*:*","versionEndIncluding":"3.2.0","matchCriteriaId":"16FB55F1-A4DA-48A8-A7B9-8ADA15F28F20"},{"vulnerable":true,"criteria":"cpe:2.3:a:cypherpunks:libotr:3.1.0:*:*:*:*:*:*:*","matchCriteriaId":"917BC37B-B3B5-4802-BF1C-96F1893AC68F"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"3461","Ordinal":"1","Title":"CVE-2012-3461","CVE":"CVE-2012-3461","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"3461","Ordinal":"1","NoteData":"The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and (3) otrl_proto_accept_data functions in src/proto.c; and (4) decode function in toolkit/parse.c in libotr before 3.2.1 allocates a zero-length buffer when decoding a base64 string, which allows remote attackers to cause a denial of service (application crash) via a message with the value \"?OTR:===.\", which triggers a heap-based buffer overflow.","Type":"Description","Title":"CVE-2012-3461"},{"CveYear":"2012","CveId":"3461","Ordinal":"2","NoteData":"2012-08-20","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"3461","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}