I don't pay a lot of attention to the Android OS, but I do recall there was a nasty exploit discovered about a year ago (called Stagefright) where a specially-crafted text message with a picture or image can cause malicious code to be run on the phone the moment the phone receives the message.
I can still buy 4.4 phones as new on my city.
If you ignore the hilarious security bugs --- like the fact that, as shipped, they forgot to disconnect the keyboard from a root shell, so that if you typed 'reboot' into an email hilarious things happened --- it actually runs rather well; it's smooth and perfectly satisfactory to use.
...holy crap Cupcake would run well on a modern phone.
Not that it matters much today...
Unfortunately its https library uses some obsolete crypto technique --- TLS 2? --- and as a result it can't connect to anything on the internet, not even to fetch updates from the App Market (not the Play Store!). I can't even log in to Google.
I did have Gingerbread on it at one point but it was very unhappy.
I found a partial Debian port but there's still not really enough RAM for that. I wonder if there's a NetBSD port...
I didn't know that the App Market doesn't work anymore - about 18 months back, my brother was still using it (as a backup phone, obviously).
Shitty Lollipop made me sell the Nexus 5 last year with its bad battery life and memory leak (and they still didn't fix the mobile radio wakelock), but when downgrading to 4.4 it was next to impossible to block the notification. I remember methods used at time just caused the Google Play Services to hold the wakelock, since the update checker became a part of it.
I'm really not impressed with the Nexus 5x at all compared to every other Nexus phone Ive had (2 others), both from a price and general performance perspective.