CVE-2026-6042
musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity
- State
- Published
- Severity
- 4.8 Medium
- Published
- Apr 10, 2026
- Updated
- Apr 10, 2026
- Reserved
- Apr 9, 2026
Description
A security flaw has been discovered in musl libc up to 1.2.6. Affected is the function iconv of the file src/locale/iconv.c of the component GB18030 4-byte Decoder. Performing a manipulation results in inefficient algorithmic complexity. The attack must be initiated from a local position. To fix this issue, it is recommended to deploy a patch.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.8 Medium | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X | VulDB |
| 3.1 | 3.3 Low | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 3.0 | 3.3 Low | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C | VulDB |
| 2.0 | 1.7 Low | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
libcmusl |
|
References
- VDB-356620 | musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexityvdb-entrytechnical-description
- VDB-356620 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #796352 | musl libc musl 0.8.0 - 1.2.6 Inefficient Algorithmic Complexitythird-party-advisory
- https://www.openwall.com/lists/oss-security/2026/04/02/10related
- https://www.openwall.com/lists/oss-security/2026/04/03/2patch
- http://www.openwall.com/lists/oss-security/2026/04/09/19
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.