# CVE-2024-38375: @fastly/js-compute use-after-free in some host call implementations

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/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.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2024-06-26T18:46:12.471Z
- Modified: 2026-09-10T03:50:15.651Z
- Also known as: GHSA-mp3g-vpm9-9vqv
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

@fastly/js-compute is a JavaScript SDK and runtime for building Fastly Compute applications. The implementation of several functions were determined to include a use-after-free bug. This bug could allow for unintended data loss if the result of the preceding functions were sent anywhere else, and often results in a guest trap causing services to return a 500. This bug has been fixed in version 3.16.0 of the `@fastly/js-compute` package.

(As written by CVE List.)

## Affected

- fastly js-compute-runtime: >= 3.0.0, < 3.16.0
- @fastly/js-compute (npm): from 3.0.0 before 3.16.0

## Every score

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

## References

- <https://github.com/fastly/js-compute-runtime/security/advisories/GHSA-mp3g-vpm9-9vqv> (web)
- <https://github.com/fastly/js-compute-runtime/commit/4e16641ef4e159c4a11b500ac861b8fa8d9ff5d3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-38375> (advisory)
- <https://github.com/fastly/js-compute-runtime> (package)

## Sources

- CVE List: [CVE-2024-38375](https://www.cve.org/CVERecord?id=CVE-2024-38375), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-mp3g-vpm9-9vqv](https://github.com/advisories/GHSA-mp3g-vpm9-9vqv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-38375](https://nvd.nist.gov/vuln/detail/CVE-2024-38375), Public domain, modified 2026-06-17

---

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