Netty, an asynchronous, event-driven network application framework, has a vulnerability in versions up to and including 4.1.118.Final. An unsafe reading of environment file could potentially cause a denial of service in Netty. When loaded on an Windows application, Netty attempts to load a file that does not exist. If an attacker creates such a large file, the Netty application crash. A similar issue was previously reported as CVE-2024-47535. This issue was fixed, but the fix was incomplete in that null-bytes were not counted against the input limit. Commit d1fbda62d3a47835d3fb35db8bd42ecc205a5386 contains an updated fix.
{ "vanir_signatures": [ { "id": "CVE-2025-25193-36ad3644", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Function", "target": { "file": "common/src/main/java/io/netty/util/internal/BoundedInputStream.java", "function": "read" }, "signature_version": "v1", "digest": { "function_hash": "83647819642280477915450784459448806461", "length": 151.0 } }, { "id": "CVE-2025-25193-3f260ffb", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Function", "target": { "file": "common/src/test/java/io/netty/util/internal/BoundedInputStreamTest.java", "function": "execute" }, "signature_version": "v1", "digest": { "function_hash": "168617005726589462721307676983524610701", "length": 92.0 } }, { "id": "CVE-2025-25193-628ffffd", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Line", "target": { "file": "common/src/test/java/io/netty/util/internal/BoundedInputStreamTest.java" }, "signature_version": "v1", "digest": { "line_hashes": [ "299244551225250681155776504421826349006", "68939909125888399065484821057850571489", "175650336027892865504475120395443556993", "106648783497185306098499743441929874076", "327200754290988918737224088359121103962", "306624256757665377409321781415100641281", "222406759116183088074797538948691095398", "260980537500418989250141064528987673473", "125174575118845052950993425847714721076", "29816401938652407754427455272639905702", "285987676804747932549445828766632939836", "1212372605309263313782091003189530703", "274740517290592116662086250749447971082", "144964689514694557084965228788470286409", "321928690272036970462275196119712997606", "197290867375039890012282792411698053167", "205464533724490850436876508627948695481", "322593765506540972060864915438479497999", "335448623471065417474748602210222732801", "169218711555851475391458368013339090457", "16448393380925219897194594573009005752", "228387397411614740557008226799734865978", "73374006175760201187156783272203927740", "186215996591008145257665082429905946374" ], "threshold": 0.9 } }, { "id": "CVE-2025-25193-8958bd75", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Line", "target": { "file": "common/src/main/java/io/netty/util/internal/BoundedInputStream.java" }, "signature_version": "v1", "digest": { "line_hashes": [ "147541144774636074246653473288858570283", "140057386921348324997108146808344683996", "310525791674863766648706160937942619980", "24979872839336321857116091897167762897", "159682366236831434344184392593205767980", "195114723270315247636250395743516745536", "70914908994207241436854675794303270904", "83540472697459811106806614955527734573", "173151000428750331641299410702155599493", "265661924479601061976737966055504879884", "158481143774103710565566936536776962006", "273871888615051756096655234496936525405", "195114723270315247636250395743516745536", "158691056368219691852123385471367975944" ], "threshold": 0.9 } }, { "id": "CVE-2025-25193-d1b4670c", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Function", "target": { "file": "common/src/test/java/io/netty/util/internal/BoundedInputStreamTest.java", "function": "testBoundEnforced" }, "signature_version": "v1", "digest": { "function_hash": "163578465218010026851996761540428649398", "length": 433.0 } }, { "id": "CVE-2025-25193-ee808a7d", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Function", "target": { "file": "common/src/test/java/io/netty/util/internal/BoundedInputStreamTest.java", "function": "testBigReadsPermittedIfUnderlyingStreamIsSmall" }, "signature_version": "v1", "digest": { "function_hash": "230996555327220870387906718605658306393", "length": 354.0 } }, { "id": "CVE-2025-25193-fc8de13c", "source": "https://github.com/netty/netty/commit/d1fbda62d3a47835d3fb35db8bd42ecc205a5386", "deprecated": false, "signature_type": "Function", "target": { "file": "common/src/main/java/io/netty/util/internal/BoundedInputStream.java", "function": "read" }, "signature_version": "v1", "digest": { "function_hash": "42396086897291553879275097650676657862", "length": 284.0 } } ] }