CVE-2024-57822 Memory corruption in Raptor RDF Syntax Library

Medium 4.0 Published Updated

A heap-based buffer over-read in the Raptor RDF library allows attackers to cause denial of service or disclose sensitive memory contents via crafted nquads input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-57822?

CVE-2024-57822 is a medium-severity memory corruption vulnerability in librdf Raptor RDF Syntax Library, published on 10 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing triples with the nquads parser in raptor_ntriples_parse_term_internal().

Weakness: CWE-125

Which versions are affected by CVE-2024-57822?

It affects 1 product.

Linux distribution packages (1)
raptor openSUSE:TumbleweedAll versions2.0.16-5.1

Products include Librdf Raptor Rdf Syntax Library.

How do I fix CVE-2024-57822?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-57822 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57822 exists.

Sources

Also known as AZL-55475, AZL-55478, BELL-CVE-2024-57822, DEBIAN-CVE-2024-57822, GHSA-4g53-844p-p879, OESA-2025-1887 and 2 more.

Is CVE-2024-57822 in your software?

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

Check your SBOMs for free