{"id":"UBUNTU-CVE-2026-6042","details":"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.","modified":"2026-05-20T16:26:25.972219298Z","published":"2026-04-10T09:16:00Z","upstream":["CVE-2026-6042"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-6042"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-6042"},{"type":"REPORT","url":"https://vuldb.com/submit/796352"},{"type":"REPORT","url":"https://vuldb.com/vuln/356620"},{"type":"REPORT","url":"https://vuldb.com/vuln/356620/cti"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/04/02/10"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2026/04/03/2"}],"affected":[{"package":{"name":"musl","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.14-2","0.9.14-2ubuntu1","0.9.15-1","0.9.15-1ubuntu0.1~esm1","0.9.15-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"musl","binary_version":"0.9.15-1ubuntu0.1~esm2"},{"binary_name":"musl-tools","binary_version":"0.9.15-1ubuntu0.1~esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.9-1","1.1.9-1ubuntu0.1~esm2","1.1.9-1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.9-1ubuntu0.1~esm3","binary_name":"musl"},{"binary_version":"1.1.9-1ubuntu0.1~esm3","binary_name":"musl-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.16-3","1.1.18-1","1.1.19-1","1.1.19-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"musl","binary_version":"1.1.19-1ubuntu0.1~esm1"},{"binary_name":"musl-tools","binary_version":"1.1.19-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.23-2build1","1.1.24-1","1.1.24-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"musl","binary_version":"1.1.24-1ubuntu0.1~esm1"},{"binary_version":"1.1.24-1ubuntu0.1~esm1","binary_name":"musl-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-1","1.2.2-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-4","binary_name":"musl"},{"binary_version":"1.2.2-4","binary_name":"musl-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3-1","1.2.4-2"],"ecosystem_specific":{"binaries":[{"binary_name":"musl","binary_version":"1.2.4-2"},{"binary_version":"1.2.4-2","binary_name":"musl-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/musl?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.5-2","1.2.5-3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.5-3","binary_name":"musl"},{"binary_name":"musl-tools","binary_version":"1.2.5-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}},{"package":{"name":"musl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/musl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.5-3","1.2.5-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.5-3build1","binary_name":"musl"},{"binary_version":"1.2.5-3build1","binary_name":"musl-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-6042.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}