One of the necessary conditions for the vulnerability is stated as:
"At least one local account has a $5$ or $6$ password hash."
Those do not look like any hash values that I have ever seen, and seem
unlikely to arise randomly, so I must assume that I do not understand
the advisory.
So, are those literal hash values, or do $5$ and $6$ represent
something more general that I do not recognise?
Cheers.
--
On Wed, Nov 11, 2026 at 4:56 AM Ian Smith <m4r35n357@gmx.co.uk> wrote:
>> One of the necessary conditions for the vulnerability is stated as:>> "At least one local account has a $5$ or $6$ password hash.">> Those do not look like any hash values that I have ever seen, and seem> unlikely to arise randomly, so I must assume that I do not understand> the advisory.>> So, are those literal hash values, or do $5$ and $6$ represent> something more general that I do not recognise?
$5$ means SHA-256, and $6$ means SHA-512.
Jeff
On Wed, Nov 11, 2026 at 09:56:22AM +0000, Ian Smith wrote:
> One of the necessary conditions for the vulnerability is stated as:> > "At least one local account has a $5$ or $6$ password hash."> > Those do not look like any hash values that I have ever seen, and seem> unlikely to arise randomly, so I must assume that I do not understand> the advisory.> > So, are those literal hash values, or do $5$ and $6$ represent> something more general that I do not recognise?> > Cheers.> --
The hashes ar documented in crypt(3) (see "man 3 crypt" after installing
the "man-pages" package on Alpine Linux):
ID Method
─────────────────────────────────────────────────────────────────
1 MD5
2a Blowfish (not in mainline glibc; added in some Linux
distributions)
5 SHA-256 (since glibc 2.7)
6 SHA-512 (since glibc 2.7)
So, $5$ and $6$ indicates two different SHA hashing algorithms.
Cheers,
Andreas
This is about hash function used, not the actual hashed password.
From https://linuxize.com/post/etc-shadow-file/
Encrypted Password: The hashed password in $type$salt$hash format. The $type prefix identifies the hashing algorithm:
$1$ - MD5
$2b$ - bcrypt
$5$ - SHA-256
$6$ - SHA-512
$y$ - yescrypt (default on modern distributions such as Debian 13, Ubuntu 22.04+, and Fedora 35+)
The best to you
On Wed, Nov 11, 2026 at 09:56:22AM +0000, Ian Smith wrote:
> One of the necessary conditions for the vulnerability is stated as:> > "At least one local account has a $5$ or $6$ password hash."> > Those do not look like any hash values that I have ever seen, and seem> unlikely to arise randomly, so I must assume that I do not understand> the advisory.> > So, are those literal hash values, or do $5$ and $6$ represent> something more general that I do not recognise?> > Cheers.> --
I don't like how he refers to the musl (I pronounce it like muscle - he
says moose-L; but)
https://youtu.be/ErB1SRcksDc
<https://youtu.be/ErB1SRcksDc?is=ZXl3pfqj-9Gcx6mi>
He talks about it and explains in simple ish detail
Hope this helps
On Wed, Nov 11, 2026 at 5:30 AM Ian Smith <m4r35n357@gmx.co.uk> wrote:
> Thanks guys, I wouldn't have worked that one out! I'm a home> user, not a pro, so don't anyone panic ;)>> Cheers, Ian> -->