{"id":"UBUNTU-CVE-2025-58057","details":"Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. In netty-codec-compression versions 4.1.124.Final and below, and netty-codec versions 4.2.4.Final and below, when supplied with specially crafted input, BrotliDecoder and certain other decompression decoders will allocate a large number of reachable byte buffers, which can lead to denial of service. BrotliDecoder.decompress has no limit in how often it calls pull, decompressing data 64K bytes at a time. The buffers are saved in the output list, and remain reachable until OOM is hit. This is fixed in versions 4.1.125.Final of netty-codec and 4.2.5.Final of netty-codec-compression.","modified":"2026-08-20T00:01:29.059830570Z","published":"2025-09-04T10:42:00Z","related":["USN-7918-1"],"upstream":["CVE-2025-58057"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-58057"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-58057"},{"type":"REPORT","url":"https://github.com/netty/netty/security/advisories/GHSA-3p8m-j85q-pgmj"},{"type":"REPORT","url":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d"},{"type":"REPORT","url":"https://github.com/netty/netty/commit/9d804c54ce962408ae6418255a83a13924f7145d"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7918-1"}],"affected":[{"package":{"name":"netty","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/netty?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.2.6.Final-2","1:3.2.6.Final-2+deb8u2build0.14.04.1~esm1","1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:3.2.6.Final-2+deb8u2ubuntu0.1~esm1","binary_name":"libnetty-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}},{"package":{"name":"netty","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/netty?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:3.2.6.Final-2","1:4.0.32-1","1:4.0.33-1","1:4.0.34-1","1:4.0.34-1ubuntu0.1~esm1","1:4.0.34-1ubuntu0.1~esm2","1:4.0.34-1ubuntu0.1~esm3","1:4.0.34-1ubuntu0.1~esm4","1:4.0.34-1ubuntu0.1~esm5"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetty-java","binary_version":"1:4.0.34-1ubuntu0.1~esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}},{"package":{"name":"netty","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.7-4ubuntu0.1+esm5"}]}],"versions":["1:4.1.7-4","1:4.1.7-4ubuntu0.1~esm1","1:4.1.7-4ubuntu0.1","1:4.1.7-4ubuntu0.1+esm1","1:4.1.7-4ubuntu0.1+esm2","1:4.1.7-4ubuntu0.1+esm3","1:4.1.7-4ubuntu0.1+esm4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libnetty-java","binary_version":"1:4.1.7-4ubuntu0.1+esm5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}},{"package":{"name":"netty","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/netty?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.45-1ubuntu0.1~esm4"}]}],"versions":["1:4.1.33-1","1:4.1.33-2","1:4.1.33-3","1:4.1.45-1","1:4.1.45-1ubuntu0.1~esm1","1:4.1.45-1ubuntu0.1~esm2","1:4.1.45-1ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnetty-java","binary_version":"1:4.1.45-1ubuntu0.1~esm4"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}},{"package":{"name":"netty","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/netty?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.48-4+deb11u2ubuntu0.1"}]}],"versions":["1:4.1.48-4","1:4.1.48-4+deb11u1build0.22.04.1","1:4.1.48-4+deb11u2build0.22.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.1.48-4+deb11u2ubuntu0.1","binary_name":"libnetty-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}},{"package":{"name":"netty","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/netty?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.48-9ubuntu0.1"}]}],"versions":["1:4.1.48-7","1:4.1.48-8","1:4.1.48-9"],"ecosystem_specific":{"binaries":[{"binary_version":"1:4.1.48-9ubuntu0.1","binary_name":"libnetty-java"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}},{"package":{"name":"netty","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/netty?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.1.48-10ubuntu0.25.10.2"}]}],"versions":["1:4.1.48-10","1:4.1.48-10ubuntu0.25.10.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libnetty-java","binary_version":"1:4.1.48-10ubuntu0.25.10.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-58057.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}