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

Read the record on cve.org

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

CVSSScoreVectorSource
4.04.8 MediumCVSS: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:XVulDB
3.13.3 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:CVulDB
3.03.3 LowCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:CVulDB
2.01.7 LowAV:L/AC:L/Au:S/C:N/I:N/A:P/E:ND/RL:OF/RC:CVulDB

Weaknesses

Affected Products

ProductVersions
libcmusl
  • 1.2.0Affected
  • 1.2.1Affected
  • 1.2.2Affected
  • 1.2.3Affected
  • 1.2.4Affected
  • 1.2.5Affected
  • 1.2.6Affected

References

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.