This is an initial architectural problem which surfaced after apply #8145.
For multibyte encodings engine validates data in input message limiting it to a supposed character length dsc_length / BPC. If an user has provided in the message metadata the real data length, this data gets truncated without even a warning.
Testcase is attached.
ctest.zip