Unrated severityNVD Advisory· Published Mar 13, 2026· Updated Mar 16, 2026
Integer Underflow in Lexbor ISO‑2022‑JP Encoder
CVE-2026-29078
Description
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.
Affected products
2- lexbor/lexborv5Range: < 2.7.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- github.com/lexbor/lexbor/security/advisories/GHSA-mrwr-xh7f-96v3mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.