# CVE-2024-10846: Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop

> CVE-2024-10846: Excessive Platform Resource Consumption within a Loop when unmarshalling Compose file having recursive loop. CVSS 5.9 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-10846
Last updated: 2026-06-17T06:56:33Z

- Published: 2025-01-23 15:22 UTC · Updated: 2026-06-17 06:56 UTC · Assigner: Docker
- CVSS: 5.9 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H
- EPSS: 0.23%, 13th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-20

## Description

The compose-go library component in versions v2.10-v2.4.0 allows an authorized user who sends malicious YAML payloads to cause the compose-go to consume excessive amount of Memory and CPU cycles while parsing YAML, such as used by Docker Compose from versions  v2.27.0 to v2.29.7 included

## Affected vendors and products

- compose-spec: compose-go

## Tracked companies

- [Docker](https://rewindex.com/company/docker.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-10846)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-10846)
- [https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9](https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-10846 · Markdown: https://rewindex.com/cve/CVE-2024-10846.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-10846 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:15:09.751Z
