{"schemaVersion":4,"id":"CVE-2026-48040","aliases":["GHSA-32hf-8jw3-v4qq"],"status":"published","duplicateOf":null,"title":"netty-incubator-codec-ohttp's Incorrect Native Pointer Derivation in Pooled Direct ByteBuf Fallback Leads to Out-of-Bounds Native Memory Access","description":"The netty incubator codec.bhttp is a java language binary http parser. The library implements Oblivious HTTP (RFC 9458) using BoringSSL's HPKE C library via JNI. When deriving native memory addresses for cryptographic operations versions prior to 0.0.22.Final provide a fallback path for direct ByteBufs that do not expose their memory address through `hasMemoryAddress()`. This fallback occurs when `sun.misc.Unsafe` is unavailable to Netty — for example, when the JVM is started with `-Dio.netty.noUnsafe=true`, when a SecurityManager restricts Unsafe access, or when running on non-HotSpot JVMs. In these configurations, Netty's default `PooledByteBufAllocator` returns `PooledDirectByteBuf` instances for which `hasMemoryAddress()` returns false.  Under the enabling JVM configuration, an unauthenticated network attacker can cause the OHTTP gateway to corrupt memory belonging to other concurrent connections and disclose the contents of adjacent pooled direct buffers by triggering cryptographic operations with crafted OHTTP requests. The corruption occurs regardless of whether the AEAD tag verification succeeds, as BoringSSL zeroizes the output buffer on failure. The information disclosure path provides the attacker with the encryption key needed to extract the leaked data. This violates the confidentiality and integrity of all connections sharing the same Netty buffer arena. Version 0.0.22.Final fixes the issue.","dates":{"published":"2026-06-04T17:33:55.212Z","modified":"2026-06-04T18:01:22.970Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00174,"percentile":0.07157,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00174},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00174,"percentile":0.07157}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00174,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00174,"percentile":0.07157}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-125","name":"Out-of-bounds Read","description":"The product reads data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"io.netty.incubator","product":"netty-incubator-codec-ohttp-hpke-native-boringssl","name":"io.netty.incubator:netty-incubator-codec-ohttp-hpke-native-boringssl","label":"netty-incubator-codec-ohttp-hpke-native-boringssl","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/io.netty.incubator/netty-incubator-codec-ohttp-hpke-native-boringssl","purlType":"maven","versions":[{"text":"< 0.0.22.Final","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.0.22.Final","endInclusive":false}}],"versionsText":"< 0.0.22.Final","eol":null,"hubHref":null},{"vendor":"netty","product":"netty-incubator-codec-ohttp","name":"netty-incubator-codec-ohttp","label":"netty-incubator-codec-ohttp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.0.22.Final","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.0.22.Final","endInclusive":false}},{"text":"< 0.0.22","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.0.22","endInclusive":false}}],"versionsText":"< 0.0.22.Final | < 0.0.22","eol":null,"hubHref":"/vendor/netty/netty-incubator-codec-ohttp"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-32hf-8jw3-v4qq","label":"github.com/netty/netty-incubator-codec-ohttp/security/advisories/GHSA-32hf-8jw3-v4qq","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://github.com/netty/netty-incubator-codec-ohttp/commit/7ad38d5cc2827af7e067e5c1e1ac37cd4566dad9","label":"github.com/netty/netty-incubator-codec-ohttp/commit/7ad38d5cc2827af7e067e5c1e1ac37cd4566dad9","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48040","label":"nvd.nist.gov/vuln/detail/CVE-2026-48040","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/netty/netty-incubator-codec-ohttp","label":"github.com/netty/netty-incubator-codec-ohttp","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-06-04T17:33:55.212Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-04T18:01:22.970Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,68],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00174,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-06-04T18:01:22.970Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","version":"4.0","headline":true},{"type":"cvss","source":"osv_maven","date":"2026-06-04T18:01:22.970Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-06-04T18:01:22.970Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.8,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-06-04T18:01:22.970Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-06-04T18:01:15.558Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00174,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:27:44.466Z","stale":false,"partial":false}}