{"id":"CVE-2022-41881","aliases":["CVE-2022-41881","GHSA-fx2c-96vj-985v"],"related":[],"kind":"vulnerability","state":"published","title":"HAProxyMessageDecoder Stack Exhaustion DoS","summary":"Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. This issue is patched in version 4.1.86.Final. There is no workaround, except using a custom HaProxyMessageDecoder.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Netty project is an event-driven asynchronous network application framework. In versions prior to 4.1.86.Final, a StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion. This issue is patched in version 4.1.86.Final. There is no workaround, except using a custom HaProxyMessageDecoder.","source":"cvelist"},{"lang":"en","text":"### Impact\nA StackOverflowError can be raised when parsing a malformed crafted message due to an infinite recursion.\n\n### Patches\nUsers should upgrade to 4.1.86.Final.\n\n### Workarounds\nThere is no workaround, except using a custom HaProxyMessageDecoder.\n\n### References\nWhen parsing a TLV with type = PP2_TYPE_SSL, the value can be again a TLV with type = PP2_TYPE_SSL and so on.\nThe only limitation of the recursion is that the TLV length cannot be bigger than 0xffff because it is encoded in an unsigned short type.\nProviding a TLV with a nesting level that is large enough will lead to raising of a StackOverflowError.\nThe StackOverflowError will be caught if HAProxyMessageDecoder is used as part of Netty’s ChannelPipeline, but using it directly without the ChannelPipeline will lead to a thrown exception / crash.\n\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [netty](https://github.com/netty/netty)","format":"markdown","source":"ghsa"},{"lang":"es","text":"El proyecto Netty es un framework de aplicación de red asíncrona impulsado por eventos. En versiones anteriores a la 4.1.86.Final, se puede generar un StackOverflowError al analizar un mensaje manipulado con formato incorrecto debido a una recursividad infinita. Este problema se solucionó en la versión 4.1.86.Final. No existe ningún workaround, excepto utilizar un HaProxyMessageDecoder personalizado.","source":"nvd"}],"published":"2022-12-12T00:00:00.000Z","modified":"2026-08-07T08:12:01.742Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-674"],"affected":[{"ranges":[{"version":"< 4.1.86.Final","status":"affected"}],"vendor":"netty","product":"netty","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.86.Final"}],"ecosystem":"Maven","package":"io.netty:netty-codec-haproxy","purl":"pkg:maven/io.netty/netty-codec-haproxy","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.1.86"}],"vendor":"netty","product":"netty","cpe":"cpe:2.3:a:netty:netty:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/netty/netty/security/advisories/GHSA-fx2c-96vj-985v","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00008.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5316","tags":["third-party-advisory","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230113-0004/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41881","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/netty/netty","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20230113-0004","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-22T15:39:04.984Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-41881","url":"https://www.cve.org/CVERecord?id=CVE-2022-41881","licence":"CVE Terms of Use","modified":"2025-04-22T15:57:46.309Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fx2c-96vj-985v","url":"https://github.com/advisories/GHSA-fx2c-96vj-985v","licence":"CC-BY-4.0","modified":"2026-08-07T08:12:01.742Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-41881","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41881","licence":"Public domain","modified":"2026-06-17T05:03:59.047Z"}],"updatedAt":"2026-11-25T22:58:17.397Z","epss":{"score":0.01572,"percentile":0.76128,"date":"2026-12-01T12:00:22.000Z"}}