CVE-2024-2410 Use after free in C++ protobuf

High 7.6 Published Updated

A use-after-free vulnerability in the C++ protobuf JSON parser allows attackers to cause crashes or potentially execute code via crafted input.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-2410?

CVE-2024-2410 is a high-severity use after free vulnerability in protocolbuffers protobuf, published on 3 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream. If the input is broken up into separate chunks in a certain way, the parser will attempt to read bytes from a chunk that has already been freed.

Weakness: CWE-416

Which versions are affected by CVE-2024-2410?

It affects 1 product.

Linux distribution packages (1)
protobuf SUSE:Linux Micro 6.0All versions23.4-9.1

Products include Google Protobuf.

How do I fix CVE-2024-2410?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-2410 being exploited?

There is no known exploitation of CVE-2024-2410 in the wild and no public exploit code.

Sources

Also known as AZL-51077, AZL-51319, BELL-CVE-2024-2410, GHSA-h86c-v8g6-46f2, SUSE-SU-2025:20155-1.

Is CVE-2024-2410 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free