{"id":"UBUNTU-CVE-2026-73228","details":"Django REST framework is a toolkit for building Web APIs. Prior to 3.17.2, Django REST Framework's request.data parsing in rest_framework/request.py Request._parse() passes the underlying HttpRequest stream to JSONParser and FormParser for application/json and application/x-www-form-urlencoded bodies, bypassing Django's DATA_UPLOAD_MAX_MEMORY_SIZE protection and allowing oversized request bodies to consume additional memory and CPU. This issue is fixed in version 3.17.2.","modified":"2026-08-19T11:11:14Z","published":"2026-08-11T19:18:00Z","upstream":["CVE-2026-73228"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-73228"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-73228"},{"type":"REPORT","url":"https://github.com/encode/django-rest-framework/security/advisories/GHSA-2m8g-3cmr-wg3w"},{"type":"REPORT","url":"https://github.com/encode/django-rest-framework/pull/10013"},{"type":"REPORT","url":"https://github.com/encode/django-rest-framework/commit/2912dc98042f78e27636551fc22eeaf10f725fdd"},{"type":"REPORT","url":"https://github.com/encode/django-rest-framework/commit/82ef7b7e4e0a73ba5c489b465fae7e76d948da4e"}],"affected":[{"package":{"name":"djangorestframework","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/djangorestframework?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.3-2","3.3.1-1","3.3.2-1","3.3.2-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.2-2","binary_name":"python-djangorestframework"},{"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-73228.json"}},{"package":{"name":"djangorestframework","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/djangorestframework?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.0-2","3.7.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.7.7-1","binary_name":"python-djangorestframework"},{"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-73228.json"}},{"package":{"name":"djangorestframework","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/djangorestframework?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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-73228.json"}},{"package":{"name":"djangorestframework","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/djangorestframework?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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_version":"3.12.4-2.1ubuntu1","binary_name":"python3-djangorestframework"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-73228.json"}},{"package":{"name":"djangorestframework","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/djangorestframework?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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-73228.json"}},{"package":{"name":"djangorestframework","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/djangorestframework?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["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-73228.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}