Heap use after free in Pidgin-OTR plugin (CVE-2015-8833)
The pidgin-otr plugin version 4.0.2 fixes a heap use after free error. The bug is triggered when a user tries to authenticate a buddy and happens in the function create_smp_dialog.
The bug was discovered with Address Sanitizer. This is yet another example why all C/C++ code should be tested with Address Sanitizer enabled.
This bug was already independently discovered and reported by Stefan Sperling in the otr bug tracker.
Independend of this bug another more severe bug in Libotr itself was also disclosed today, please make sure you update both libotr (4.1.1) and the pidgin-otr plugin (4.0.2).
Upstream bug report (contains Address Sanitizer stack trace)
Commit / fix
CVE-2015-8833
The bug was discovered with Address Sanitizer. This is yet another example why all C/C++ code should be tested with Address Sanitizer enabled.
This bug was already independently discovered and reported by Stefan Sperling in the otr bug tracker.
Independend of this bug another more severe bug in Libotr itself was also disclosed today, please make sure you update both libotr (4.1.1) and the pidgin-otr plugin (4.0.2).
Upstream bug report (contains Address Sanitizer stack trace)
Commit / fix
CVE-2015-8833