Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-0632

NIXPKGS-2026-0632
published 3 months, 1 week ago
updated 3 months, 1 week ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
Type Confusion in Lexbor Fragment Parser

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

lexbor
  • ==< 2.7.0

Matching in nixpkgs

Upstream advisory: https://github.com/lexbor/lexbor/security/advisories/GHSA-mrpr-v36q-2vp8