bogofilter -- heap underrun on malformed base64 input

2010-06-28T00:00:00
ID 25ED4FF8-8940-11DF-A339-0026189BACA3
Type freebsd
Reporter FreeBSD
Modified 2010-06-28T00:00:00

Description

Julius Plenz reports:

I found a bug in the base64_decode function which may cause memory corruption when the function is executed on a malformed base64 encoded string. If a string starting with an equal-sign is passed to the base64_decode function it triggers a memory corruption that in some cases makes bogofilter crash.