Skip to main content

Raptor RDF EUVDEUVD-2025-211138

| CVE-2025-71436 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-10-20 VulnCheck GHSA-m7mm-cj97-2wxq
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit malicious RDF document to parser
  2. Delivery
    Literal with 256+ byte language tag
  3. Exploit
    Length truncated to unsigned char
  4. Execution
    Undersized heap allocation overflowed
  5. Impact
    Application 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Raptor RDF Syntax Library 2.0.15 ≤2.0.16

Affected Packages

euvd raptor_rdf_syntax_library no fix

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 7.1 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche RDF parsing library (librdf/Redland stack), limited production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy