CVE-2025-71436
7.1HighPublished 20 Oct 2026 · NVD status: Received · AI triage by gemini-3.8-flash
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Impact
- High impact on availability
- Weakness
- CWE-122
Impact
Remote attackers can crash services or potentially execute arbitrary code by tricking an application or user into parsing a malicious RDF document. The attacker needs to supply a specially crafted Turtle, TriG, N-Triples, or N-Quads file with an oversized language tag.
Root cause
The raptor_new_term_from_counted_literal() function truncates language tag lengths to an unsigned char, leading to an undersized allocation and a heap-based buffer overflow when parsing tags 256 bytes or longer.
Affected systems
Raptor RDF Syntax Library (raptor2) 2.0.15 through 2.0.16
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Fix & remediation
Apply upstream commit 361a803a72817ae771db2438277229e6541e1575 or update to a patched release once packaged by your distribution. If patching must wait, block or reject RDF documents containing language tags of 256 bytes or longer at the ingestion layer.
$ dpkg -l | grep raptor || rpm -qa | grep raptorAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
- https://github.com/dajobe/raptor/blob/raptor2_2_0_16/src/raptor_term.c#L200-L218
- https://github.com/dajobe/raptor/blob/raptor2_2_0_16/src/raptor_term.c#L270-L287
- https://github.com/dajobe/raptor/commit/361a803a72817ae771db2438277229e6541e1575
- https://github.com/dajobe/raptor/issues/83
- https://www.vulncheck.com/advisories/raptor-rdf-syntax-library-2.0.15-through-2.0.16-heap-buffer-overflow-via-language-tag
- https://github.com/dajobe/raptor/issues/83