{"items":[{"id":"NVI-00006109","kind":"vulnerability","title":"Buffer length underflow in LoginPacket causing unchecked exceptions to be thrown","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-5jfw-35xp-5m42"],"plain_summary":"OSV carries this publisher advisory for pocketmine/bedrock-protocol. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 8.0.2 for pocketmine/bedrock-protocol. Confirm the publisher’s latest guidance.","source_ids":["sr-a7beae5ed4e3e4b232ca2809e2fa6109"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-a7beae5ed4e3e4b232ca2809e2fa6109","url":"https://github.com/advisories/GHSA-5jfw-35xp-5m42","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-5jfw-35xp-5m42","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:59.924Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-a7beae5ed4e3e4b232ca2809e2fa6109"],"technology":"pocketmine/bedrock-protocol","known_exclusions":[],"conditions_summary":"### Impact\n`LoginPacket` uses `BinaryStream->getLInt()` to read the lengths of JSON payloads it wants to decode. Unfortunately, `BinaryStream->getLInt()` returns a signed integer, meaning that a malicious client can craft a packet with a large uint32 value for payload buffer size (which would be interpreted as a negative signed int32), causing `BinaryStream->get()` to throw an exception.\n\nIn the context of PocketMine-MP, this leads to a server crash when the vulnerability is exploited.\n\n### Patches\ne3fce7632b94e83fd6a518a87dcaf6a11681c4ac\n\n### Workarounds\nThis can be worked around by registering a custom `LoginPacket` implementation into `PacketPool` which overrides this code to patch it.\n\n### For more information\n* Email us at team@pmmp.io","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 8.0.2"]}],"null_published_at":"2026-10-31T22:13:05.859Z","source_updated_at":"2024-12-05T05:39:20.852Z","source_disclosed_at":"2022-04-05T17:53:22.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:41:59.924Z"}],"next_cursor":null,"snapshot_revision":"42594"}