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 (88.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.034 · newest: 0.034 · change: 0.000
Affected products
- Cypherpunks Libotr — versions 3.1.0
Weakness classification (CWE)
References
- www.debian.org/security/2012/dsa-2526 (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html (vendor-advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/77528 (vdb-entry)
- bugzilla.redhat.com/show_bug.cgi
- www.mandriva.com/security/advisories (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- otr.git.sourceforge.net/git/gitweb.cgi
- lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html (mailing-list)
- lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html (mailing-list)
- bugs.debian.org/cgi-bin/bugreport.cgi