Description
Lexbor is a web browser engine library. Prior to 2.7.0, a type‑confusion vulnerability exists in Lexbor’s HTML fragment parser. When ns = UNDEF, a comment is created using the “unknown element” constructor. The comment’s data are written into the element’s fields via an unsafe cast, corrupting the qualified_name field. That corrupted value is later used as a pointer and dereferenced near the zero page. This vulnerability is fixed in 2.7.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lexbor | lexbor | < 2.7.0 | — |
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 | lexbor | 3.0.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | lexbor | No fix yet | — |
| Ubuntu 26.04 LTS | lexbor | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | php85 | 8.5.6-r0 | — |
| Alpine v3.23 | php84 | 8.4.21-r0 | — |
| Alpine v3.23 | php85 | 8.5.6-r0 | — |
| Alpine v3.22 | php84 | 8.4.27-r0 | — |