Buffer overflow in Cypherpunks Libotr
CVE-2012-3461
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.034, 89.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cypherpunks Libotr — versions 3.1.0
Weakness classification (CWE)
References
- DSA-2526 (vendor-advisory)
- SUSE-SU-2012:1578 (vendor-advisory)
- libotr-base64-bo(77528) (vdb-entry)
- bugzilla.redhat.com/show_bug.cgi
- MDVSA-2013:097 (vendor-advisory)
- MDVSA-2012:131 (vendor-advisory)
- otr.git.sourceforge.net/git/gitweb.cgi
- [OTR-dev] 20120727 otrl_base64_otr_decode() function... (mailing-list)
- [OTR-dev] 20120727 Re: otrl_base64_otr_decode() function... (mailing-list)
- bugs.debian.org/cgi-bin/bugreport.cgi