CVE-2026-29078

Source
https://cve.org/CVERecord?id=CVE-2026-29078
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29078.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-29078
Aliases
  • GHSA-mrwr-xh7f-96v3
Downstream
Published
2026-03-13T17:18:47.646Z
Modified
2026-04-02T13:22:49.673497Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Integer Underflow in Lexbor ISO‑2022‑JP Encoder
Details

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->bufferused -= size with a stale size = 3 causes an integer underflow that wraps to SIZEMAX. 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29078.json",
    "cwe_ids": [
        "CWE-191",
        "CWE-787"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/lexbor/lexbor

Affected ranges

Type
GIT
Repo
https://github.com/lexbor/lexbor
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.1.0
0.2.0
v0.*
v0.4.0
v1.*
v1.0.0
v2.*
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29078.json"