{"id":"CVE-2026-0799","state":"PUBLISHED","title":"OOBR and OOBW in libpcap before 1.10.7","description":"In BPF instructions that load/store a value from/to a scratch memory register the register index is an unsigned 32-bit integer and must not exceed 15, but libpcap BPF interpreter does not validate the value.  In particular uncommon use cases a crafted filter program can cause the interpreter to try reading and writing the OS process memory in the 16GiB starting at the current stack frame on 64-bit architectures and in the entire address space on 32-bit architectures.","publishedAt":"2026-09-05T18:48:39.126Z","updatedAt":"2026-09-08T18:20:50.106Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","source":"Tcpdump"},"assigner":"Tcpdump","products":["The Tcpdump Group libpcap"],"affected":[{"vendor":"The Tcpdump Group","product":"libpcap","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.10.7","versionType":"semver"}],"modules":["BPF interpreter"],"programFiles":["bpf_filter.c"],"programRoutines":[{"name":"pcapint_filter_with_aux_data()"}],"repo":"https://github.com/the-tcpdump-group/libpcap/"}],"references":["https://github.com/the-tcpdump-group/libpcap/commit/48e8960a7108e9e828f9d7bdc7e97bdab841aec7"],"weaknesses":["CWE-129","CWE-125","CWE-787"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/0xxx/CVE-2026-0799.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-0799","state":"PUBLISHED","datePublished":"2026-09-05T18:48:39.126Z","dateUpdated":"2026-09-08T18:20:50.106Z","assignerShortName":"Tcpdump","assignerOrgId":"cfdbb673-b408-4d03-89c1-c3d73ed80896","dateReserved":"2026-01-08T23:19:31.855Z"},"containers":{"cna":{"title":"OOBR and OOBW in libpcap before 1.10.7","descriptions":[{"lang":"en","value":"In BPF instructions that load/store a value from/to a scratch memory register the register index is an unsigned 32-bit integer and must not exceed 15, but libpcap BPF interpreter does not validate the value.  In particular uncommon use cases a crafted filter program can cause the interpreter to try reading and writing the OS process memory in the 16GiB starting at the current stack frame on 64-bit architectures and in the entire address space on 32-bit architectures."}],"affected":[{"vendor":"The Tcpdump Group","product":"libpcap","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.10.7","versionType":"semver"}],"modules":["BPF interpreter"],"programFiles":["bpf_filter.c"],"programRoutines":[{"name":"pcapint_filter_with_aux_data()"}],"repo":"https://github.com/the-tcpdump-group/libpcap/"}],"references":[{"url":"https://github.com/the-tcpdump-group/libpcap/commit/48e8960a7108e9e828f9d7bdc7e97bdab841aec7","tags":["patch"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","description":"CWE-129 Improper Validation of Array Index","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Tcpdump","orgId":"cfdbb673-b408-4d03-89c1-c3d73ed80896","dateUpdated":"2026-09-05T18:48:39.126Z"},"configurations":[{"lang":"en","value":"The problem is specific to applications that use pcap_offline_filter() or bpf_filter() with an externally-supplied compiled filter program without validating the program first."}],"credits":[{"lang":"en","type":"sponsor","value":"Mozilla via the Secure Open Source program"},{"lang":"en","type":"reporter","value":"Include Security"},{"lang":"en","type":"analyst","value":"Denis Ovsienko"}],"exploits":[{"lang":"en","value":"A functional exploit exists."}],"solutions":[{"lang":"en","value":"Upgrade to libpcap 1.10.7."}],"source":{"discovery":"EXTERNAL"},"workarounds":[{"lang":"en","value":"Validate every filter program that has not been produced by a local call to pcap_compile()."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T18:20:35.280967Z","id":"CVE-2026-0799","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-08T18:20:50.106Z"}}]}}}