Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Are stack overflows still effective?

I'm new in software security.
Ive noticed that compilers have something called stack smashing protection, which stops you from overflowing fully trough the stack on the compiled program.
Are stack overflows dying or its still effective nowadays?🤝
It is dieing out in stuff but remember 37% of windows are still XP machines etc so stack overflow is still usable.
[Image: T2TtNNn.png]
It seems to me that Heap attacks are rather more common than stack overflows, but you should have a working understanding of both.
SRPP Discord Server

I am a professional network/cloud security architect.
My Old Tutorials
Overflows are still prevalent in today's world but like Goodies said, you might want to get more comfortable with heap overflows because youll run into those more. Stack overflows, to me, tend to be easier because of how the stack is handled..compared to heap. If you understand stack overflows, heap overflows shouldnt be too hard for you.

Here's a nice little guide on the differences and properties of Stack vs Heap
http://gribblelab.org/CBootcamp/7_Memory..._Heap.html
#FREEKNIGHT

If you know me, PM me for new XMPP. Old one is dead
(Dec 1, 2014 09:38 AM)Ichi Wrote:  Overflows are still prevalent in today's world but like Goodies said, you might want to get more comfortable with heap overflows because youll run into those more. Stack overflows, to me, tend to be easier because of how the stack is handled..compared to heap. If you understand stack overflows, heap overflows shouldnt be too hard for you.

Here's a nice little guide on the differences and properties of Stack vs Heap
Alright thanks for the replies and thank you for that info site 🤝
Stack Overflows are still alive and well, most people say they aren't because of protection schemes (ASLR, DEP, Stack canaries, etc.) but they are. The heap is a very popular exploitation vector as well, it's just a different segment of memory that is used differently than the stack. I would suggest to anyone that learning both is basically required.
Basic stack smashing is definitely in decline. Some are still exploitable, but many are entirely mitigated. And to be pedantic, the stack and heap are in the same segment, but are different regions within that segment. Segment has a technical meaning. Stack overflows are mostly mitigated by canaries and a general lack of flexibility in terms of what you can clobber. DEP and ASLR matter, but you usually do not even get to them (usually other mitigations stop you from even getting to the point of being blocked by DEP or ASLR). Heap overflows happen, but use after free and type confusion are often easier to find. Stack overflows can be easier or harder depending on the details.
Good to know this, I really appreciate the expert opinions.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by MadScientistFeb 8, 2026 07:45 PM 6 295 Feb 8, 2026 07:45 PM
Last Post: charlesanthony
by DemoraliseJun 12, 2020 10:57 AM 10 248 Jun 12, 2020 10:57 AM
Last Post: Jean-Jacques Rousseau
by SIM-1866423Nov 10, 2014 08:06 AM 1 142 Nov 10, 2014 08:06 AM
Last Post: Ichi