# GHSA-pm3m-32r3-7mfh: Etcd embed auto compaction retention negative value causing a compaction loop or a crash

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-02-03T00:03:07.000Z
- Modified: 2026-09-10T03:50:06.341Z
- Also known as: GO-2024-2529
- Related: CGA-p2x7-gc5w-84hm

## Description

### Impact
Data Validation

### Detail
The parseCompactionRetention function in embed/etcd.go allows the retention variable value to be negative and causes the node to execute the history compaction in a loop, taking more CPU than usual and spamming logs.

### References
Find out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)

### For more information
If you have any questions or comments about this advisory:
* Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)

(As written by GitHub Advisory Database.)

## Affected

- go.etcd.io/etcd/v3 (Go): from 3.4.0-rc.0 before 3.4.10; before 3.3.23; all versions
- go.etcd.io/etcd (Go): all versions

## References

- <https://github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh> (advisory, web)
- <https://github.com/etcd-io/etcd> (package)

## Sources

- GitHub Advisory Database: [GHSA-pm3m-32r3-7mfh](https://github.com/advisories/GHSA-pm3m-32r3-7mfh), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2529](https://pkg.go.dev/vuln/GO-2024-2529), CC-BY-4.0, modified 2026-02-04

---

Page: https://cve.day/GHSA-pm3m-32r3-7mfh · Whole record: https://cve.day/GHSA-pm3m-32r3-7mfh.json · Rebuilt by cve.day 2026-11-25T22:56:23.638Z
