# CVE-2023-43632: Freely Allocate Buffer on The Stack With Data From Socket

- Severity: Critical 9.0 (CVSS:3.1, scored by ASRG) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/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.87%, higher than 57% of CVEs (2026-11-30)
- Published: 2023-09-21T13:13:30.579Z
- Modified: 2026-06-17T06:26:06.863Z
- Also known as: GHSA-6jp5-grgh-jw42, GO-2026-4422
- Weaknesses: CWE-770, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: ASRG

## Description

As noted in the “VTPM.md” file in the eve documentation, “VTPM is a server listening on port
8877 in EVE, exposing limited functionality of the TPM to the clients. 
VTPM allows clients to
execute tpm2-tools binaries from a list of hardcoded options”
The communication with this server is done using protobuf, and the data is comprised of 2
parts:

1. Header

2. Data

When a connection is made, the server is waiting for 4 bytes of data, which will be the header,
and these 4 bytes would be parsed as uint32 size of the actual data to come.

Then, in the function “handleRequest” this size is then used in order to allocate a payload on
the stack for the incoming data.

As this payload is allocated on the stack, this will allow overflowing the stack size allocated for
the relevant process with freely controlled data.

* An attacker can crash the system. 
* An attacker can gain control over the system, specifically on the “vtpm_server” process
which has very high privileges.

(As written by CVE List.)

## Affected

- EVE OS: from 3.0.0 before 9.5.0
- lfedge eve: from 3.0.0 before 9.5.0
- github.com/lf-edge/eve (Go): before 0.0.0-20230519072751-977f42b07fa9
- linuxfoundation edge_virtualization_engine: from 3.0.0 before 9.5.0

## Every score

- ASRG: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H`
- NVD: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://asrg.io/security-advisories/cve-2023-43632/>
- <https://github.com/lf-edge/eve/security/advisories/GHSA-6jp5-grgh-jw42> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-43632> (advisory)
- <https://asrg.io/security-advisories/cve-2023-43632> (web)
- <https://asrg.io/security-advisories/freely-allocate-buffer-on-the-stack-with-data-from-socket> (web)
- <https://github.com/lf-edge/eve> (package)

## Sources

- CVE List: [CVE-2023-43632](https://www.cve.org/CVERecord?id=CVE-2023-43632), CVE Terms of Use, modified 2024-09-24
- GitHub Advisory Database: [GHSA-6jp5-grgh-jw42](https://github.com/advisories/GHSA-6jp5-grgh-jw42), CC-BY-4.0, modified 2026-02-05
- Go Vulnerability Database: [GO-2026-4422](https://pkg.go.dev/vuln/GO-2026-4422), CC-BY-4.0, modified 2026-02-05
- NVD: [CVE-2023-43632](https://nvd.nist.gov/vuln/detail/CVE-2023-43632), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-43632 · Whole record: https://cve.day/CVE-2023-43632.json · Rebuilt by cve.day 2026-11-25T22:58:28.053Z
