cve.bz

CVE-2024-57823 librdf raptor rdf syntax library: Integer Underflow (Wrap or Wraparound)

5.5 mediumExploit referenceEPSS 0.3%

Medium (5.5) in librdf raptor rdf syntax library. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
In Raptor RDF Syntax Library through 2.0.16, there is an integer underflow when normalizing a URI with the turtle parser in raptor_uri_normalize_path().

Severity

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
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-01-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-57823 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-57823?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-57823?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-57823 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
librdf Raptor RDF Syntax Librarythrough 2.0.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11raptor22.0.14-1.2+deb11u1DLA-4343-1
Debian12raptor22.0.15-4+deb12u1DEBIAN-CVE-2024-57823
Debian13, 14raptor22.0.16-6DEBIAN-CVE-2024-57823
Ubuntu20.04:LTSraptor22.0.15-0ubuntu1.20.04.2UBUNTU-CVE-2024-57823 USN-7316-1
Ubuntu22.04:LTSraptor22.0.15-0ubuntu4.1UBUNTU-CVE-2024-57823 USN-7316-1
Ubuntu24.04:LTSraptor22.0.16-3ubuntu0.1UBUNTU-CVE-2024-57823 USN-7316-1
Ubuntu25.10raptor22.0.16-4ubuntu1UBUNTU-CVE-2024-57823
UbuntuPro:16.04:LTSraptor22.0.14-1ubuntu0.16.04.1+esm1UBUNTU-CVE-2024-57823 USN-7869-1
UbuntuPro:18.04:LTSraptor22.0.14-1ubuntu0.18.04.1+esm1UBUNTU-CVE-2024-57823 USN-7869-1
Red Hatenterprise_linux:8::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_10RHSA-2025:0314
Red Hatenterprise_linux:8::crbraptor2-devel, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_10RHSA-2025:0314
Red Hatenterprise_linux:9::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-32.el9_5RHSA-2025:0312
Red Hatenterprise_linux:9::crbraptor2-devel, raptor2-debuginfo, raptor2-debugsource0:2.0.15-32.el9_5RHSA-2025:0312
Red Hatrhel_aus:8.2::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_2RHSA-2025:0315
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_4RHSA-2025:0313
Red Hatrhel_aus:8.6::appstream, rhel_e4s:8.6::appstream, rhel_tus:8.6::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_6RHSA-2025:0326
Red Hatrhel_e4s:9.0::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-31.el9_0RHSA-2025:0311
Red Hatrhel_els:7raptor2, raptor2-devel, raptor2-debuginfo0:2.0.9-5.el7_9RHSA-2025:0319
Red Hatrhel_eus:8.8::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_8RHSA-2025:0318
Red Hatrhel_eus:8.8::crbraptor2-devel, raptor2-debuginfo, raptor2-debugsource0:2.0.15-17.el8_8RHSA-2025:0318
Red Hatrhel_eus:9.2::appstreamraptor2, raptor2-debuginfo, raptor2-debugsource0:2.0.15-31.el9_2RHSA-2025:0310
3 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Desktop Applications 15 SP6, Linux Enterprise Module for Desktop Applications 15 SP7raptor2.0.15-150200.9.18.1SUSE-SU-2025:03244-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5raptor2.0.15-5.9.1SUSE-SU-2025:03257-1
openSUSELeap 15.6raptor2.0.15-150200.9.18.1SUSE-SU-2025:03244-1
openSUSETumbleweedraptor2.0.16-4.1openSUSE-SU-2025:14646-1
AlmaLinux8raptor2, raptor2-devel2.0.15-17.el8_10ALSA-2025:0314
AlmaLinux9raptor2, raptor2-devel2.0.15-32.el9_5ALSA-2025:0312
Rocky Linux8raptor20:2.0.15-17.el8_10RLSA-2025:0314
Rocky Linux9raptor20:2.0.15-32.el9_5RLSA-2025:0312
Azure Linux2raptor2no fix listedAZL-55472
Azure Linux3raptor2no fix listedAZL-55481
Alpaquita23, streamraptor2no fix listedBELL-CVE-2024-57823

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in the Raptor RDF syntax library (librdf) ios marked as

important severity rather than moderate due to the potential for memory corruption resulting from the integer underflow condition. Memory corruption can lead to application crashes, creating a reliable vector for denial-of-service (DoS) attacks, and, in certain cases, could be exploited to achieve arbitrary code execution, depending on how memory is manipulated. Given that the Turtle parser is commonly used for processing external RDF data, the vulnerability increases the attack surface for applications that handle untrusted or user-supplied input.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extended Lifecycle Supportraptor2-0:2.0.9-5.el7_9Fixed 2025-01-14RHSA-2025:0319
Red Hat Enterprise Linux 8raptor2-0:2.0.15-17.el8_10Fixed 2025-01-14RHSA-2025:0314
Red Hat Enterprise Linux 8.2 Advanced Update Supportraptor2-0:2.0.15-17.el8_2Fixed 2025-01-14RHSA-2025:0315
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportraptor2-0:2.0.15-17.el8_4Fixed 2025-01-14RHSA-2025:0313
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceraptor2-0:2.0.15-17.el8_4Fixed 2025-01-14RHSA-2025:0313
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsraptor2-0:2.0.15-17.el8_4Fixed 2025-01-14RHSA-2025:0313
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportraptor2-0:2.0.15-17.el8_6Fixed 2025-01-15RHSA-2025:0326
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceraptor2-0:2.0.15-17.el8_6Fixed 2025-01-15RHSA-2025:0326
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsraptor2-0:2.0.15-17.el8_6Fixed 2025-01-15RHSA-2025:0326
Red Hat Enterprise Linux 8.8 Extended Update Supportraptor2-0:2.0.15-17.el8_8Fixed 2025-01-14RHSA-2025:0318
Red Hat Enterprise Linux 9raptor2-0:2.0.15-32.el9_5Fixed 2025-01-14RHSA-2025:0312
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsraptor2-0:2.0.15-31.el9_0Fixed 2025-01-14RHSA-2025:0311
Red Hat Enterprise Linux 9.2 Extended Update Supportraptor2-0:2.0.15-31.el9_2Fixed 2025-01-14RHSA-2025:0310
Red Hat Enterprise Linux 9.4 Extended Update Supportraptor2-0:2.0.15-31.el9_4Fixed 2025-01-14RHSA-2025:0316
Red Hat Enterprise Linux 6raptorOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-57823.

References

Check your stackJSON