REDHAT-BUG-2273404: High severity GNU libiconv (ISO-2022-CN-EXT plugin) vulnerability

Published Apr 4, 2024
·
Updated

The iconv plugin ISO-2022-CN-EXT, when converting from UCS4, might trigger a OOB write. The encoding requires to add escape sequence to indicate where it changes the character set (as described by RFC 1922) and while the bounds check is done by the SOdesignation designation, it is missing for SS2designation and SS3designation. This leads to an overflow of 1, 2, or 3 bytes with fixed values: $+I, $+J, $+K, $+L, $+M, or , $H.

Affected Software

1 affected component
GNU libiconv (ISO-2022-CN-EXT plugin)

Event History

Apr 4, 2024
Data Sourced
via Red Hat·03:43 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are required to trigger the out-of-bounds write?

An application must use the ISO-2022-CN-EXT iconv plugin to convert input from UCS4. The issue is triggered when conversion requires SS2 or SS3 character-set designation escape sequences, for which the required output bounds checks are missing.

2

How large is the overwrite and what data can be written?

The overflow is limited to 1, 2, or 3 bytes. The written bytes are fixed escape-sequence values: $+I, $+J, $+K, $+L, $+M, or $*H.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203