mumblegrepper on Nostr: You can circumvent clamonacc by placing your malware in directories with a pathlength ...
You can circumvent clamonacc by placing your malware in directories with a pathlength greater than 1024 characters, which is perfectly valid on eg. ext4. The code provides 1024 bytes to readlink(), which will happily truncate the path when its longer than that. Afterwards clamav tries to open a nonexistant file.
Published at
2026-06-29 05:38:25 UTCEvent JSON
{
"id": "19f6cb85896abb4dc83da44eb2d799c02233d96c657e9d40620353049579bf15",
"pubkey": "0aac9b2b622a48d1286e8dfd8eaed6d213fd5599e70689fb6c81d499ac90fbe5",
"created_at": 1782711505,
"kind": 1,
"tags": [
[
"proxy",
"https://flokinet.social/@mumblegrepper/116831781229161084",
"web"
],
[
"proxy",
"https://flokinet.social/users/mumblegrepper/statuses/116831781229161084",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://flokinet.social/users/mumblegrepper/statuses/116831781229161084",
"pink.momostr"
],
[
"-"
]
],
"content": "You can circumvent clamonacc by placing your malware in directories with a pathlength greater than 1024 characters, which is perfectly valid on eg. ext4. The code provides 1024 bytes to readlink(), which will happily truncate the path when its longer than that. Afterwards clamav tries to open a nonexistant file.",
"sig": "8e942fa9a93daf3b7bceb903795335cc2d3774ada8759bf7ecd39b54dd8271d46d4091ad0cd7b0087d9f63f187903e46a0929787e548741ef103b50596733c81"
}