Every CVE Search/ Get API key

CVE-2026-40200

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can...

8.1 HighFix available

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.16%Up 0.1 points since Apr 11, 2026
90%50%10%1%

What each source reports

CVE List Score used 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
CVE-2026-40200
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-670
Updated
2026-11-02
EUVDEUVD-2026-21496 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
EUVD-2026-21496
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-qrwv-475h-2439 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can...

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
GHSA-qrwv-475h-2439
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-670
Updated
2026-11-02
NVD 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
CVE-2026-40200
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-670
Updated
2026-11-02
OSVALPINE-CVE-2026-40200 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
ALPINE-CVE-2026-40200
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVBELL-CVE-2026-40200 8.1
Record
BELL-CVE-2026-40200
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2026-40200 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
DEBIAN-CVE-2026-40200
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1927 8.1

musl security update

musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions. It is lightweight, fast, simple, free, and strives to be correct in the sense of standards conformance and safety.

Security Fix(es):

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).(CVE-2026-40200)

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.(CVE-2026-6042)

Record
OESA-2026-1927
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1928 8.1

musl security update

musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions. It is lightweight, fast, simple, free, and strives to be correct in the sense of standards conformance and safety.

Security Fix(es):

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).(CVE-2026-40200)

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.(CVE-2026-6042)

Record
OESA-2026-1928
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2087 8.1

musl security update

musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions. It is lightweight, fast, simple, free, and strives to be correct in the sense of standards conformance and safety.

Security Fix(es):

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).(CVE-2026-40200)

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.(CVE-2026-6042)

Record
OESA-2026-2087
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2088 8.1

musl security update

musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions. It is lightweight, fast, simple, free, and strives to be correct in the sense of standards conformance and safety.

Security Fix(es):

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).(CVE-2026-40200)

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.(CVE-2026-6042)

Record
OESA-2026-2088
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-2178 8.1

musl security update

musl is an implementation of the C standard library built on top of the Linux system call API, including interfaces defined in the base language standard, POSIX, and widely agreed-upon extensions. It is lightweight, fast, simple, free, and strives to be correct in the sense of standards conformance and safety.

Security Fix(es):

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).(CVE-2026-40200)

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.(CVE-2026-6042)

Record
OESA-2026-2178
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-OS-ALPINE-315-CVE-2026-40200 7.8

CVE-2026-40200 in musl - Patched by Root

Root has patched CVE-2026-40200 in the musl package for Root:Alpine:3.15. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-315-CVE-2026-40200
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-OS-ALPINE-317-CVE-2026-40200 7.8

CVE-2026-40200 in musl - Patched by Root

Root has patched CVE-2026-40200 in the musl package for Root:Alpine:3.17. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-317-CVE-2026-40200
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-OS-ALPINE-318-CVE-2026-40200 7.8

CVE-2026-40200 in musl - Patched by Root

Root has patched CVE-2026-40200 in the musl package for Root:Alpine:3.18. Multiple fixed versions available.

Record
ROOT-OS-ALPINE-318-CVE-2026-40200
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-40200 8.1

An issue was discovered in musl libc 0.7.10 through 1.2.6. Stack-based memory corruption can occur during qsort of very large arrays, due to incorrectly implemented double-word primitives. The number of elements must exceed about seven million, i.e., the 32nd Leonardo number on 32-bit platforms (or the 64th Leonardo number on 64-bit platforms, which is not practical).

Record
UBUNTU-CVE-2026-40200
CVSS 3.1
8.1 HighCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
musl
Alpine:v3.19
before 1.2.4_git20230717-r6
1.2.4_git20230717-r6
musl
Alpine:v3.20
before 1.2.5-r3
1.2.5-r3
musl
Alpine:v3.21
before 1.2.5-r11
1.2.5-r11
musl
Alpine:v3.22
before 1.2.5-r12
1.2.5-r12
musl
Alpine:v3.23
before 1.2.5-r23
1.2.5-r23
musl
Alpine:v3.24
before 1.2.6-r2
1.2.6-r2
musl-default
Alpaquita:23
1.2.3-r11 up to 1.2.4-r14
1.2.4-r14
musl-perf
Alpaquita:23
1.2.3-r12 up to 1.2.4-r10
1.2.4-r10
musl-default
Alpaquita:25
1.2.5-r12 up to 1.2.5-r15
1.2.5-r15
musl-perf
Alpaquita:25
1.2.5-r11 up to 1.2.5-r16
1.2.5-r16
Show 31 moreShow less
Affected packages
PackageAffectedFixed
musl-default
Alpaquita:stream
1.2.4-r0 up to 1.2.6-r2
1.2.6-r2
musl-perf
Alpaquita:stream
1.2.4-r1 up to 1.2.6-r2
1.2.6-r2
musl-default
BellSoft Hardened Containers:23
1.2.3-r11 up to 1.2.4-r14
1.2.4-r14
musl-perf
BellSoft Hardened Containers:23
1.2.3-r12 up to 1.2.4-r10
1.2.4-r10
musl-default
BellSoft Hardened Containers:25
1.2.5-r12 up to 1.2.5-r15
1.2.5-r15
musl-perf
BellSoft Hardened Containers:25
1.2.5-r11 up to 1.2.5-r16
1.2.5-r16
musl-default
BellSoft Hardened Containers:stream
1.2.4-r0 up to 1.2.6-r2
1.2.6-r2
musl-perf
BellSoft Hardened Containers:stream
1.2.4-r1 up to 1.2.6-r2
1.2.6-r2
musl
Debian:12
All versions, plus listed versions
1.2.3-11.2.4-11.2.4-21.2.5-11.2.5-1.1
Show 5 moreShow less
1.2.5-21.2.5-31.2.5-3.11.2.5-3.1~deb13u11.2.6-1
None known
musl
Debian:13
before 1.2.5-3.1~deb13u1, plus listed versions
1.2.5-3
1.2.5-3.1~deb13u1
musl
Debian:14
before 1.2.5-3.1, plus listed versions
1.2.5-31.2.5-3.1~deb13u1
1.2.5-3.1
musl
openEuler:24.03-LTS-SP2
From an advisory covering 2 CVEs
before 1.2.4-6.oe2403sp2
1.2.4-6.oe2403sp2
musl
openEuler:24.03-LTS-SP3
From an advisory covering 2 CVEs
before 1.2.4-6.oe2403sp3
1.2.4-6.oe2403sp3
musl
openEuler:24.03-LTS
From an advisory covering 2 CVEs
before 1.2.4-6.oe2403
1.2.4-6.oe2403
musl
openEuler:24.03-LTS-SP1
From an advisory covering 2 CVEs
before 1.2.4-6.oe2403sp1
1.2.4-6.oe2403sp1
musl
openEuler:22.03-LTS-SP4
From an advisory covering 2 CVEs
before 1.2.3-4.oe2203sp4
1.2.3-4.oe2203sp4
musl
Root:Alpine:3.15
before 1.2.2-r90071
1.2.2-r900711.2.2-r90072
rootio-musl
Root:Alpine:3.15
before 1.2.2-r90071
1.2.2-r900711.2.2-r90072
musl
Root:Alpine:3.17
before 1.2.3-r50071
1.2.3-r500711.2.3-r600721.2.3-r60073
rootio-musl
Root:Alpine:3.17
before 1.2.3-r50071
1.2.3-r500711.2.3-r600721.2.3-r60073
musl
Root:Alpine:3.18
before 1.2.4-r30071
1.2.4-r300711.2.4-r30072
rootio-musl
Root:Alpine:3.18
before 1.2.4-r30071
1.2.4-r300711.2.4-r30072
musl
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
0.9.14-20.9.14-2ubuntu10.9.15-10.9.15-1ubuntu0.1~esm10.9.15-1ubuntu0.1~esm2
None known
musl
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
1.1.9-11.1.9-1ubuntu0.1~esm21.1.9-1ubuntu0.1~esm3
None known
musl
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
1.1.16-31.1.18-11.1.19-11.1.19-1ubuntu0.1~esm1
None known
musl
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
1.1.23-2build11.1.24-11.1.24-1ubuntu0.1~esm1
None known
musl
Ubuntu:22.04:LTS
All versions, plus listed versions
1.2.2-11.2.2-4
None known
musl
Ubuntu:24.04:LTS
All versions, plus listed versions
1.2.3-11.2.4-2
None known
musl
Ubuntu:25.10
All versions, plus listed versions
1.2.5-21.2.5-3
None known
musl
Ubuntu:26.10
All versions, plus listed versions
1.2.5-3build11.2.6-1
None known
musl
Ubuntu:26.04:LTS
All versions, plus listed versions
1.2.5-31.2.5-3build1
None known

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-40200 is a high vulnerability (CVSS 8.1) in Musl-libc Musl, published April 10, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.16%, the 5th percentile. Fixed in musl 1.2.4_git20230717-r6.

References

Show 9 moreShow less
MoveEnter Open