Every CVESearch/Get API key

GHSA-3gjh-29fv-8hr6

Nervos CKB Snappy decompress length can be very large and causes out of memory error

No scoreFix available

Impact

Adversary can create message which compressed size is less than the package limit but the decompressed length is very large such as 1G. It will cost the node many memories to process the network messages, and on the system with less than 1G memory, the process is killed directly because of out of memory error.

Patches

The node must check the decompress length before allocating the memory for the message.

References

What each source reports

GitHub AdvisoriesNo score

Nervos CKB Snappy decompress length can be very large and causes out of memory error

Impact

Adversary can create message which compressed size is less than the package limit but the decompressed length is very large such as 1G. It will cost the node many memories to process the network messages, and on the system with less than 1G memory, the process is killed directly because of out of memory error.

Patches

The node must check the decompress length before allocating the memory for the message.

References

Record
GHSA-3gjh-29fv-8hr6
Updated
2026-11-02
OSVNo score

Nervos CKB Snappy decompress length can be very large and causes out of memory error

Impact

Adversary can create message which compressed size is less than the package limit but the decompressed length is very large such as 1G. It will cost the node many memories to process the network messages, and on the system with less than 1G memory, the process is killed directly because of out of memory error.

Patches

The node must check the decompress length before allocating the memory for the message.

References

Record
GHSA-3gjh-29fv-8hr6
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
ckb
crates.io
through 0.34.1
0.34.2
ckb
crates.io
before 0.34.2
0.34.2

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-3gjh-29fv-8hr6 is a vulnerability with no CVSS score yet in ckb, published February 3, 2024. No source lists public exploit code. Fixed in ckb 0.34.2.

References

MoveEnter Open