The (1) otrl_base64_otr_decode function in src/b64.c; (2) otrl_proto_data_read_flags and…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cypherpunks:libotr:*:*:*:*:*:*:*:* | up to 3.2.0 | Vulnerable | Cypherpunks |
| cpe:2.3:a:cypherpunks:libotr:3.1.0:*:*:*:*:*:*:* | 3.1.0 | Vulnerable | Cypherpunks |
- cpe:2.3:a:cypherpunks:libotr:*:*:*:*:*:*:*:* Versions up to 3.2.0 Vulnerable ·Cypherpunks
- cpe:2.3:a:cypherpunks:libotr:3.1.0:*:*:*:*:*:*:* Versions 3.1.0 Vulnerable ·Cypherpunks
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-3461
- 2026-10-03 Alias added: GHSA-gwfv-2hfv-wqmr
References
Advisory 7
Other 7
- https://bugzilla.redhat.com/show_bug.cgi?id=846377
- http://otr.git.sourceforge.net/git/gitweb.cgi?p=otr/libotr%3Ba=commitdiff%3Bh=b17232f86f8e60d0d22caf9a2400494d3c77da58
- [OTR-dev] 20120727 otrl_base64_otr_decode() function...
- [OTR-dev] 20120727 Re: otrl_base64_otr_decode() function...
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684121
- 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
More Cypherpunks Libotr vulnerabilities
- TI-2016-02392 Integer overflow in proto.c in libotr before 4.1.1 on 64-bit platforms allows remote… CVSS 3.0CRITICAL 9.8
Sources
- CVE-2012-3461 · CVE Program
- CVE-2012-3461 · NVD
- FIRST EPSS
- GHSA-gwfv-2hfv-wqmr · GitHub Advisory Database · CC BY 4.0
- CVE-2012-3461 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences