ALPINE-CVE-2026-40200
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).
ALPINE-CVE-2026-40200
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:ALPINE-CVE-2026-40200
musl
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.2.4_git20230717-r6
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
musl
Source reference: /affected/1/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.2.5-r3
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
musl
Source reference: /affected/2/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.2.5-r11
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
musl
Source reference: /affected/3/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.2.5-r12
Source reference:
/affected/3/ranges - Prerequisites
- Not stated in this record
musl
Source reference: /affected/4/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.2.5-r23
Source reference:
/affected/4/ranges - Prerequisites
- Not stated in this record
musl
Source reference: /affected/5/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 1.2.6-r2
Source reference:
/affected/5/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.4_git20230717-r6"
}
]
}
],
"package": {
"name": "musl",
"purl": "pkg:apk/alpine/musl?arch=source",
"ecosystem": "Alpine:v3.19"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.5-r3"
}
]
}
],
"package": {
"name": "musl",
"purl": "pkg:apk/alpine/musl?arch=source",
"ecosystem": "Alpine:v3.20"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.5-r11"
}
]
}
],
"package": {
"name": "musl",
"purl": "pkg:apk/alpine/musl?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.5-r12"
}
]
}
],
"package": {
"name": "musl",
"purl": "pkg:apk/alpine/musl?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.5-r23"
}
]
}
],
"package": {
"name": "musl",
"purl": "pkg:apk/alpine/musl?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40200.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.2.6-r2"
}
]
}
],
"package": {
"name": "musl",
"purl": "pkg:apk/alpine/musl?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-40200.json"
},
"ecosystem_specific": {}
}
]Publisher severity
No explicit severity was provided.
- Event
- #54339 · Revision 1
- Added to Heist Feed
- Publisher date