Home / Cypherpunks / Libotr / CVE-2012-3461
CVE-2012-3461: is it exploited, and which versions of Cypherpunks Libotr are affected and fixed?
CVE-2012-3461 is a memory corruption (buffer overflow) vulnerability in Cypherpunks Libotr. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:08 UTC). Affected: libotr through 3.2.0 and libotr 3.1.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:08 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is 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.
From the CVE record by redhat, last updated August 6, 2024, 20:05 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cypherpunks | libotr | through 3.2.0 | application |
| cypherpunks | libotr | 3.1.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:43 UTC.
How severe is CVE-2012-3461?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-3461 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.44% probability of exploitation activity in the next 30 days, percentile 89.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Where are the vendor advisories and references?
- DSA-2526 vendor-advisory, x_refsource_DEBIAN
- SUSE-SU-2012:1578 vendor-advisory, x_refsource_SUSE
- libotr-base64-bo(77528) vdb-entry, x_refsource_XF
- https://bugzilla.redhat.com/show_bug.cgi?id=846377 x_refsource_MISC
- MDVSA-2013:097 vendor-advisory, x_refsource_MANDRIVA
- MDVSA-2012:131 vendor-advisory, x_refsource_MANDRIVA
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58 x_refsource_CONFIRM
- [OTR-dev] 20120727 otrl_base64_otr_decode() function... mailing-list, x_refsource_MLIST
- [OTR-dev] 20120727 Re: otrl_base64_otr_decode() function... mailing-list, x_refsource_MLIST
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121 x_refsource_MISC
- USN-1541-1 vendor-advisory, x_refsource_UBUNTU
- openSUSE-SU-2012:1525 vendor-advisory, x_refsource_SUSE
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=1902baee5d4b056850274ed0fa8c2409f1187435 x_refsource_CONFIRM
- openSUSE-SU-2013:0155 vendor-advisory, x_refsource_SUSE
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=6d4ca89cf1d3c9a8aff696c3a846ac5a51f762c1 x_refsource_CONFIRM
- 54907 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- June 14, 2012
- Published
- August 20, 2012, 19:00 UTC
- CVE record updated
- August 6, 2024, 20:05 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:43 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 07:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libotr?
- Apr 7, 2016CVE-2016-2851 Debian Linux: memory corruption (buffer overflow)
Questions about CVE-2012-3461
Is CVE-2012-3461 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:08 UTC. FIRST's EPSS gives it a 3.44% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Cypherpunks Libotr are affected by CVE-2012-3461?
libotr through 3.2.0 and libotr 3.1.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-3461?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-3461?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-3461?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.