7.5high
Stack exhaustion in Decoder.Decode in encoding/gob
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.75% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Go
- Also known as
- GO-2024-3106BIT-GOLANG-2024-34156
Description
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| encoding/gob | before 1.22.7, from 1.23.0-0 before 1.23.1 | CVE List |
| go_standard_library encoding\/gob | before 1.22.7, from 1.23.0-0 before 1.23.1 | CVE List |
| stdlib (Go) | before 1.22.7, from 1.23.0-0 before 1.23.1 | Go Vulnerability Database |
| golang (Bitnami) | before 1.22.7, from 1.23.0-0 before 1.23.1 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion. This is a follow-up to CVE-2022-30635.
NVD (es)
Llamar a Decoder.Decode en un mensaje que contiene estructuras profundamente anidadas puede provocar un pánico debido al agotamiento de la pila. Esta es una continuación de CVE-2022-30635.
References
Related
CVE-2022-30635RHEA-2024:4866RHEA-2025:12446RHSA-2024:11216RHSA-2024:11217RHSA-2024:6908RHSA-2024:6912RHSA-2024:6913RHSA-2024:6914RHSA-2024:6946RHSA-2024:6947RHSA-2024:7102RHSA-2024:7103RHSA-2024:7135RHSA-2024:7136RHSA-2024:7202RHSA-2024:7203RHSA-2024:7204RHSA-2024:7205RHSA-2024:7206RHSA-2024:7207RHSA-2024:7208RHSA-2024:7261RHSA-2024:7262RHSA-2024:7350RHSA-2024:7351RHSA-2024:7449RHSA-2024:7455RHSA-2024:7456RHSA-2024:7485RHSA-2024:7487RHSA-2024:7488RHSA-2024:7769RHSA-2024:7791RHSA-2024:7792RHSA-2024:7793RHSA-2024:7794RHSA-2024:7818RHSA-2024:7819RHSA-2024:7820
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-34156 changed 2024-09-26 | CVE Terms of Use |
| Go Vulnerability Database | GO-2024-3106 changed 2026-11-23 | CC-BY-4.0 |
| NVD | CVE-2024-34156 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GOLANG-2024-34156 changed 2025-05-20 | Apache-2.0 |