I have an Apple Magic Keyboard with Numeric Keypad. And after last update of my iMac 2017 27" to Ventura 13.4.1 (c) the number keys on the second from top row of the keyboard have stopped working. Additionally, the left Control key is also not functioning. But number keys from the numeric keypad (on right side) work well.
After I connected my keyboard to MBP that I use for work the problem is still here. So I think that something bad was set up to keyboard on my iMac and so factory reset can help me.
I tried all the "solutions" for my problem that I found in the internet, but nothing helped me :-(
Apple support didn't help too. They recommended that I take the keyboard for repairs to the nearest service center.