Service interruption via unchecked slice-length allocation
Published Sep 2, 2022 · Updated Apr 22, 2025
Memory allocation in gagliardetto binary before 0.7.1 allows remote attackers to crash a consuming program via untrusted encoded data. The Decode path reads a slice length directly from the input and preallocates that declared size without validating it against available data or an upper bound. The caller must pass attacker-controlled data into a structure containing slices; the resulting oversized allocation can exhaust memory or crash the process.
Summary
What happened
Memory allocation in gagliardetto binary before 0.7.1 allows remote attackers to crash a consuming program via untrusted encoded data. The Decode path reads a slice length directly from the input and preallocates that declared size without validating it against available data or an upper bound. The caller must pass attacker-controlled data into a structure containing slices; the resulting oversized allocation can exhaust memory or crash the process.
The record
- CVE
- CVE-2022-36078
- Published
- Sep 2, 2022
- Updated
- Apr 22, 2025
- Vendor
- gagliardetto
- Product
- binary
- Classifications
- CWE-1284, CWE-789, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 2, 2022CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.7.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GitHub advisory decoder allocation exampleproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo