CVE-2024-57822
In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing...
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().
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
4.0
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().
- Record
CVE-2024-57822- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2024-53766
4.0
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().
- Record
EUVD-2024-53766- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-4g53-844p-p879
4.0
In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing...
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().
- Record
GHSA-4g53-844p-p879- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
4.0
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().
- Record
CVE-2024-57822- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVBELL-CVE-2024-57822
5.5
- Record
BELL-CVE-2024-57822- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
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().
- Record
CVE-2024-57822- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSVDEBIAN-CVE-2024-57822
5.5
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().
- Record
DEBIAN-CVE-2024-57822- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2025-1887
4.0
raptor2 security update
Raptor is Redland's RDF parser toolkit, which provides a set of independent RDF parsers to generate triples from RDF / XML or N-Triples.
Security Fix(es):
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().(CVE-2024-57822)
- Record
OESA-2025-1887- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-57822
4.0
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().
- Record
UBUNTU-CVE-2024-57822- CVSS 3.1
- 4.0 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVAZL-55475 No score
CVE-2024-57822 affecting package raptor2 2.0.15-28
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().
- Record
AZL-55475- Updated
- 2026-11-02
OSVAZL-55478 No score
CVE-2024-57822 affecting package raptor2 2.0.15-29
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().
- Record
AZL-55478- Updated
- 2026-11-05
OSVopenSUSE-SU-2025:15334-1 No score
libraptor-devel-2.0.16-5.1 on GA media
These are all security issues fixed in the libraptor-devel-2.0.16-5.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15334-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:03244-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- CVE-2024-57823: Fixed integer underflow when normalizing a URI with the turtle parser (bsc#1235673)
- CVE-2024-57822: Fixed heap buffer overread when parsing triples with the nquads parser (bsc#1235674)
- Record
SUSE-SU-2025:03244-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:03257-1 No score
Security update for raptor
This update for raptor fixes the following issues:
- CVE-2024-57823: Fixed integer underflow when normalizing a URI with the turtle parser (bsc#1235673).
- CVE-2024-57822: Fixed heap buffer overread when parsing triples with the nquads parser (bsc#1235674).
- Record
SUSE-SU-2025:03257-1- Updated
- 2026-11-02
OSVUSN-7316-1 No score
raptor2 vulnerabilities
It was discovered that Raptor incorrectly handled memory operations when processing certain input files. A remote attacker could possibly use this issue to cause Raptor to crash, resulting in a denial of service. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2020-25713)
It was discovered that Raptor incorrectly handled parsing certain tuples. A remote attacker could possibly use this issue to cause Raptor to crash, resulting in a denial of service. (CVE-2024-57822)
It was discovered that Raptor incorrectly handled parsing certain turtles. A remote attacker could use this issue to cause Raptor to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2024-57823)
- Record
USN-7316-1- Updated
- 2026-11-02
OSVUSN-7869-1 No score
raptor2 vulnerabilities
Hanno Böck discovered that Raptor incorrectly handled memory operations when processing certain input files. An attacker could possibly use this issue to cause Raptor to crash, resulting in a denial of service. (CVE-2020-25713)
Pedro Ribeiro discovered that Raptor incorrectly handled parsing certain tuples. An attacker could possibly use this issue to cause Raptor to crash, resulting in a denial of service. (CVE-2024-57822)
Pedro Ribeiro discovered that Raptor incorrectly handled parsing certain turtles. An attacker could use this issue to cause Raptor to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2024-57823)
- Record
USN-7869-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
raptor2Azure Linux:2 |
through 2.0.15-28 | None known |
raptor2Azure Linux:3 |
through 2.0.15-29 | None known |
raptor2Alpaquita:23 |
2.0.16-r1 and later | None known |
raptor2Alpaquita:stream |
2.0.16-r1 and later | None known |
raptor2Debian:12 |
before 2.0.15-4+deb12u1, plus listed versions 2.0.15-4 |
2.0.15-4+deb12u1 |
raptor2Debian:13 |
before 2.0.16-6 | 2.0.16-6 |
raptor2Debian:14 |
before 2.0.16-6 | 2.0.16-6 |
raptor2Debian:11 From an advisory covering 2 CVEs |
before 2.0.14-1.2+deb11u1, plus listed versions 2.0.14-1.2 |
2.0.14-1.2+deb11u1 |
raptor2openEuler:24.03-LTS-SP1 |
before 2.0.15-21.oe2403sp1 | 2.0.15-21.oe2403sp1 |
raptor2openEuler:24.03-LTS-SP2 |
before 2.0.15-21.oe2403sp2 | 2.0.15-21.oe2403sp2 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
raptor2openEuler:20.03-LTS-SP4 |
before 2.0.15-21.oe2003sp4 | 2.0.15-21.oe2003sp4 |
raptor2openEuler:22.03-LTS-SP3 |
before 2.0.15-21.oe2203sp3 | 2.0.15-21.oe2203sp3 |
raptor2openEuler:22.03-LTS-SP4 |
before 2.0.15-21.oe2203sp4 | 2.0.15-21.oe2203sp4 |
raptor2openEuler:24.03-LTS |
before 2.0.15-21.oe2403 | 2.0.15-21.oe2403 |
raptorSUSE:Linux Enterprise Module for Desktop Applications 15 SP6 From an advisory covering 2 CVEs |
before 2.0.15-150200.9.18.1 | 2.0.15-150200.9.18.1 |
raptorSUSE:Linux Enterprise Module for Desktop Applications 15 SP7 From an advisory covering 2 CVEs |
before 2.0.15-150200.9.18.1 | 2.0.15-150200.9.18.1 |
raptoropenSUSE:Leap 15.6 From an advisory covering 2 CVEs |
before 2.0.15-150200.9.18.1 | 2.0.15-150200.9.18.1 |
raptorSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 From an advisory covering 2 CVEs |
before 2.0.15-5.9.1 | 2.0.15-5.9.1 |
raptor2Ubuntu:Pro:16.04:LTS |
before 2.0.14-1ubuntu0.16.04.1+esm1, plus listed versions 2.0.14-12.0.14-1ubuntu0.16.04.1 |
2.0.14-1ubuntu0.16.04.1+esm1 |
raptor2Ubuntu:Pro:18.04:LTS |
before 2.0.14-1ubuntu0.18.04.1+esm1, plus listed versions 2.0.14-1build12.0.14-1ubuntu0.18.04.1 |
2.0.14-1ubuntu0.18.04.1+esm1 |
raptor2Ubuntu:20.04:LTS |
before 2.0.15-0ubuntu1.20.04.2, plus listed versions 2.0.15-0ubuntu12.0.15-0ubuntu1.20.04.1 |
2.0.15-0ubuntu1.20.04.2 |
raptor2Ubuntu:22.04:LTS |
before 2.0.15-0ubuntu4.1, plus listed versions 2.0.15-0ubuntu22.0.15-0ubuntu32.0.15-0ubuntu4 |
2.0.15-0ubuntu4.1 |
raptor2Ubuntu:24.04:LTS |
before 2.0.16-3ubuntu0.1, plus listed versions 2.0.16-32.0.16-3build12.0.16-3build22.0.16-3build3 |
2.0.16-3ubuntu0.1 |
raptor2Ubuntu:25.10 |
before 2.0.16-4ubuntu1 | 2.0.16-4ubuntu1 |
raptor2Ubuntu:20.04:LTS From an advisory covering 3 CVEs |
before 2.0.15-0ubuntu1.20.04.2, plus listed versions 2.0.15-0ubuntu12.0.15-0ubuntu1.20.04.1 |
2.0.15-0ubuntu1.20.04.2 |
raptor2Ubuntu:22.04:LTS From an advisory covering 3 CVEs |
before 2.0.15-0ubuntu4.1, plus listed versions 2.0.15-0ubuntu22.0.15-0ubuntu32.0.15-0ubuntu4 |
2.0.15-0ubuntu4.1 |
raptor2Ubuntu:24.04:LTS From an advisory covering 3 CVEs |
before 2.0.16-3ubuntu0.1, plus listed versions 2.0.16-32.0.16-3build12.0.16-3build22.0.16-3build3 |
2.0.16-3ubuntu0.1 |
raptor2Ubuntu:Pro:16.04:LTS From an advisory covering 3 CVEs |
before 2.0.14-1ubuntu0.16.04.1+esm1, plus listed versions 2.0.14-12.0.14-1ubuntu0.16.04.1 |
2.0.14-1ubuntu0.16.04.1+esm1 |
raptor2Ubuntu:Pro:18.04:LTS From an advisory covering 3 CVEs |
before 2.0.14-1ubuntu0.18.04.1+esm1, plus listed versions 2.0.14-1build12.0.14-1ubuntu0.18.04.1 |
2.0.14-1ubuntu0.18.04.1+esm1 |
raptoropenSUSE:Tumbleweed |
before 2.0.16-5.1 | 2.0.16-5.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-57822 is a medium vulnerability (CVSS 4.0) in Librdf Raptor Rdf Syntax Library, published January 10, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.29%, the 21st percentile. Fixed in raptor2 2.0.15-4+deb12u1.
References
github.com/pedrib/PoC/blob/master/fuzzing/raptor-fuzz.md
bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067896
github.com/dajobe/raptor/issues/70
lists.debian.org/debian-lts-announce/2025/10/msg00023.html
nvd.nist.gov/vuln/detail/CVE-2024-57822
github.com/advisories/GHSA-4g53-844p-p879
Show 15 moreShow less
docs.bell-sw.com/security/cves/CVE-2024-57822
security-tracker.debian.org/tracker/CVE-2024-57822
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1887
suse.com/support/update/announcement/2025/suse-su-202503244-1
bugzilla.suse.com/1235673
bugzilla.suse.com/1235674
suse.com/security/cve/CVE-2024-57822
suse.com/security/cve/CVE-2024-57823
suse.com/support/update/announcement/2025/suse-su-202503257-1
ubuntu.com/security/CVE-2024-57822
cve.org/CVERecord?id=CVE-2024-57822
ubuntu.com/security/notices/USN-7316-1
ubuntu.com/security/notices/USN-7869-1
ubuntu.com/security/CVE-2020-25713
ubuntu.com/security/CVE-2024-57823