Integer Underflow in Lexbor ISO‑2022‑JP Encoder
Résumé
Integer Underflow in Lexbor ISO‑2022‑JP Encoder
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Lexbor is a web browser engine library. Prior to 2.7.0, the ISO‑2022‑JP encoder in Lexbor fails to reset the temporary size variable between iterations. The statement ctx->buffer_used -= size with a stale size = 3 causes an integer underflow that wraps to SIZE_MAX. Afterwards, memcpy is called with a negative length, leading to an out‑of‑bounds read from the stack and an out‑of‑bounds write to the heap. The source data is partially controllable via the contents of the DOM tree. This vulnerability is fixed in 2.7.0.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2026-29078 lexbor Corrigé dans: 3.0.0-1
- Ubuntu UBUNTU-CVE-2026-29078 lexbor
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov