Note that this issue is not present in dpkg 1.22.22, so it cropped up 1.22.22 < version(dpkg) ≤ 1.23.7
I just tested with upgrading/downgrading dpkg on a machine with no other changes, so it is not in some library or support package or anything like that.

