p2r3 Bareiron Buffer Overflow Vulnerability Leading to Denial-of-Service

Vulnerability

A buffer overflow vulnerability has been identified in p2r3 Bareiron, specifically in commit 8e4d4020d. This vulnerability allows unauthenticated remote attackers to cause a denial-of-service by sending a packet to the server. The issue arises because the 'handlePacket' function does not properly validate the length of user-controlled packets before they are processed, leading to memory being overwritten and the server crashing.

Impact

Exploitation of this vulnerability causes a server crash, creating a denial-of-service condition.

Reproduction

The vulnerability can be reproduced by sending a packet with a length that exceeds the capacity of the 'recv_buffer' in the 'handlePacket' function. This can be done by manipulating the packet length to overwrite adjacent memory, which ultimately leads to a server crash.

Added: Feb 12, 2026, 6:23 PM
Updated: Feb 12, 2026, 8:32 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
7.7
remediation
0.0
relevance
2.7
threat
1.6
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.