UBUNTU-CVE-2026-77354

Source
https://ubuntu.com/security/CVE-2026-77354
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77354.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-77354
Upstream
Published
2026-08-21T21:17:00Z
Modified
2026-09-02T19:36:49.810240354Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

kin-openapi is a Go project for handling OpenAPI files. From 0.124.0 until 0.142.0, openapi3filter.sliceMapToSlice in openapi3filter/reqrespdecoder.go converts attacker-controlled sparse indexes from a deepObject query parameter into a dense slice by allocating entries from zero through the largest supplied index, after which buildResObj creates another slice of the same length. This allocation occurs before schema validation, so maxItems does not prevent it. An unauthenticated client can send a small query such as param[items][50000000]=x to an endpoint whose deepObject schema contains an array, forcing multi-gigabyte heap allocation and causing an OOM kill or restart loop. Other request-body encodings and styled parameters that do not produce bracketed integer indexes are not affected. This issue is fixed in version 0.142.0.

References

Affected packages

Ubuntu:22.04:LTS / golang-github-getkin-kin-openapi

Package

Name
golang-github-getkin-kin-openapi
Purl
pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.32.0-2
0.80.0-1
0.85.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.85.0-1",
            "binary_name": "golang-github-getkin-kin-openapi-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77354.json"

Ubuntu:24.04:LTS / golang-github-getkin-kin-openapi

Package

Name
golang-github-getkin-kin-openapi
Purl
pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.117.0-1
0.120.0-1
0.122.0-3
0.123.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.123.0-1",
            "binary_name": "golang-github-getkin-kin-openapi-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77354.json"

Ubuntu:26.04:LTS / golang-github-getkin-kin-openapi

Package

Name
golang-github-getkin-kin-openapi
Purl
pkg:deb/ubuntu/golang-github-getkin-kin-openapi?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.124.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "0.124.0-1",
            "binary_name": "golang-github-getkin-kin-openapi-dev"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-77354.json"