Servers and applications
CVE-2026-26309
Off-by-one write in JsonEscaper::escapeString()
- Severity
- Medium 5.3
- Published
- 10 Mar 2026
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 1.34.13, 1.35.8, 1.36.5
- Exploit chance
- 0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- CWE-193
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L- Also known as
- GHSA-56cj-wgg3-x943
- Sources
- NVD, Project advisories (GitHub)
Description
An off-by-one write in Envoy::JsonEscaper::escapeString() can corrupt std::string null-termination, causing undefined behavior and potentially leading to crashes or out-of-bounds reads when the resulting string is later treated as a C-string.
The bug is in the control-character escaping path in source/common/common/ json_escape_string.h:67.
- The function pre-sizes result to the final length: std::string result(input.size() + required_size, '\');
- For control characters (0x00..0x1f), it emits a JSON escape sequence of length 6: \u00XX.
- It uses sprintf(&result[position + 1], "u%04x", ...), which writes 5 chars + a trailing NUL (\0) starting at result[position + 1].
- Then it does position += 6; and writes result[position] = '\'; to overwrite the NUL.
Affected software
| Software | Affected versions |
|---|---|
EnvoyServers and applications · cpe:a:envoyproxy:envoy |
|
EnvoyServers and applications · github:envoyproxy/envoy |
|
About Envoy
service proxy
- Docker Hub pulls
- 5,809,928,938Docker Hub, 15 Nov 2026
- GitHub stars
- 29,237GitHub, 15 Nov 2026
- Forks
- 5,728GitHub, 15 Nov 2026
- Latest release
- v1.40.2GitHub, 15 Nov 2026
- Released
- 27 Oct 2026GitHub
- Developer
- Alyssa WilkWikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- C++Wikidata
- First released
- 8 Aug 2016Wikidata
- First published on GitHub
- 8 Aug 2016GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 1.40 | 1.40.2 | Until 13 Oct 2027 |
| 1.39 | 1.39.6 | Until 14 Jul 2027 |
| 1.38 | 1.38.9 | Until 23 Apr 2027 |
| 1.37 | 1.37.11 | Until 13 Jan 2027 |
| 1.36 | 1.36.13 | Ended 14 Oct 2026 |
| 1.35 | 1.35.13 | Ended 23 Jul 2026 |
From endoflife.date.
Vulnerabilities in Envoy
- In our list
- 132
- Published in the last 12 months
- 42
- Critical, last 12 months
- 2
- High, last 12 months
- 23
- Known exploited
- 2
- GHSA-3wvj-j6qm-62mrOut-of-Bounds Write in Brotli DecompressorCritical 9.2 23 Oct 2026
- CVE-2026-111497Bundled brotli decoder has an out-of-bounds write (CVE-2026-111497)Critical 9.2 21 Oct 2026 · Exploited
- GHSA-8vc2-jrm4-835wUnauthenticated remote crash (null pointer dereference) in the OAuth2 HTTP filter via a path-less CONNECT requestHigh 7.5 6 Oct 2026
- GHSA-47vj-9r25-wv5jCrash in api_key_auth HTTP filter when hiding credentials on requests without a :path header (CONNECT)Medium 6.5 6 Oct 2026
- CVE-2026-73513oghttp2 upstream trailers incorrect handlingHigh 7.5 26 Aug 2026
- CVE-2026-73552HTTP RBAC safe_regex can fail open on RFC-valid obs-text header valuesHigh 7.5 26 Aug 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-26309
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-26309
- GitHub Advisory Database https://github.com/advisories/GHSA-56cj-wgg3-x943
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-56cj-wgg3-x943