Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious RDF document to parser
-
DeliveryLiteral with 256+ byte language tag
-
ExploitLength truncated to unsigned char
-
ExecutionUndersized heap allocation overflowed
-
ImpactApplication crash or possible code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application use Raptor 2.0.15 or 2.0.16 to parse an attacker-supplied RDF document in Turtle, TriG, N-Triples, or N-Quads format, and that the document contain a literal whose language tag is 256 bytes or longer - this oversized tag is the exact trigger. The limiting factor is UI:P: an attacker cannot reach the code path without the victim (or a service on the victim's behalf) actually feeding the malicious document through Raptor's parser, so exposure depends on whether the deployment ingests untrusted RDF. No special non-default configuration is required beyond invoking the affected parsers, which are core library functionality. |
| Impact | This is a genuine but moderate-priority memory-corruption flaw (CWE-122 heap-based buffer overflow). The vendor-supplied CVSS:4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) scores 7.1 and correctly reflects that no authentication is needed but that exploitation hinges on the victim parsing attacker-controlled input (UI:P - passive user interaction). Impact is weighted toward availability (VA:H, i.e. reliable application crash) with only limited integrity impact (VI:L) and no confidentiality impact (VC:N), which is consistent with the description's framing of code execution as 'possibly' rather than demonstrated. Supporting signals are thin: no EPSS score was provided, the CVE is NOT on CISA KEV, and no POC flag is present in the intelligence - so by the precision rules this is 'no public exploit identified at time of analysis.' The one amplifying signal is that it was reported by VulnCheck (a credible exploitation-intelligence vendor) and a vendor patch exists with a source-level fix and regression tests, confirming the root cause. Net: a real, patch-now-if-exposed bug for anything that parses untrusted RDF, but not an emergency - no evidence of active exploitation and the realistic outcome is denial of service rather than confirmed RCE. Conflict to verify: the description says 'possibly execute code' while the vendor scored only VI:L/VC:N, so the code-execution claim is not reflected as high impact in the official vector - treat RCE as unproven. |
| Exploit ScenarioDerived | An application built on Raptor (e.g. an RDF ingestion service, triple-store loader, or semantic-web tool) accepts a Turtle, TriG, N-Triples, or N-Quads document from an untrusted source. An attacker submits a document containing a literal with a language tag of 256 bytes or longer; the length is truncated to an unsigned char in raptor_new_term_from_counted_literal(), causing an undersized heap allocation and overflow that crashes the process and could potentially corrupt adjacent heap structures. No public exploit was identified in the provided data, so weaponization effort is unknown. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
Heap-based buffer overflow in Raptor RDF Syntax Library 2.0.15 and 2.0.16 allows unauthenticated remote attackers to corrupt heap memory, crash applications, and potentially execute code by supplying Turtle, TriG, N-Triples, or N-Quads documents containing a literal language tag of 256 bytes or longer. Exploitation is not automatic: the target application or service must parse the attacker-supplied RDF document, consistent with UI:P/UI:R in the assessed vectors. No public exploit code was identified at time of analysis, and a vendor patch is available via upstream commit 361a803a72817ae771db2438277229e6541e1575; the provided data does not specify an exact fixed release version.
RemediationAI
Apply the upstream fix in commit 361a803a72817ae771db2438277229e6541e1575 or upgrade to a Raptor release that includes it; the provided data does not give an exact fixed release version, so Upstream fix available (PR/commit); released patched version not independently confirmed. Until the library is updated, pre-screen RDF inputs and reject any literal language tag of 256 bytes or longer before it reaches Raptor, particularly for Turtle, TriG, N-Triples, and N-Quads ingestion; this blocks the precise trigger but may reject nonconformant documents that were previously accepted. Restrict or sandbox parsers that process untrusted RDF as a compensating control, accepting possible performance overhead and reduced parser functionality. Consult https://github.com/dajobe/raptor/issues/83, the patch commit, and the VulnCheck advisory for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Raptor (librdf) is a C library that parses RDF serializations including Turtle, TriG, N-Triples, and N-Quads. The issue is CWE-122, a heap-based buffer overflow rooted in raptor_new_term_from_counted_literal(): the language tag length is truncated to an unsigned char, so a tag of 256 bytes or more wraps the stored length and leads to an undersized allocation or inconsistent length during copying of the language tag, allowing writes past the heap buffer. The upstream commit changes the loop to use a size_t index against language_len, only casts language_len to unsigned char after validation, rejects literal language tags longer than 255 bytes, and fixes related string-buffer copy semantics. The CVSS 4.0 vector indicates network reachability, no privileges required, UI:P, low integrity impact, and high availability impact; the independent assessment maps this to CVSS 3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H and emphasizes that exposure depends on whether the deployment feeds untrusted RDF into the affected parsers.
Know when Raptor Rdf Syntax Library gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Attacker supplies a document parsed remotely (AV:N, PR:N) but a victim must process it (UI:R); reliable crash gives A:H, code execution unproven so C:N/I:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Raptor RDF Syntax Library versions 2.0.15 and 2.0.16 contain a heap-based buffer overflow that can be triggered when the library parses RDF documents containing unusually long language tags, potentially crashing or compromising applications that ingest untrusted semantic data. Organizations running services or data pipelines that parse external Turtle, TriG, N-Triples, or N-Quads content are most exposed, and leadership should prioritize remediation because successful exploitation could disrupt availability or enable code execution within trusted infrastructure. No public exploit code was identified at time of analysis, but the severity and potential for code execution warrant prompt action.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
More in Raptor Rdf Syntax Library
View allIn Raptor RDF Syntax Library through 2.0.16, there is an integer underflow when normalizing a URI with the turtle parser
In Raptor RDF Syntax Library through 2.0.16, there is a heap-based buffer over-read when parsing triples with the nquads
EUVD-2025-211138
GHSA-m7mm-cj97-2wxq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB