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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| librdf | Raptor RDF Syntax Library | 2.0.15 – ≤ 2.0.16 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | raptor2 | No fix yet | — |
| Debian 13 | raptor2 | No fix yet | — |
| Debian 12 | raptor2 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | raptor2 | No fix yet | — |
| Ubuntu 26.04 LTS | raptor2 | No fix yet | — |
| Ubuntu 24.04 LTS | raptor2 | No fix yet | — |
| Ubuntu 22.04 LTS | raptor2 | No fix yet | — |
| Ubuntu 20.04 LTS | raptor2 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | raptor2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | raptor2 | No fix yet | — |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | raptor2 +1 | 2.0.15-18.el8_10 | ALSA-2026:94519 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | raptor2 +1 | 2.0.15-32.el9_9.1 | RLSA-2026:98509 |
| Rocky Linux 8 | raptor2 | 2.0.15-18.el8_10 | RLSA-2026:94519 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | raptor2 | No fix yet | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | raptor2 +1 | 2.0.15-18.el8_10 | ELSA-2026-94519 |
Advisories 5
- RLSA-2026:98509 Important: raptor2 security update Rocky Linux Security Advisories · Nov 13, 2026
- WID-SEC-2026-4305 Red Hat Enterprise Linux (dpdk, raptor2, dnspython): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- ALSA-2026:94519 Important: raptor2 security update AlmaLinux Security Advisories · Nov 4, 2026
- RLSA-2026:94519 Important: raptor2 security update Rocky Linux Security Advisories · Nov 4, 2026
- ELSA-2026-94519 Important: raptor2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 3, 2026
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