# CVE-2026-29078: Integer Underflow in Lexbor ISO‑2022‑JP Encoder

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-03-13T17:18:47.646Z
- Modified: 2026-06-17T10:29:33.787Z
- Weaknesses: CWE-191, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- lexbor lexbor: < 2.7.0; before 2.7.0

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/lexbor/lexbor/security/advisories/GHSA-mrwr-xh7f-96v3> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-29078](https://www.cve.org/CVERecord?id=CVE-2026-29078), CVE Terms of Use, modified 2026-03-16
- NVD: [CVE-2026-29078](https://nvd.nist.gov/vuln/detail/CVE-2026-29078), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29078 · Whole record: https://cve.day/CVE-2026-29078.json · Rebuilt by cve.day 2026-11-25T22:59:15.874Z
