A heap-buffer-overflow vulnerability exists in the Rust wrapper for libnftnl (nftnl-rs) in the Batch::with_page_size constructor. Providing a small or malformed page size causes insufficient buffer allocation in the underlying C code, leading to out-of-bounds writes during batch initialization. This flaw was fixed in version 0.9.0 by adding an overflow check that aborts on unsafe sizes.