# CVE-2024-40642: Absent Input Validation in BinaryHttpParser

Source: https://junglewise.ai/threats/cve-2024-40642-absent-input-validation-in-binaryhttpparser  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-18  
License: CC BY 4.0 with a link back

CVE-2024-40642 · Severity: low · CVSS 3.1 · Published 2024-07-18

Absent Input Validation in BinaryHttpParser

Technologies: [io.netty.incubator:netty-incubator-codec-bhttp (Maven)](https://junglewise.ai/threats/technologies/io-netty-incubator-netty-incubator-codec-bhttp). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-40642 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-40642 being exploited in the wild.

**How severe is CVE-2024-40642?** Low severity, with a CVSS score of 3.1, published 18 July 2024.

**Which products and versions are affected?** io.netty.incubator:netty-incubator-codec-bhttp (Maven) ECOSYSTEM:introduced=0,fixed=0.0.13.Final.

**Is there a fix for CVE-2024-40642?** Yes. io.netty.incubator:netty-incubator-codec-bhttp (Maven): upgrade to 0.0.13.Final or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-40642?** Check whether you run io.netty.incubator:netty-incubator-codec-bhttp (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- io.netty.incubator:netty-incubator-codec-bhttp (Maven): upgrade to 0.0.13.Final or later

  ```sh
  # set io.netty.incubator:netty-incubator-codec-bhttp to 0.0.13.Final in your pom.xml or build.gradle
  ```


## Affected products

- io.netty.incubator:netty-incubator-codec-bhttp (Maven) ECOSYSTEM:introduced=0,fixed=0.0.13.Final

## Identifiers

- CVE-2024-40642
- GHSA-q8f2-hxq5-cp4h

## Related threats

- [Netty Incubator OHTTP BinaryHttpParser infinite loop DoS](https://junglewise.ai/threats/cve-2026-63202-netty-incubator-ohttp-binaryhttpparser-infinite-loop-dos)
- [Netty Incubator OHTTP unbounded variable-length field buffering](https://junglewise.ai/threats/cve-2026-61827-netty-incubator-ohttp-unbounded-variable-length-field-buffering)
- [Netty netty-incubator-codec-bhttp infinite loop in field section parser](https://junglewise.ai/threats/cve-2026-63124-netty-netty-incubator-codec-bhttp-infinite-loop-in-field-section)
- [Netty Binary HTTP parser integer overflow in varint parsing](https://junglewise.ai/threats/cve-2026-61799-netty-binary-http-parser-integer-overflow-in-varint-parsing)
