CVE-2026-29078

Name
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security-advisories@github.com https://github.com/lexbor/lexbor/security/advisories/GHSA-mrwr-xh7f-96v3

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:lexbor:lexbor:*:*:*:*:*:*:*:* lexbor >= None < 2.7.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
php85 edge-community 8.5.6-r0 Andy Postnikov <apostnikov@gmail.com> fixed
php85 3.23-community 8.5.6-r0 Andy Postnikov <apostnikov@gmail.com> fixed
php84 3.23-community 8.4.21-r0 Andy Postnikov <apostnikov@gmail.com> fixed
lexbor edge-community 2.6.0-r0 Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me> possibly vulnerable
lexbor edge-community 2.5.0-r0 Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me> possibly vulnerable
lexbor edge-community 2.4.0-r0 Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me> possibly vulnerable
lexbor 3.23-community 2.6.0-r0 Haelwenn (lanodan) Monnier <contact+alpine@hacktivis.me> possibly vulnerable