Skip to content
DoS Disclosed report Intermediate

Integer overflow when parsing packets sent to socket created with network_create_server() causes hard game crash.

An integer overflow in the packet parsing of servers created with network_create_server() could be triggered by a malicious client sending a crafted packet, causing the game server to crash. This results in a denial-of-service condition for the affected server.

BenjaminUrquhart Follow

Originally disclosed on Bugcrowd

Bounty$300 Medium View original
  • Accepted in 22 days
  • Fixed in 48 days
  • Disclosed after 4 months

Summary by Opera Public Bug Bounty

CVE-2025-12501 Integer overflow in GameMaker IDE below 2024.14.0 version could lead to server crashes through denial-of-service attacks (DoS). The vulnerability was found in network_create_server() function.

Summary by BenjaminUrquhart

A malicious client could crash a Gamemaker server that uses network_create_server by sending a specially crafted packet.

The original report as published on Bugcrowd, by Opera Public Bug Bounty. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is GameMaker Studio 2, and the affected feature is the network_create_server() function, which lets a game create a listening server socket. The report was filed through Bugcrowd under the Opera Public Bug Bounty and is credited to BenjaminUrquhart. It carries the identifier CVE-2025-12501 and was disclosed on 4 November 2025 with a medium severity rating and a 300.00 USD bounty.

The researcher's summary is short and direct: a malicious client could crash a GameMaker server that uses network_create_server by sending a specially crafted packet. The platform summary frames the same issue as an integer overflow in the GameMaker IDE below version 2024.14.0, leading to server crashes through denial-of-service attacks.

The steps, as far as the report sets them out, are:

  1. A game (or other program) creates a server socket with network_create_server().
  2. A client connects to that server and sends a crafted packet.
  3. The packet triggers an integer overflow, and the server crashes.

The report does not include the packet contents, the length or field values that trigger the overflow, the protocol involved, or any crash log or stack trace. It also does not describe a proof-of-concept script. The only concrete artefact is the function name, network_create_server, and the version boundary: IDE releases below 2024.14.0 are affected.

Root cause

The report points to an integer overflow in the packet parsing path reached by sockets created with network_create_server(). The report does not describe the arithmetic involved. The wrapped value is then used for an allocation, a copy or an index, and the process crashes. The report does not identify the exact field or code path, so the precise arithmetic is not public.

Impact

The impact described is denial of service: a malicious client can crash a server built on GameMaker. The effect is limited to availability. The report does not claim remote code execution, data disclosure or persistence, and nothing in it suggests the overflow is reachable in a way that gives more than a crash. Any networked game exposing a network_create_server socket to untrusted clients inherits the exposure.

How this kind of bug works

Integer overflows arise when arithmetic on a fixed-width integer produces a result outside the representable range. In C and C++, unsigned arithmetic wraps modulo 2^n by definition, and signed overflow is undefined behaviour that compilers may optimise in surprising ways. Network protocols routinely carry length prefixes, counts and offsets, and parsers use them to size buffers, advance pointers or bound loops. If a parser trusts a length field and computes, say, header_len + body_len or count * element_size without a range check, a large or carefully chosen value can wrap to a small number. The allocation succeeds with the small size, and the subsequent copy writes past it, or a loop bound derived from the wrapped value misbehaves and the process faults.

The classic defences are straightforward: validate every length and count against the actual bytes received before doing arithmetic, use checked arithmetic helpers or wider types for size computations, cap allocations to sane maxima, and compile with sanitisers and hardening flags during testing. Bounds-checked containers and safe integer libraries remove whole classes of the problem.

How to test for it

This bug class lives wherever a parser reads a length, count or offset from attacker-controlled input: binary game protocols, custom TCP/UDP formats, file format parsers, and any RPC layer with hand-rolled serialisation.

  1. Identify the entry point. For a server, connect as a normal client and capture the traffic, or read the protocol documentation and source if available.
  2. Map the fields. Note every length prefix, element count, offset and size field, and how the receiver uses each one.
  3. Send boundary values. Try zero, one, the maximum for the field width, maximum minus small offsets, and values just above what the receiver can actually hold. Values near powers of two (0x7FFFFFFF, 0x80000000, 0xFFFFFFFF for 32-bit fields) are the usual suspects.
  4. Combine fields. Where a total size is computed from two or more fields, set one large and one small so the sum or product wraps.
  5. Watch the server. A positive result is a crash, an assertion, a hang or a sanitizer report on the receiving side, reproducible with the same packet. A clean error response or a dropped connection is not a finding.

Common false positives: the server rejects the packet with a validation error (good input handling, not a bug); the crash only happens with a debugger attached or under a sanitiser build; the client itself crashes while encoding the packet; or the server is rate-limited and the apparent crash is a timeout. Always confirm the crash is on the server side and reproducible from a fresh connection.

How it is fixed

The standard fix is to validate length and count fields against the number of bytes actually received before any arithmetic, and to perform size computations with checked arithmetic or a wider integer type so overflow is detected rather than wrapped. Allocations should be capped, and any derived offset or loop bound should be re-checked after computation. Vendors typically also add regression tests with boundary values and run parsers under address and undefined-behaviour sanitisers. In this case the affected IDE releases are those below 2024.14.0.

Hunting notes

Integer overflow bugs cluster in binary protocol parsers, custom network stacks, file importers and anything that hand-rolls serialisation for performance. Recon signals include applications that ship their own protocol instead of HTTP or a standard RPC framework, client binaries with visible packet structures, and changelogs mentioning parser hardening or sanitiser fixes. When you find a candidate, keep the proof minimal: a single packet or short script that reliably crashes a fresh server instance, plus the version tested and the observed crash. Demonstrating that the crash is server-side and reproducible is what turns a suspicious input into an accepted report.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

GameMaker Studio 2 is a tool for making games. Among other things, it lets a game act as a server: a program that other players' computers connect to so everyone can play together. The feature involved here is a function called network_create_server(), which is the instruction a game uses to open that door and start listening for connections.

The report was filed through Bugcrowd under the Opera Public Bug Bounty and is credited to BenjaminUrquhart. It has the identifier CVE-2025-12501, was disclosed on 4 November 2025, is rated medium severity, and paid a 300.00 USD bounty.

The researcher's summary is one sentence: a malicious client could crash a GameMaker server that uses network_create_server by sending a specially crafted packet. The platform summary describes the same issue as an integer overflow in the GameMaker IDE below version 2024.14.0, leading to server crashes through denial-of-service attacks.

A few of those words need unpacking. A packet is a small chunk of data sent over a network, like a sealed envelope with an address and contents. A client is the program that connects to a server, normally the player's copy of the game. A server is the program that accepts those connections and answers them. A denial-of-service attack does not steal anything; it simply stops a service from working, here by making it crash. An integer overflow is what happens when a number gets too big for the space reserved for it and wraps around, the way a car odometer rolls from 999999 back to 000000.

The steps, as far as the report sets them out, are:

  1. A game (or other program) creates a server socket with network_create_server().
  2. A client connects to that server and sends a crafted packet.
  3. The packet triggers an integer overflow, and the server crashes.

That is the whole of the technical detail made public. The report does not include the packet contents, the length or field values that trigger the overflow, the protocol involved, any crash log or stack trace, or a proof-of-concept script. The only concrete artefacts are the function name, network_create_server, and the version boundary: IDE releases below 2024.14.0 are affected.

In general, how this kind of bug works

Integer overflows arise when arithmetic on a fixed-width integer produces a result outside the range that type can hold. In C and C++, unsigned arithmetic wraps modulo 2^n by definition, and signed overflow is undefined behaviour that compilers may optimise in surprising ways. Network protocols routinely carry length prefixes, counts and offsets, and parsers use them to size buffers, advance pointers or bound loops. If a parser trusts a length field and computes something like header_len + body_len or count * element_size without a range check, a large or carefully chosen value can wrap to a small number. The allocation succeeds with the small size, and the subsequent copy writes past it, or a loop bound derived from the wrapped value misbehaves and the process faults.

The classic defences are straightforward: validate every length and count against the actual bytes received before doing arithmetic, use checked arithmetic helpers or wider types for size computations, cap allocations to sane maxima, and compile with sanitisers and hardening flags during testing. Bounds-checked containers and safe integer libraries remove whole classes of the problem.

How to test for it

This bug class lives wherever a parser reads a length, count or offset from attacker-controlled input: binary game protocols, custom TCP/UDP formats, file format parsers, and any RPC layer with hand-rolled serialisation.

  1. Identify the entry point. For a server, connect as a normal client and capture the traffic, or read the protocol documentation and source if available.
  2. Map the fields. Note every length prefix, element count, offset and size field, and how the receiver uses each one.
  3. Send boundary values. Try zero, one, the maximum for the field width, maximum minus small offsets, and values just above what the receiver can actually hold. Values near powers of two (0x7FFFFFFF, 0x80000000, 0xFFFFFFFF for 32-bit fields) are the usual suspects.
  4. Combine fields. Where a total size is computed from two or more fields, set one large and one small so the sum or product wraps.
  5. Watch the server. A positive result is a crash, an assertion, a hang or a sanitiser report on the receiving side, reproducible with the same packet. A clean error response or a dropped connection is not a finding.

Common false positives: the server rejects the packet with a validation error (good input handling, not a bug); the crash only happens with a debugger attached or under a sanitiser build; the client itself crashes while encoding the packet; or the server is rate-limited and the apparent crash is a timeout. Always confirm the crash is on the server side and reproducible from a fresh connection.

How it is fixed

The standard fix is to validate length and count fields against the number of bytes actually received before any arithmetic, and to perform size computations with checked arithmetic or a wider integer type so overflow is detected rather than wrapped. Allocations should be capped, and any derived offset or loop bound should be re-checked after computation. Vendors typically also add regression tests with boundary values and run parsers under address and undefined-behaviour sanitisers. In this case the affected IDE releases are those below 2024.14.0.

Hunting notes

Integer overflow bugs cluster in binary protocol parsers, custom network stacks, file importers and anything that hand-rolls serialisation for performance. Recon signals include applications that ship their own protocol instead of HTTP or a standard RPC framework, client binaries with visible packet structures, and changelogs mentioning parser hardening or sanitiser fixes. When you find a candidate, keep the proof minimal: a single packet or short script that reliably crashes a fresh server instance, plus the version tested and the observed crash. Demonstrating that the crash is server-side and reproducible is what turns a suspicious input into an accepted report.

Glossary

  • Server: a program that waits for other computers to connect and answers their requests.
  • Client: the program that connects to a server, here the player's copy of the game.
  • Socket: the software endpoint a program uses to send and receive data over a network, comparable to a phone line being open.
  • network_create_server(): the GameMaker function that opens a server socket and starts listening for connections.
  • Packet: a small unit of data sent across a network.
  • Crafted packet: a packet deliberately built with unusual or malicious values rather than by normal game play.
  • Parsing: reading incoming data and breaking it into fields the program can use.
  • Integer overflow: arithmetic producing a number too large for its fixed-width storage, so the value wraps around.
  • Denial of service (DoS): an attack that stops a service working, for example by crashing it.
  • CVE: a public identifier assigned to a known security vulnerability.
  • IDE: integrated development environment, the application used to write and build games; here GameMaker IDE.
  • Severity: a rating of how serious a vulnerability is; this one is medium.
  • Bounty: a payment made to a researcher for a valid vulnerability report.
  • Bugcrowd: the bug bounty platform through which the report was filed.
  • Buffer: a reserved block of memory used to hold data temporarily.
  • Sanitiser: a debugging tool that detects memory and arithmetic errors while a program runs.
  • False positive: a suspected bug that turns out not to be one.

More from Opera Public Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.