SB2026072286 - Multiple vulnerabilities in libseccomp
Published: July 22, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Integer overflow (CVE-ID: N/A)
CWE-ID: CWE-190 - Integer overflow
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause heap corruption.
The vulnerability exists due to integer overflow in seccomp BPF generation in libseccomp when compiling unusually large attacker-controlled seccomp profiles. A remote attacker can supply a specially crafted oversized seccomp profile to cause heap corruption.
This issue can occur when generated BPF instruction counts exceed 65,535 and wrap the internal struct bpf_program.blk_cnt field; the resulting corruption may include a double-free.
CWE-ID: CWE-415 - Double Free
CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to double free in _bpf_append_blk() in src/gen_bpf.c when generating BPF filters from an extremely large seccomp rule set. A remote attacker can supply a specially crafted oversized seccomp profile to cause a denial of service.
The issue occurs during filter generation before the filter is loaded into the kernel, and exploitation requires an unusually large non-default rule set of roughly 66,000 rules.
3) Always-Incorrect Control Flow Implementation (CVE-ID: N/A)
CWE-ID: CWE-670 - Always-Incorrect Control Flow Implementation
CVSSv4: 8.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass intended seccomp restrictions.
The vulnerability exists due to a logic error in _db_tree_add() in libseccomp filter tree construction when merging multiple rules for the same syscall and the same 64-bit argument using SCMP_CMP_LT or SCMP_CMP_LE. A remote attacker can supply input that reaches a syscall argument range the policy was intended to deny to bypass intended seccomp restrictions.
The issue affects 64-bit architectures only and requires overlapping rules with the same high 32-bit comparison value, different low 32-bit values, and different actions.
Remediation
Install update from vendor's website.
References
- https://github.com/seccomp/libseccomp/security/advisories/GHSA-2hqh-5c36-grrm
- https://github.com/seccomp/libseccomp/commit/dc9fcd66d0c282a698f1f036a9af61c9aae967eb
- https://github.com/seccomp/libseccomp/security/advisories/GHSA-46fr-jh49-xvhx
- https://github.com/seccomp/libseccomp/commit/2d9db17cc0daa7f0d6b826091bb15d519ac512cc
- https://github.com/seccomp/libseccomp/security/advisories/GHSA-4q85-33p6-j5g6
- https://github.com/seccomp/libseccomp/commit/700b140cdd63a84ff20b4042534df911224af532