National Vulnerability Database

National Vulnerability Database

National Vulnerability

CVE-2012-3461 Detail


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.

Source:  MITRE      Last Modified:  08/20/2012

Quick Info

CVE Dictionary Entry:
Original release date:
Last revised:


CVSS Severity (version 2.0):
CVSS v2 Base Score:
(AV:N/AC:M/Au:N/C:N/I:N/A:P) (legend)
Impact Subscore:
Exploitability Subscore:
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Not required to exploit
Impact Type:
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to

Hyperlink Resource Type Source Name External Source MISC External Source MLIST [OTR-dev] 20120727 otrl_base64_otr_decode() function... External Source MLIST [OTR-dev] 20120727 Re: otrl_base64_otr_decode() function... External Source SUSE openSUSE-SU-2012:1525 External Source SUSE SUSE-SU-2012:1578 External Source SUSE openSUSE-SU-2013:0155;a=commitdiff;h=1902baee5d4b056850274ed0fa8c2409f1187435 Exploit; Patch External Source CONFIRM;a=commitdiff;h=1902baee5d4b056850274ed0fa8c2409f1187435;a=commitdiff;h=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1 Exploit; Patch External Source CONFIRM;a=commitdiff;h=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1;a=commitdiff;h=b17232f86f8e60d0d22caf9a2400494d3c77da58 Exploit; Patch External Source CONFIRM;a=commitdiff;h=b17232f86f8e60d0d22caf9a2400494d3c77da58 External Source DEBIAN DSA-2526 External Source MANDRIVA MDVSA-2012:131 External Source MANDRIVA MDVSA-2013:097 External Source BID 54907 External Source UBUNTU USN-1541-1 External Source MISC External Source XF libotr-base64-bo(77528)

Technical Details

Vulnerability Type (View All)

Change History 2 change records found - show changes