# GHSA-w98g-5fmx-wm4x: pocketmine/raklib reliable-ordered queue size is unlimited, allowing a session to hog server memory

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-11-15T18:42:38.000Z
- Modified: 2024-11-28T05:40:45.141Z
- Weaknesses: CWE-400

## Description

### Impact
A client can send reliable-ordered packets 0, 2, 3, 4, 5 ... etc, and all the packets 2 and up will stay in the reliable-ordered queue until 1 arrives. A malicious client can exploit this to waste all available server memory by simply never sending the missing packet. Since the server doesn't make any effort to limit the size of the queue or detect this kind of abuse, this problem is easy to abuse.

### Patches
This bug was fixed on the 0.14.x and 0.15.x release lines by 371190f5854372154d1b263cd2a10e658e92bebe.

### Workarounds
No workaround is known.

(As written by GitHub Advisory Database.)

## Affected

- pocketmine/raklib (Packagist): from 0.14.0 before 0.14.6; from 0.15.0 before 0.15.1

## References

- <https://github.com/pmmp/RakLib/security/advisories/GHSA-w98g-5fmx-wm4x> (web)
- <https://github.com/pmmp/RakLib/commit/371190f5854372154d1b263cd2a10e658e92bebe> (web)
- <https://github.com/pmmp/RakLib> (package)

## Sources

- GitHub Advisory Database: [GHSA-w98g-5fmx-wm4x](https://github.com/advisories/GHSA-w98g-5fmx-wm4x), CC-BY-4.0, modified 2024-11-28

---

Page: https://cve.day/GHSA-w98g-5fmx-wm4x · Whole record: https://cve.day/GHSA-w98g-5fmx-wm4x.json · Rebuilt by cve.day 2026-11-25T22:56:33.222Z
