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.

Published: 2012-08-20 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-3461 is rated Moderate Risk (48.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.44%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-3461

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 3.16% 3.44% +0.28%
2 2026-02-14 4.29% 3.16% -1.13%
3 2025-12-18 4.29%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-3461

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2012-3461

OS Trackers for CVE-2012-3461

vendor priority summary link
debian medium CVE-2012-3461 medium priority: Debian including 1 source packages (libotr), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-3461
gentoo high CVE-2012-3461: 1 GLSA(s) (201309-07), 1 atom(s) (net-libs/libotr); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-3461
ubuntu low CVE-2012-3461 low priority: Ubuntu including 1 source packages (libotr), 6 status rows across 6 suites (hardy, lucid, natty, oneiric, precise, upstream): released 5, ignored 1. https://ubuntu.com/security/CVE-2012-3461

Affected software / configurations for CVE-2012-3461

Vendor Product Version Raw CPE
cypherpunks libotr <= 3.2.0 cpe:2.3:a:cypherpunks:libotr:*:*:*:*:*:*:*:*
cypherpunks libotr 3.1.0 cpe:2.3:a:cypherpunks:libotr:3.1.0:*:*:*:*:*:*:*

References for CVE-2012-3461

URL Tags
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001347.html
http://lists.cypherpunks.ca/pipermail/otr-dev/2012-July/001348.html
http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00016.html
http://lists.opensuse.org/opensuse-security-announce/2012-11/msg00019.html
http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00019.html
http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435
http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1
http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58
http://www.debian.org/security/2012/dsa-2526
http://www.mandriva.com/security/advisories?name=MDVSA-2012:131
http://www.mandriva.com/security/advisories?name=MDVSA-2013:097
http://www.securityfocus.com/bid/54907
http://www.ubuntu.com/usn/USN-1541-1
https://bugzilla.redhat.com/show_bug.cgi?id=846377
https://exchange.xforce.ibmcloud.com/vulnerabilities/77528
cvelogic Threat Intelligence