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

- Severity: Medium 5.9 (CVSS:3.1, scored by Docker) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-01-21T20:24:02.000Z
- Modified: 2026-06-17T06:56:33.543Z
- Also known as: GHSA-36gq-35j3-p9r9, GO-2025-3412
- Weaknesses: CWE-20, CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Docker

## 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

(As written by CVE List.)

## Affected

- compose-go: up to 2.4.0
- github.com/compose-spec/compose-go/v2 (Go): from 2.1.0 before 2.4.1

## Every score

- Docker: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:H`

## References

- <https://github.com/compose-spec/compose-go/security/advisories/GHSA-36gq-35j3-p9r9> (advisory, web)
- <https://security.netapp.com/advisory/ntap-20250425-0008/>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-10846> (advisory)
- <https://github.com/docker/compose/issues/12235> (web)
- <https://github.com/compose-spec/compose-go/pull/618> (fix, web)
- <https://github.com/compose-spec/compose-go/pull/703> (fix, web)
- <https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R10> (web)
- <https://github.com/compose-spec/compose-go> (package)
- <https://security.netapp.com/advisory/ntap-20250425-0008> (web)
- <https://github.com/docker/compose/commit/d239f0f3187a2ed5404c61f83bd5e995c81600ff> (fix)

## Sources

- CVE List: [CVE-2024-10846](https://www.cve.org/CVERecord?id=CVE-2024-10846), CVE Terms of Use, modified 2025-04-25
- GitHub Advisory Database: [GHSA-36gq-35j3-p9r9](https://github.com/advisories/GHSA-36gq-35j3-p9r9), CC-BY-4.0, modified 2025-04-28
- Go Vulnerability Database: [GO-2025-3412](https://pkg.go.dev/vuln/GO-2025-3412), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-10846](https://nvd.nist.gov/vuln/detail/CVE-2024-10846), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-10846 · Whole record: https://cve.day/CVE-2024-10846.json · Rebuilt by cve.day 2026-11-25T22:58:51.198Z
