static uint8_t read_u8(uint8_t *data, size_t offset)
{
    return data[offset];
}

This category addresses vulnerabilities caused by flawed access control mechanisms, where incorrect permission settings allow unauthorized users to access restricted resources.