CVE-2012-3461

libotr < 3.2.1 - Denial of Service via Base64 Decode Heap Overflow

Title source: llm
STIX 2.1

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.

References (16)

Core 16
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/77528
Issue Tracking x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=846377
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-1541-1
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2012/dsa-2526
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2013:097
Vendor Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2012:131
Various Sources mailing-list x_refsource_mlist
http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
Various Sources mailing-list x_refsource_mlist
http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/54907

Scores

EPSS 0.0344
EPSS Percentile 87.6%

Details

CWE
CWE-119
Status published
Products (2)
cypherpunks/libotr 3.1.0
cypherpunks/libotr < 3.2.0
Published Aug 20, 2012
Tracked Since Feb 18, 2026