CVE-2026-29078
published high CVSS 4.0 · 8.2Integer Underflow in Lexbor ISO‑2022‑JP Encoder
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| lexbor | — | lexbor< 2.7.0 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | php85 | Fixed | 8.5.6-r0 | Package fix record |
| Alpine Linux | v3.22 | php84 | Fixed | 8.4.27-r0 | Package fix record |
| Alpine Linux | v3.23 | php84 | Fixed | 8.4.21-r0 | Package fix record |
| Alpine Linux | v3.23 | php85 | Fixed | 8.5.6-r0 | Package fix record |
| Alpine Linux | v3.24 | php85 | Fixed | 8.5.6-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| lexbor | lexbor | < 2.7.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-191 CWE-191: Integer Underflow (Wrap or Wraparound)
- CWE-787 CWE-787: Out-of-bounds Write
References
1Provider assertions
2GitHub_M · cna
Integer Underflow in Lexbor ISO‑2022‑JP Encoder
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7029dc54b8fea918a6a4c4d8d81a86b2c53aa735fb599bd7a73ee9fe80950f1d
- Ingested
- 23 Sep 2026, 09:08:32 UTC
- Source record
- Official CVE record