UBUNTU-CVE-2026-114138

Source
https://ubuntu.com/security/CVE-2026-114138
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114138.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-114138
Upstream
Published
2026-10-21T21:17:00Z
Modified
2026-10-28T20:17:45Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Django REST framework is a toolkit for building Web APIs. Prior to 3.18.2, DefaultContentNegotiation.get_accept_list in rest_framework/negotiation.py accepts an unbounded number and aggregate size of Accept tokens, while select_renderer in that file repeatedly invokes _MediaType parsing from rest_framework/utils/mediatypes.py for each attacker-controlled token, every renderer, and forced 406 renegotiation. A remote unauthenticated client can send many distinct media types containing large quoted parameter values with numerous semicolons, causing Django's parameter parser and DRF's repeated parsing structure to consume disproportionate CPU. Requests to any reachable endpoint can pin synchronous workers for prolonged periods, and concurrent requests can make the service unavailable until the requests stop. This issue is fixed in version 3.18.2.

References

Affected packages

Ubuntu:16.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=xenial

Affected ranges

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

Affected versions

2.*
2.4.3-2
3.*
3.3.1-1
3.3.2-1
3.3.2-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-djangorestframework",
            "binary_version":  "3.3.2-2"
        },
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.3.2-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114138.json"
Ubuntu:18.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=bionic

Affected ranges

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

Affected versions

3.*
3.4.0-2
3.7.7-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python-djangorestframework",
            "binary_version":  "3.7.7-1"
        },
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.7.7-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114138.json"
Ubuntu:20.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=focal

Affected ranges

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

Affected versions

3.*
3.9.0-2
3.10.2-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.10.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114138.json"
Ubuntu:22.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*
3.12.1-1
3.12.4-1
3.12.4-2
3.12.4-2ubuntu1
3.12.4-2.1ubuntu1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.12.4-2.1ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114138.json"
Ubuntu:24.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=noble

Affected ranges

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

Affected versions

3.*
3.14.0-2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.14.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-114138.json"
Ubuntu:26.04:LTS
djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=resolute

Affected ranges

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

Affected versions

3.*
3.16.1-1
3.16.1-3

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.16.1-3"
        }
    ]
}

Database specific

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

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=source&distro=stonking

Affected ranges

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

Affected versions

3.*
3.16.1-3
3.16.1-4
3.17.1+ds1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "python3-djangorestframework",
            "binary_version":  "3.17.1+ds1-1"
        }
    ]
}

Database specific

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