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.
Metrics
CVSS 3.1 7.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| librdf | Raptor RDF Syntax Library | >= 2.0.15, <= 2.0.16 |
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
Timeline
- Published
- Oct 20, 2026
- Last modified
- Oct 28, 2026
- NVD status
- Awaiting Analysis