Bug 2581873 - CVE-2026-121757 zig: glibc: Denial of Service via out-of-bounds read in CP949 character conversion [fedora-all]
Summary: CVE-2026-121757 zig: glibc: Denial of Service via out-of-bounds read in CP949...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: zig
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Jan Drögehoff
QA Contact:
URL:
Whiteboard: {"flaws": ["5320862a-55f0-4724-8473-4...
Depends On:
Blocks: CVE-2026-121757
TreeView+ depends on / blocked
 
Reported: 2026-11-23 13:49 UTC by Vipul Nair
Modified: 2026-11-23 13:49 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-11-23 13:49:44 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Converting crafted CP949 input to UTF-8 character encoding and ignoring invalid characters, in the GNU C Library version 2.1 or later may result in the converter reading past the end of the input buffer, causing the calling application to crash.

When the CP949 decoder encounters an invalid input byte sequence like '\xa2\xe8' it ends up advancing the pointer tracking the read buffer position twice.  If //IGNORE is set on the destination encoding and 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 target iconv function needs to set //IGNORE on the destination of the conversion and the input and encoding needs to be attacker controlled.


Note You need to log in before you can comment on or make changes to this bug.