# CVE-2026-6042: musl libc GB18030 4-byte Decoder iconv.c iconv algorithmic complexity

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-04-10T09:00:18.733Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-404, CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- musl libc: 1.2.0; 1.2.1; 1.2.2; 1.2.3; 1.2.4; 1.2.5; 1.2.6

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 1.7 Low `AV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:C`

## 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

- CVE List: [CVE-2026-6042](https://www.cve.org/CVERecord?id=CVE-2026-6042), CVE Terms of Use, modified 2026-04-10
- NVD: [CVE-2026-6042](https://nvd.nist.gov/vuln/detail/CVE-2026-6042), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-6042 · Whole record: https://cve.day/CVE-2026-6042.json · Rebuilt by cve.day 2026-11-25T22:59:18.490Z
