Skip to content

Add tcache dup (with off-by-one or other ability) technique#234

Closed
RocketMaDev wants to merge 3 commits intoshellphish:masterfrom
RocketMaDev:patch-tcache-dup-overflow
Closed

Add tcache dup (with off-by-one or other ability) technique#234
RocketMaDev wants to merge 3 commits intoshellphish:masterfrom
RocketMaDev:patch-tcache-dup-overflow

Conversation

@RocketMaDev
Copy link
Copy Markdown

This technique is inspired by https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=eff1f680cffb005a5623d1c8a952d095b988d6a2 and can be used until glibc 2.42.

@RocketMaDev RocketMaDev force-pushed the patch-tcache-dup-overflow branch from de5dbd4 to 8319575 Compare April 14, 2026 09:17
@Kyle-Kyle
Copy link
Copy Markdown
Contributor

Kyle-Kyle commented Apr 14, 2026

About the technique itself. This vulnerability requires two primitives: 1. one byte overwrite 2. double free.
I think the one-byte overwrite itself is already enough for exploitation (just enlarge to the size of the chunk from 0x31 to 0x61 and free it, then you have chunk overlapping). Considering this, I don't think this technique is quite interesting.

And let's limit the discussion about tcache_metadata_hijack to #235. Also, note that the actual commit is mentioned in the technique itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants