CVE-2012-3461 Memory corruption in n/a
Remote attackers can cause a denial of service via heap-based buffer overflow in libotr when decoding specific base64 strings.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-3461?
CVE-2012-3461 is a medium-severity memory corruption vulnerability in n/a, published on 20 Aug 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-119
Which versions are affected by CVE-2012-3461?
It affects 1 product.
Products include Cypherpunks Libotr.
How do I fix CVE-2012-3461?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-3461 being exploited?
There is no known exploitation of CVE-2012-3461 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-3461, DSA-2526-1, GHSA-gwfv-2hfv-wqmr.