soundlib/pattern.h in libopenmpt before 0.3.9 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted AMS file because of an invalid write near address 0 in an out-of-memory situation.
https://source.openmpt.org/browse/openmpt/trunk/?op=revision&rev=10149&peg=10150