Servers and applications
CVE-2026-41648
Unbounded YAML Metadata Decode via Parsing
- Severity
- Medium 5.3
- Published
- 30 Apr 2026
- Last changed
- 26 Oct 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 7.0.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 19% of CVEs. EPSS by FIRST, 19 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-67wx-r9xr-x75x
- Sources
- NVD, Project advisories (GitHub)
Description
User provided image and backup tarballs would be unpacked and YAML files parsed without any size restrictions. This was making it easy for an authenticated user to provide a crafted image or backup tarball that when parsed by Incus would lead to a very large YAML document being loaded into memory, potentially causing the entire server to run out of memory.
It was found that getImageMetadata and backup.GetInfo call yaml.NewDecoder(tr).Decode() directly on the tar reader without limiting how many bytes the YAML decoder can consume. The tar entry hdr.Size is not checked before decoding.
A tar archive can be crafted in which metadata.yaml or backup/index.yaml declares a large size in the tar header, causing the YAML decoder to read and allocate proportional memory on the server. The gopkg.in/yaml.v2 library mitigates YAML alias and anchor bombs, such as “billion laughs,” through its built-in excessive-aliasing check.
Affected software
| Software | Affected versions |
|---|---|
IncusServers and applications · cpe:a:linuxcontainers:incus |
|
IncusServers and applications · github:lxc/incus |
|
About Incus
container manager for system containers
- GitHub stars
- 6,644GitHub, 15 Nov 2026
- Forks
- 522GitHub, 15 Nov 2026
- Latest release
- v7.6.0GitHub, 15 Nov 2026
- Released
- 30 Oct 2026GitHub
- Developer
- Linux ContainersWikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- GoWikidata
- First released
- 7 Aug 2023Wikidata
- First published on GitHub
- 22 Jul 2023GitHub
Vulnerabilities in Incus
- In our list
- 92
- Published in the last 12 months
- 89
- Critical, last 12 months
- 37
- High, last 12 months
- 28
- Known exploited
- 0
- CVE-2026-130786Incus before 7.6.0 LXC Configuration Injection via OCI Image ConfigCritical 9.4 18 Nov 2026
- CVE-2026-130785Incus 7.3.0 before 7.6.0 Guest API Container Impersonation via Forged CgroupHigh 8.4 18 Nov 2026
- CVE-2026-130784Incus before 7.6.0 Authorization Bypass via Default Project Resource InheritanceCritical 9.4 18 Nov 2026
- CVE-2026-130783Incus before 7.6.0 Token Exposure and Missing Authorization via Operation EventsCritical 9.3 18 Nov 2026
- CVE-2026-130782Incus before 7.6.0 Improper Authorization Exposes Default Project ResourcesHigh 8.3 18 Nov 2026
- CVE-2026-130781Incus before 7.6.0 Memory Exhaustion via S3 Listener Pre-Authentication BufferingHigh 7.1 18 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-41648
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-41648
- GitHub Advisory Database https://github.com/advisories/GHSA-67wx-r9xr-x75x
- github.com https://github.com/lxc/incus/security/advisories/GHSA-67wx-r9xr-x75x