CVE-2026-93450
published high CVSS 4.0 · 8.7go-openapi/swag jsonutils before 0.27.1 Uncontrolled Recursion in Ordered JSON Marshal and Unmarshal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| go-openapi | — | swag0 to < 0.27.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-161 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3395 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-161 |
| Amazon Linux | AL2 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-161 |
| Amazon Linux | AL2 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-161 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3395 |
| Amazon Linux | AL2023 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2023-2026-3395 |
| Amazon Linux | AL2023 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3395 |
Description
go-openapi/swag jsonutils before 0.27.1 contains a stack overflow vulnerability in ordered JSON parsing and serialization due to unbounded recursion with no depth limit. Remote unauthenticated attackers can submit deeply nested JSON documents to services accepting OpenAPI specifications, causing fatal stack overflow that terminates the process and all in-flight requests.
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.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| go-openapi | swag | 0 to < 0.27.1 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-674 Uncontrolled Recursion
References
6- https://github.com/go-openapi/swag
- https://github.com/go-openapi/swag/blob/v0.27.0/jsonutils/adapters/stdlib/json/adapter.go#L68
- https://github.com/go-openapi/swag/blob/v0.27.0/jsonutils/adapters/stdlib/json/ordered_map.go#L214
- https://github.com/go-openapi/swag/commit/0c24346ced59a25811e8694a915e7131d25ccb0e
- GitHub Security Advisory (GHSA-xh24-9qpg-8w28) https://github.com/go-openapi/swag/security/advisories/GHSA-xh24-9qpg-8w28
- VulnCheck Advisory: go-openapi/swag jsonutils before 0.27.1 Uncontrolled Recursion in Ordered JSON Marshal and Unmarshal https://www.vulncheck.com/advisories/go-openapi-swag-jsonutils-before-0.27.1-uncontrolled-recursion-in-ordered-json-marshal-and-unmarshal
Provider assertions
2VulnCheck · cna
go-openapi/swag jsonutils before 0.27.1 Uncontrolled Recursion in Ordered JSON Marshal and Unmarshal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cdd55479dc404476594ff3d43e9722d1125f31f021a54153e731ef0fe15a7d58
- Ingested
- 23 Sep 2026, 09:40:48 UTC
- Source record
- Official CVE record