fix(gta-core-five): gfx set to image exploit
Goal of this PR
Fix a crash exploit. Somehow they made ImageInfo nullptr.
Also I'll try to check tomorrow how they could be doing this, because it may crash in other place.
How is this PR achieving the goal
Validating Image and ImageInfo.
This PR applies to the following area(s)
FiveM
Successfully tested on
Game builds: 3258 Platforms: Windows
Checklist
- [x] Code compiles and has been tested successfully.
- [x] Code explains itself well and/or is documented.
- [x] My commit message explains what the changes do and what they are for.
- [x] No extra compilation warnings are added by these changes.
Fixes issues
fixes #3952
Is there any code we can deploy to fix it right now ?
I think you could blacklist all train models, not sure if that works though
@prikolium-cfx @radium-cfx Is there any estimate for when these fixes will be available on all FiveM versions? Currently, many cheaters are causing server crashes and abusing these exploits.
I would also like to ask you to take a look at this fix that @divocbn sent regarding Passive Mode abuse:
[GTA:O] [CFX] Passive Mode + Fix https://www.youtube.com/watch?v=IXXxhkDEt6A
Many cheaters are using this function to become immortal and ruin the gameplay experience on servers.
And also this other fix:
[GTA:O] [CFX] Susano's New Vehicle Hijack Fix https://www.youtube.com/watch?v=AVMPGVLQx5s
This exploit is being heavily abused to remove players from their own vehicles and create loops in certain areas, disrupting multiple players at the same time and causing server instability.
They will probably never fix it becose in some servers crash work on some dont
On Wed, May 27, 2026, 10:46 AM Pedro Lucas @.***> wrote:
Pedro-Lucas14 left a comment (citizenfx/fivem#3953) https://github.com/citizenfx/fivem/pull/3953#issuecomment-4552939438
@prikolium-cfx https://github.com/prikolium-cfx @radium-cfx https://github.com/radium-cfx Is there any estimate for when these fixes will be available on all FiveM versions? Currently, many cheaters are causing server crashes and abusing these exploits.
I would also like to ask you to take a look at this fix that @divocbn https://github.com/divocbn sent regarding Passive Mode abuse:
[GTA:O] [CFX] Passive Mode + Fix https://www.youtube.com/watch?v=IXXxhkDEt6A
Many cheaters are using this function to become immortal and ruin the gameplay experience on servers.
And also this other fix:
[GTA:O] [CFX] Susano's New Vehicle Hijack Fix https://www.youtube.com/watch?v=AVMPGVLQx5s
This exploit is being heavily abused to remove players from their own vehicles and create loops in certain areas, disrupting multiple players at the same time and causing server instability.
— Reply to this email directly, view it on GitHub https://github.com/citizenfx/fivem/pull/3953?email_source=notifications&email_token=AUXACYKBAS4OFD2BXHLZXWT442TNBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINJVGI4TGOJUGM4KM4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4552939438, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXACYOLGPQI3QCTAAAV3ID442TNBAVCNFSM6AAAAACYJ7TNOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DKNJSHEZTSNBTHA . You are receiving this because you commented.Message ID: @.***>
@prikolium-cfx @radium-cfx Do you have any timeline or ETA for these protections to be rolled out across all FiveM builds? At the moment, several exploit methods are being widely abused by cheaters to crash servers and negatively impact gameplay stability.
I’d also like to bring attention to this Passive Mode related fix shared by @divocbn:
[GTA:O] [CFX] Passive Mode + Fix https://www.youtube.com/watch?v=IXXxhkDEt6A
This exploit is currently being used by cheaters to gain invincibility and abuse gameplay mechanics on multiple servers.
Additionally, please take a look at this vehicle hijack fix:
[GTA:O] [CFX] Susano's New Vehicle Hijack Fix https://www.youtube.com/watch?v=AVMPGVLQx5s
This exploit is being heavily exploited to force players out of their own vehicles and create looping abuse in populated areas, affecting multiple users simultaneously and in some cases leading to server performance issues or instability.
@prikolium-cfx @radium-cfx Do you have any timeline or ETA for these protections to be rolled out across all FiveM builds? At the moment, several exploit methods are being widely abused by cheaters to crash servers and negatively impact gameplay stability.
I’d also like to bring attention to this Passive Mode related fix shared by @divocbn:
[GTA:O] [CFX] Passive Mode + Fix https://www.youtube.com/watch?v=IXXxhkDEt6A
This exploit is currently being used by cheaters to gain invincibility and abuse gameplay mechanics on multiple servers.
Additionally, please take a look at this vehicle hijack fix:
[GTA:O] [CFX] Susano's New Vehicle Hijack Fix https://www.youtube.com/watch?v=AVMPGVLQx5s
This exploit is being heavily exploited to force players out of their own vehicles and create looping abuse in populated areas, affecting multiple users simultaneously and in some cases leading to server performance issues or instability.
Issue solved problem was in code from command /me or /do , just remove those commands and Cold Menu will not be able to crash.
@prikolium-cfx @radium-cfx @nihonium-cfx @dalekenium-cfx @FabianTerhorst
Is there any estimate for when these fixes will be available across all FiveM versions? Currently, many cheaters are abusing these exploits to crash servers.
The most important and urgent protections right now are the ones shared by @divocbn. At the moment, we do not have any other way to properly fix these exploits that cheaters are using to harm players and cause server instability.
Please give special attention to these fixes. They are already prepared and only need review and official implementation.
The Passive Mode fix shared by @divocbn:
[GTA] [CFX] Passive Mode + Fix https://www.youtube.com/watch?v=IXXxhkDEt6A
This exploit is being heavily abused by cheaters to become practically immortal, completely ruining the gameplay experience for legitimate players.
And also the New Vehicle Hijack fix shared by @divocbn:
[GTA] [CFX] Susano's New Vehicle Hijack Fix https://www.youtube.com/watch?v=AVMPGVLQx5s
This exploit is being widely abused to remove players from their own vehicles, create loops in certain areas, and disrupt multiple players at the same time.
Additionally, it is currently not possible to identify which cheater is triggering this action, making it even harder for server owners to punish or mitigate the abuse.
Please give special attention to this fix, because at the moment there is no other effective alternative to stop this exploit.
Idk why you keep mentioning the vehicle hijack cheat on an unrelated issue, but a fix for that one is already implemented. Add this to your server.cfg
setr game_enableVehicleHijackFix true -- prevents vehicle hijack cheats **but also prevents pressing F on the driver door to steal a car**
Regarding this pull request, it's currently in draft because it doesn't fix the crashing issue yet, and I haven't had time to finish it. If someone is willing to complete it, that would be perfect.
Idk why you keep mentioning the vehicle hijack cheat on an unrelated issue, but a fix for that one is already implemented. Add this to your server.cfg
setr game_enableVehicleHijackFix true -- prevents vehicle hijack cheats **but also prevents pressing F on the driver door to steal a car**
The first version of this fix had already been implemented previously, but cheaters quickly created a bypass for it. Because of that, @divocbn developed this second version to fix the new bypass methods currently being used.
This updated fix has already been available for around a month, and this is exactly the version we are requesting to be implemented now, since the previous protection is no longer effective.
Also note that the crash this PR tried to address requires the server to have an exploitable command or event that allows you to inject Scaleform tags on the remote client.
An example of this is QBCore's /me command. I highly recommend disabling it if you are using QBCore or Qbox
https://github.com/qbcore-framework/qb-core/blob/7c91136784cdb4167cdd1760df8b60dc245711bc/server/commands.lua#L310
https://github.com/Qbox-project/qbx_core/blob/b6a7921a39e942223b778afc0f740eb4c64c56f8/client/events.lua#L172
@Gogsi Disabling this /me still wasnt able to patch it. I have a memory crash dump if that helps.
Its becose there is a new crash by susano cheat
On Sat, Jun 6, 2026, 5:40 PM Snipe @.***> wrote:
pushkart2 left a comment (citizenfx/fivem#3953) https://github.com/citizenfx/fivem/pull/3953#issuecomment-4639482865
@Gogsi https://github.com/Gogsi Disabling this /me still wasnt able to patch it. I have a memory crash dump if that helps.
— Reply to this email directly, view it on GitHub https://github.com/citizenfx/fivem/pull/3953?email_source=notifications&email_token=AUXACYKHGF5TPD2OLYITOX346Q3PZA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRTHE2DQMRYGY22M4TFMFZW63VHMNXW23LFNZ2KKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4639482865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUXACYPRXW75D36BAYMNAFT46Q3PZAVCNFSM6AAAAACYJ7TNOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMZZGQ4DEOBWGU . You are receiving this because you commented.Message ID: @.***>