Bug 2524902

Summary: CVE-2026-80489 zig: Non-progress DoS in SHIFT_JISX0213 -> UCS-4 conversion state [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: zigAssignee: Jan Drögehoff <sentrycraft123>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: alebastr89, baltevl, josherna, marko03kostic, purin21345, renich, sentrycraft123, suraj.ghimire7
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["39b20f4f-1389-4f14-9c16-961e11288a59"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-09-05 11:04:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2524870    

Description Srikanth Balasubramanian 2026-08-27 10:07:53 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.

Non-progress DoS in SHIFT_JISX0213 -&gt; UCS-4 conversion state  <br/>
handling (`iconvdata/shift_jisx0213.c`): crafted input can cause repeated  <br/>
emission of a buffered code point without further input consumption,  <br/>
leading to persistent retry churn and denial of service in callers  <br/>
converting untrusted text.<br/>
Requirements to exploit: An attacker must be able to supply text that an  <br/>
application converts from `SHIFT_JISX0213` to `UCS-4`, trigger a 2-byte  <br/>
sequence that expands through `__jisx0213_to_ucs_combining`, and have the  <br/>
caller retry after `E2BIG` with the same conversion state once only enough  <br/>
output space remains for the first of the two emitted code points.  <br/>
Applications that never use this conversion path, or that abort on repeated  <br/>
no-progress `E2BIG`, are not practically exposed.<br/>

Comment 1 Renich Bon Ciric 2026-09-05 11:04:42 UTC
Zig is not affected by this vulnerability.

While `zig.spec` declares `Provides: bundled(glibc) = 2.43` to account for embedded headers and ABI symbol metadata, Zig does not bundle or compile the GNU C Library implementation of the affected routine.

Specifically:
- Zig only ships glibc ABI symbol tables (`abilists`) to generate compile-time dynamic linking stubs (`.so`), generic headers, and minimal C runtime startup objects (`crt1.o`, `elf-init`, `stat` shims).
- Zig compiler binaries and generated executables dynamically link against the host/target system's runtime `libc.so.6`.

Closing as NOTABUG.