CVE-2012-3461Cypherpunks Libotr
Medium 4.3 No auth needed
Follow: this CVE · Cypherpunks · Cypherpunks Libotr We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Aug 20, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Libotr.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cypherpunks | libotr | ≤ 3.2.0 |
| cypherpunks | libotr | 3.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org
- lists.cypherpunks.ca
- lists.cypherpunks.ca
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- otr.git.sourceforge.net
- otr.git.sourceforge.net
- otr.git.sourceforge.net
- www.debian.org
- www.mandriva.com
- www.mandriva.com
- www.securityfocus.com
- www.ubuntu.com
- bugzilla.redhat.com
- exchange.xforce.ibmcloud.com