Description
GJSON before 1.9.3 allows a ReDoS (regular expression denial of service) attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-tidwall-gjson | 1.14.4-2 | — |
| Debian 13 | golang-github-tidwall-gjson | 1.14.4-2 | — |
| Debian 12 | golang-github-tidwall-gjson | 1.14.4-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-tidwall-gjson | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-tidwall-gjson | No fix yet | — |
| Ubuntu 25.10 | golang-github-tidwall-gjson | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-tidwall-gjson | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-tidwall-gjson | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-github-tidwall-gjson | No fix yet | — |
Advisories 1
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
References
- https://github.com/tidwall/gjson/issues/236
- https://github.com/tidwall/gjson/issues/237
- https://github.com/tidwall/gjson/commit/77a57fda87dca6d0d7d4627d512a630f89a91c96
- https://github.com/tidwall/gjson/compare/v1.9.2...v1.9.3
- https://github.com/tidwall/gjson/commit/590010fdac311cc8990ef5c97448d4fec8f29944