{"id":"CVE-2025-37939","state":"PUBLISHED","title":"libbpf: Fix accessing BTF.ext core_relo header","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibbpf: Fix accessing BTF.ext core_relo header\n\nUpdate btf_ext_parse_info() to ensure the core_relo header is present\nbefore reading its fields. This avoids a potential buffer read overflow\nreported by the OSS Fuzz project.","publishedAt":"2025-05-20T15:34:41.511Z","updatedAt":"2026-05-11T21:18:02.501Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cf579164e9ea9cd41c7c1da931683a319d224890","status":"affected","lessThan":"d529411ec44535308c5d59cbeff74be6fe14b479","versionType":"git"},{"version":"cf579164e9ea9cd41c7c1da931683a319d224890","status":"affected","lessThan":"3a67f60f0a8be10cea7a884a1a00e9feb6645657","versionType":"git"},{"version":"cf579164e9ea9cd41c7c1da931683a319d224890","status":"affected","lessThan":"0a7c2a84359612e54328aa52030eb202093da6e2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/lib/bpf/btf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.13.11","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.2","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/lib/bpf/btf.c"]}],"references":["https://git.kernel.org/stable/c/d529411ec44535308c5d59cbeff74be6fe14b479","https://git.kernel.org/stable/c/3a67f60f0a8be10cea7a884a1a00e9feb6645657","https://git.kernel.org/stable/c/0a7c2a84359612e54328aa52030eb202093da6e2"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37939.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37939","state":"PUBLISHED","datePublished":"2025-05-20T15:34:41.511Z","dateUpdated":"2026-05-11T21:18:02.501Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.971Z"},"containers":{"cna":{"title":"libbpf: Fix accessing BTF.ext core_relo header","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlibbpf: Fix accessing BTF.ext core_relo header\n\nUpdate btf_ext_parse_info() to ensure the core_relo header is present\nbefore reading its fields. This avoids a potential buffer read overflow\nreported by the OSS Fuzz project."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"cf579164e9ea9cd41c7c1da931683a319d224890","status":"affected","lessThan":"d529411ec44535308c5d59cbeff74be6fe14b479","versionType":"git"},{"version":"cf579164e9ea9cd41c7c1da931683a319d224890","status":"affected","lessThan":"3a67f60f0a8be10cea7a884a1a00e9feb6645657","versionType":"git"},{"version":"cf579164e9ea9cd41c7c1da931683a319d224890","status":"affected","lessThan":"0a7c2a84359612e54328aa52030eb202093da6e2","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/lib/bpf/btf.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.13","versionType":"semver"},{"version":"6.13.11","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14.2","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["tools/lib/bpf/btf.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d529411ec44535308c5d59cbeff74be6fe14b479"},{"url":"https://git.kernel.org/stable/c/3a67f60f0a8be10cea7a884a1a00e9feb6645657"},{"url":"https://git.kernel.org/stable/c/0a7c2a84359612e54328aa52030eb202093da6e2"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:18:02.501Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.13.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.14.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}