Incorrect ASN.1 long form length parsing
Currently the definite long form is parsed as an additive length. This
220.127.116.11 In the long form, the length octets shall consist of an initial octet and one or more subsequent octets.
A more digestible explanation is given here with an example
For the definite form, if the length is less than 128, you just use a single byte, with the high bit set to zero. Otherwise the high bit is set to one, and the low seven bits set to the length of length. The length is then encoded in that many bytes.