# CVE-2024-23650: BuildKit possible panic when incorrect parameters sent from frontend

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2024-01-31T21:42:13.382Z
- Modified: 2026-09-10T03:50:09.287Z
- Also known as: GHSA-9p26-698r-w4hx, GO-2024-2492
- Related: CGA-v4qr-xpwq-274m
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit client or frontend could craft a request that could lead to BuildKit daemon crashing with a panic. The issue has been fixed in v0.12.5. As a workaround, avoid using BuildKit frontends from untrusted sources.

(As written by CVE List.)

## Affected

- moby buildkit: < 0.12.5; before 0.12.5
- github.com/moby/buildkit (Go): before 0.12.5
- mobyproject buildkit: before 0.12.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/moby/buildkit/security/advisories/GHSA-9p26-698r-w4hx> (vendor-advisory, web)
- <https://github.com/moby/buildkit/pull/4601> (fix, patch, vendor-advisory, web)
- <https://github.com/moby/buildkit/releases/tag/v0.12.5> (patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23650> (advisory)
- <https://github.com/moby/buildkit/commit/481d9c45f473c58537f39694a38d7995cc656987> (fix, web)
- <https://github.com/moby/buildkit/commit/7718bd5c3dc8fc5cd246a30cc41766e7a53c043c> (fix, web)
- <https://github.com/moby/buildkit/commit/83edaef59d545b93e2750f1f85675a3764593fee> (fix, web)
- <https://github.com/moby/buildkit/commit/96663dd35bf3787d7efb1ee7fd9ac7fe533582ae> (fix, web)
- <https://github.com/moby/buildkit/commit/e1924dc32da35bfb0bfdbb9d0fc7bca25e552330> (fix, web)
- <https://github.com/moby/buildkit> (package)

## Sources

- CVE List: [CVE-2024-23650](https://www.cve.org/CVERecord?id=CVE-2024-23650), CVE Terms of Use, modified 2024-11-12
- GitHub Advisory Database: [GHSA-9p26-698r-w4hx](https://github.com/advisories/GHSA-9p26-698r-w4hx), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2492](https://pkg.go.dev/vuln/GO-2024-2492), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-23650](https://nvd.nist.gov/vuln/detail/CVE-2024-23650), Public domain, modified 2026-06-17

---

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