glibc denial of service in ISO-2022-CN-EXT decoding
The GNU C Library glibc
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The GNU C Library glibc |
| No fix yet |
Original description
Converting crafted ISO-2022-CN-EXT input to UTF-8 character encoding, in the GNU C Library version 2.2 through 2.44 may result in the converter reading past the end of the input buffer, causing the calling application to crash.
When the ISO-2022-CN-EXT decoder encounters an invalid input byte sequence like '\x0e' it ends up advancing the pointer tracking the read buffer position twice. If this sequence is at the end of the input buffer, the decoder may then end up reading past the bounds of the input buffer. To exploit this, the input and encoding needs to be attacker controlled.
From the CVE record · glibc