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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.0
- **CVSS:** 9.0 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.87% (percentile 56, 2026-11-26)
- **CWE:** CWE-789
- **Aliases:** GHSA-6jp5-grgh-jw42, GO-2026-4422
- **Published:** 2023-09-21T13:13:30.579Z
- **Modified:** 2026-06-17T06:26:06.863Z

## Who should check

- Projects that depend on Go package github.com/lf-edge/eve (\< 0.0.0-20230519072751-977f42b07fa9)
- Anyone running LF-Edge, Zededa EVE OS \>= 3.0.0, \< 9.5.0

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

## Affected and fixed versions

- Go `github.com/lf-edge/eve`: affected \< 0.0.0-20230519072751-977f42b07fa9; fixed 0.0.0-20230519072751-977f42b07fa9 (osv)
- LF-Edge, Zededa EVE OS: \>= 3.0.0, \< 9.5.0 (cvelist)

## Mitigation

- Upgrade github.com/lf-edge/eve to 0.0.0-20230519072751-977f42b07fa9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-43632. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-43632.md
Affected: github.com/lf-edge/eve < 0.0.0-20230519072751-977f42b07fa9
Fixed in: 0.0.0-20230519072751-977f42b07fa9

Steps:
1. Search this machine and project for github.com/lf-edge/eve (Go), LF-Edge, Zededa EVE OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-43632 being exploited?

There is no confirmed exploitation: CVE-2023-43632 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.87% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-43632?

Critical: CVSS 9.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-43632?

github.com/lf-edge/eve \< 0.0.0-20230519072751-977f42b07fa9.

### Is there a fix for CVE-2023-43632?

Yes. Fixed in 0.0.0-20230519072751-977f42b07fa9. Upgrade github.com/lf-edge/eve to 0.0.0-20230519072751-977f42b07fa9 or later.

### How do I check if I'm affected by CVE-2023-43632?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-43632>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6jp5-grgh-jw42> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-4422> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-43632> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-43632>
