{"record":{"id":"54ecc811835b158f","repo":"sqlmapproject/sqlmap","slug":"dynamic-table-size-exceeds-advertised-maximum","errorCode":null,"errorMessage":"dynamic table size exceeds advertised maximum","messagePattern":"dynamic table size exceeds advertised maximum","errorType":"exception","errorClass":"H2CompressionError","httpStatus":null,"severity":"error","filePath":"lib/request/http2.py","lineNumber":498,"sourceCode":"                index, pos = decode_integer(data, pos, 7)\n                name, value = self._get(index)\n                headers.append((name, value))\n            elif first & 0x40:\n                saw_header = True\n                index, pos = decode_integer(data, pos, 6)\n                if index:\n                    name = self._get(index)[0]\n                else:\n                    name, pos = decode_string(data, pos)\n                value, pos = decode_string(data, pos)\n                self._add(name, value)\n                headers.append((name, value))\n            elif first & 0x20:\n                if saw_header:\n                    raise H2CompressionError(\"dynamic table size update is not at block start\")\n                new_size, pos = decode_integer(data, pos, 5)\n                if new_size > self.max_allowed_size:\n                    raise H2CompressionError(\"dynamic table size exceeds advertised maximum\")\n                self.max_size = new_size\n                self._evict()\n                continue\n            else:\n                saw_header = True\n                index, pos = decode_integer(data, pos, 4)\n                if index:\n                    name = self._get(index)[0]\n                else:\n                    name, pos = decode_string(data, pos)\n                value, pos = decode_string(data, pos)\n                headers.append((name, value))\n\n            name, value = headers[-1]\n            list_size += self._entry_size(name, value)\n            if list_size > self.max_header_list_size:\n                raise H2CompressionError(\"decoded header list exceeds configured limit\")\n        return headers","sourceCodeStart":480,"sourceCodeEnd":516,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/lib/request/http2.py#L480-L516","documentation":"HPACK decode limit check: a dynamic table size update names a new maximum greater than the locally advertised SETTINGS value, which the peer is forbidden to exceed; the decoder rejects it as a protocol violation (compression-bomb guard).","triggerScenarios":"Thrown at lib/request/http2.py:498 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Cap size updates to the advertised maximum","Adjust the advertised SETTINGS value if a larger table is intended"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}