Vulnerability · Published Oct 20, 2026 · Assigned by VulnCheck
CVE-2025-71436Raptor RDF Syntax Library 2.0.15 through 2.0.16 Heap Buffer Overflow via Language Tag
High 7.1
In plain English
A high-severity heap buffer overflow in Raptor RDF Syntax Library from librdf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | raptor2 | 2.0.15-18.el8_10 | ALSA-2026:94519 |
| AlmaLinux:8 | raptor2-devel | 2.0.15-18.el8_10 | ALSA-2026:94519 |
| Debian:12 | raptor2 | no fix listed | DEBIAN-CVE-2025-71436 |
| Debian:13 | raptor2 | no fix listed | DEBIAN-CVE-2025-71436 |
| Debian:14 | raptor2 | no fix listed | DEBIAN-CVE-2025-71436 |
| Rocky Linux:8 | raptor2 | 0:2.0.15-18.el8_10 | RLSA-2026:94519 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| librdf | Raptor RDF Syntax Library | 2.0.15 – through 2.0.16 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
References
- https://github.com/dajobe/raptor/issues/83 issue-tracking
- https://github.com/dajobe/raptor/commit/361a803a72817ae771db2438277229e6541e1575 patch
- https://github.com/dajobe/raptor/blob/raptor2_2_0_16/src/raptor_term.c#L200-L218 technical-description
- https://github.com/dajobe/raptor/blob/raptor2_2_0_16/src/raptor_term.c#L270-L287 technical-description
- VulnCheck Advisory: Raptor RDF Syntax Library 2.0.15 through 2.0.16 Heap Buffer Overflow via Language Tag third-party-advisory