Skip to content
OpenAdvisories
Unscored CVE-2012-3461 EUVD-2012-3421GHSA-gwfv-2hfv-wqmr

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.…

Published Aug 20, 2012 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libotr 3.2.1-1 —
Debian 13 libotr 3.2.1-1 —
Debian 12 libotr 3.2.1-1 —
Debian 6.0 libotr 3.2.0-2+squeeze1 DSA-2526-1

Advisories 1

References