Description
Raptor RDF Syntax Library from 2.0.15 through 2.0.16 contains a heap-based buffer overflow vulnerability in raptor_new_term_from_counted_literal() caused by truncating language tag length to an unsigned char. Attackers can supply Turtle, TriG, N-Triples or N-Quads documents with language tags of 256 bytes or longer to corrupt heap memory, crash applications, and possibly execute code.
Published: 2026-10-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution (possible)
Action: Immediate Patch
AI Analysis

Impact

A heap-based buffer overflow occurs in raptor_new_term_from_counted_literal() of the Raptor RDF Syntax Library between versions 2.0.15 and 2.0.16 when the language tag length is truncated to an unsigned char. If a malicious user supplies Turtle, TriG, N-Triples, or N-Quads documents containing a language tag of 256 bytes or more, the library writes beyond the allocated buffer, corrupting heap memory. This corruption can lead to application crashes and, in some circumstances, execution of arbitrary code.

Affected Systems

The vulnerability affects all installations of the Raptor RDF Syntax Library that use the 2.0.15 or 2.0.16 releases. Any application that uses these library versions to parse RDF content – such as web services, data ingestion pipelines, or semantic analytics tools – is at risk when processing language tags longer than 255 characters.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, and the EPSS score of less than 1% suggests exploitation probability is currently low. The vulnerability is not listed in CISA’s KEV catalog, implying no widespread exploitation is known. However, an attacker who can supply crafted RDF documents to the library, either remotely or locally, could trigger the overflow, causing crashes or potentially gaining code execution depending on the environment and exploit chain.

Generated by OpenCVE AI on October 22, 2026 at 20:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Raptor RDF Syntax Library to a patched release such as 2.0.17 or later.
  • If an upgrade cannot be performed immediately, configure the library or the surrounding application to disallow language tags longer than 255 bytes, or strip language tags before passing the data to the library.
  • Implement strict input validation to reject any RDF files containing language tags of 256 bytes or greater before they reach the parser.

Generated by OpenCVE AI on October 22, 2026 at 20:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Important


Tue, 20 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description Raptor RDF Syntax Library from 2.0.15 through 2.0.16 contains a heap-based buffer overflow vulnerability in raptor_new_term_from_counted_literal() caused by truncating language tag length to an unsigned char. Attackers can supply Turtle, TriG, N-Triples or N-Quads documents with language tags of 256 bytes or longer to corrupt heap memory, crash applications, and possibly execute code.
Title Raptor RDF Syntax Library 2.0.15 through 2.0.16 Heap Buffer Overflow via Language Tag
First Time appeared Librdf
Librdf raptor Rdf Syntax Library
Weaknesses CWE-122
CPEs cpe:2.3:a:librdf:raptor_rdf_syntax_library:*:*:*:*:*:*:*:*
Vendors & Products Librdf
Librdf raptor Rdf Syntax Library
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Librdf Raptor Rdf Syntax Library
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-20T16:41:49.461Z

Reserved: 2026-10-20T14:50:46.229Z

Link: CVE-2025-71436

cve-icon Vulnrichment

Updated: 2026-10-20T16:41:22.717Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T16:16:59.067

Modified: 2026-10-20T20:06:37.150

Link: CVE-2025-71436

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-20T15:40:22Z

Links: CVE-2025-71436 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:30:12Z

Weaknesses