{"id":"CVE-2026-31912","state":"PUBLISHED","title":"OOBR in libpcap before 1.10.7","description":"libpcap BPF interpreter detects neither reaching the end of the filter program buffer due to lack of a return instruction nor executing a jump instruction with an offset that translates to a pointer outside of the buffer.  In particular uncommon use cases a crafted filter program can cause the interpreter to try reading the OS process memory in the 32GiB around the buffer on 64-bit architectures and in the entire address space on 32-bit architectures.","publishedAt":"2026-09-05T18:49:41.619Z","updatedAt":"2026-09-08T18:21:58.216Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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/d3f358d3cffbe1ecb94d5284b3e81f052a0adcb9"],"weaknesses":["CWE-1285","CWE-823","CWE-125"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31912.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31912","state":"PUBLISHED","datePublished":"2026-09-05T18:49:41.619Z","dateUpdated":"2026-09-08T18:21:58.216Z","assignerShortName":"Tcpdump","assignerOrgId":"cfdbb673-b408-4d03-89c1-c3d73ed80896","dateReserved":"2026-03-10T09:30:50.972Z"},"containers":{"cna":{"title":"OOBR in libpcap before 1.10.7","descriptions":[{"lang":"en","value":"libpcap BPF interpreter detects neither reaching the end of the filter program buffer due to lack of a return instruction nor executing a jump instruction with an offset that translates to a pointer outside of the buffer.  In particular uncommon use cases a crafted filter program can cause the interpreter to try reading the OS process memory in the 32GiB around the buffer 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/d3f358d3cffbe1ecb94d5284b3e81f052a0adcb9","tags":["patch"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1285","description":"CWE-1285 Improper Validation of Specified Index, Position, or Offset in Input","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-823","description":"CWE-823 Use of Out-of-range Pointer Offset","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Tcpdump","orgId":"cfdbb673-b408-4d03-89c1-c3d73ed80896","dateUpdated":"2026-09-05T18:49:41.619Z"},"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":"finder","value":"Denis Ovsienko"}],"exploits":[{"lang":"en","value":"A functional exploit exists."}],"solutions":[{"lang":"en","value":"Upgrade to libpcap 1.10.7 and migrate from bpf_filter() to pcap_offline_filter()."}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T18:21:42.914503Z","id":"CVE-2026-31912","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:21:58.216Z"}}]}}}