4.8medium
musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity
- Severity
- 4.8medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| musl libc | 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6 | CVE List |
All scores
| VulDB | 4.8medium CVSS:4.0 | 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.3low CVSS:3.1 | 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.3low CVSS:3.0 | 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 | 1.7low CVSS:2.0 | AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C |
Classification
What each source says
CVE List
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.
NVD (es)
Una falla de seguridad ha sido descubierta en musl libc hasta la versión 1.2.6. Afecta a la función iconv del archivo src/locale/iconv.c del componente Decodificador GB18030 de 4 bytes. Realizar una manipulación resulta en una complejidad algorítmica ineficiente. El ataque debe ser iniciado desde una posición local. Para solucionar este problema, se recomienda desplegar un parche.
References
| https://vuldb.com/vuln/356620 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/356620/cti | permissions-required, signature | |
| https://vuldb.com/submit/796352 | third-party-advisory | |
| https://www.openwall.com/lists/oss-security/2026/04/02/10 | related | |
| https://www.openwall.com/lists/oss-security/2026/04/03/2 | patch | |
| http://www.openwall.com/lists/oss-security/2026/04/09/19 | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6042 changed 2026-04-10 | CVE Terms of Use |
| NVD | CVE-2026-6042 changed 2026-10-26 | Public domain |