{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,10]],"date-time":"2026-06-10T16:36:11Z","timestamp":1781109371983,"version":"3.54.1"},"reference-count":60,"publisher":"IGI Global Scientific Publishing","issue":"2","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2010,4]]},"abstract":"<jats:p>Memory managers are an important part of modern language and are used to dynamically allocate memory. Many managers exist; however, two major types can be identified: manual memory allocators and garbage collectors. In the case of manual memory allocators, the programmer must manually release memory back to the system when it is no longer needed. Problems can occur when a programmer forgets to release it, releases it twice or uses freed memory. These problems are solved in garbage collectors. However, both manual memory allocators and garbage collectors store management information. This paper describes several vulnerabilities for C and C++ and how these could be remedied by modifying the management information of a representative manual memory allocator and garbage collector. Additionally, the authors present an approach that, when applied to memory managers, will protect against these attack vectors.<\/jats:p>","DOI":"10.4018\/jsse.2010040104","type":"journal-article","created":{"date-parts":[[2010,6,30]],"date-time":"2010-06-30T20:28:53Z","timestamp":1277929733000},"page":"57-82","source":"Crossref","is-referenced-by-count":3,"title":["Improving Memory Management Security for C and C++"],"prefix":"10.4018","volume":"1","author":[{"given":"Yves","family":"Younan","sequence":"first","affiliation":[{"name":"Katholieke Universiteit Leuven, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wouter","family":"Joosen","sequence":"additional","affiliation":[{"name":"Katholieke Universiteit Leuven, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Frank","family":"Piessens","sequence":"additional","affiliation":[{"name":"Katholieke Universiteit Leuven, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hans","family":"Van den Eynden","sequence":"additional","affiliation":[{"name":"Katholieke Universiteit Leuven, Belgium"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"2432","reference":[{"key":"jsse.2010040104-0","doi-asserted-by":"crossref","unstructured":"Abadi, M., Budiu, M., Erlingsson, U., & Ligatti, J. (2005, November). Control-flow integrity. In Proceedings of the 12th acm conference on computer and communications security, Alexandria, VA (p. 340-353).","DOI":"10.1145\/1102120.1102165"},{"key":"jsse.2010040104-1","unstructured":"Aleph One. (1996). Smashing the stack for fun and profit. Phrack, 49."},{"key":"jsse.2010040104-2","unstructured":"Alexander, S. (2005, June). Defeating compiler-level buffer overflow protection. ;login: The USENIX Magazine, 30(3). anonymous. (2001). Once upon a free. Phrack, 57."},{"key":"jsse.2010040104-3","doi-asserted-by":"crossref","unstructured":"Austin, T. M., Breach, S. E., & Sohi, G. S. (1994, June). Efficient detection of all pointer and array access errors. In Proceedings of the acm sigplan \u201994 conference on programming language design and implementation, Orlando, FL (pp. 290-301).","DOI":"10.1145\/178243.178446"},{"key":"jsse.2010040104-4","unstructured":"Avijit, K., Gupta, P., & Gupta, D. (2004, August). Tied, libsafeplus: Tools for runtime buffer overflow protection. In Proceedings of the 13th usenix security symposium, San Diego, CA."},{"key":"jsse.2010040104-5","unstructured":"Baratloo, A., Singh, N., & Tsai, T. (2000, June). Transparent run-time defense against stack smashing attacks. In Usenix 2000 annual technical conference proceedings, San Diego, CA (pp. 251-262)."},{"key":"jsse.2010040104-6","doi-asserted-by":"crossref","unstructured":"Barrantes, E. G., Ackley, D. H., Forrest, S., Palmer, T. S., Stefanovi\u0107, D., & Zovi, D. D. (2003, October). Randomized instruction set emulation to disrupt binary code injection attacks. In Proceedings of the 10th acm conference on computer and communications security (ccs2003), Washington, DC (pp. 281-289).","DOI":"10.1145\/948143.948147"},{"key":"jsse.2010040104-7","unstructured":"BBP. (2003, May). BSD heap smashing. Retrieved from http:\/\/www.security-protocols.com\/modules.php?name=News&file=article&sid=1586."},{"key":"jsse.2010040104-8","doi-asserted-by":"crossref","DOI":"10.1145\/1133981.1134000","article-title":"Probabilistic memory safety for unsafe languages","author":"E. D.Berger","year":"2006","journal-title":"Acm sigplan 2006 conference on programming language design and implementation (pldi 2006)"},{"key":"jsse.2010040104-9","doi-asserted-by":"crossref","unstructured":"Berger, E. D., Zorn, B. G., & McKinley, K. S. (2001, June). Composing high-performance memory allocators. In Proceedings of the acm sigplan 2001conference on programming language design and implementation (pldi), Snowbird, UT (pp. 114-124).","DOI":"10.1145\/378795.378821"},{"key":"jsse.2010040104-10","doi-asserted-by":"crossref","unstructured":"Berger, E. D., Zorn, B. G., & McKinley, K. S. (2002, Nov). Reconsidering custom memory allocation. In Proceedings of the 2002 acm sigplan conference on object-oriented programming systems, languages and applications (oopsla), Seattle, WA (pp. 1-12). New York: ACM Press.","DOI":"10.1145\/582419.582421"},{"key":"jsse.2010040104-11","unstructured":"Bhatkar, S., DuVarney, D. C., & Sekar, R. (2003, August). Address obfuscation: An efficient approach to combat a broad range of memory error exploits. In Proceedings of the 12th usenix security symposium, Washington, DC (pp. 105-120)."},{"key":"jsse.2010040104-12","unstructured":"Boehm, H. (n. d.). Conservative gc algroithmic overview. Retrieved from http:\/\/www.hpl.hp.com\/personal\/Hans_Boehm\/gc\/gcdescr.html"},{"key":"jsse.2010040104-13","unstructured":"Boehm, H. (n. d.). A garbage collector for c and c++. Retrieved from http:\/\/www.hpl.hp.com\/personal\/Hans_Boehm\/gc\/"},{"key":"jsse.2010040104-14","doi-asserted-by":"publisher","DOI":"10.1002\/spe.4380180902"},{"key":"jsse.2010040104-15","unstructured":"Bulba, & Kil3r. (2000). Bypassing Stackguard and stackshield. Phrack, 56."},{"key":"jsse.2010040104-16","doi-asserted-by":"crossref","unstructured":"Condit, J., Harren, M., McPeak, S., Necula, G. C., & Weimer, W. (2003). CCured in the real world. In Proceedings of the acm sigplan 2003 conference on programming language design and implementation, San Diego, CA (pp. 232-244).","DOI":"10.1145\/781131.781157"},{"key":"jsse.2010040104-17","unstructured":"Cowan, C., Beattie, S., Johansen, J., & Wagle, P. (2003, Aug). PointGuard: protecting pointers from buffer overflow vulnerabilities. In Proceedings of the 12th usenix security symposium, Washington, DC (pp. 91-104)."},{"key":"jsse.2010040104-18","unstructured":"Cowan, C., Pu, C., Maier, D., Hinton, H., Walpole, J., & Bakke, P. (1998, January). StackGuard: Automatic adaptive detection and prevention of buffer-overflow attacks. In Proceedings of the 7th usenix security symposium, San Antonio, TX (pp. 63-78)."},{"key":"jsse.2010040104-19","doi-asserted-by":"crossref","unstructured":"Dhurjati, D., Kowshik, S., Adve, V., & Lattner, C. (2003, June). Memory safety without runtime checks or garbage collection. In Proceedings of the 2003 acm sigplan conference on language, compiler, and tool support for embedded systems, San Diego, CA (pp. 69-80).","DOI":"10.1145\/780732.780743"},{"key":"jsse.2010040104-20","unstructured":"Dobrovitski, I. (2003, February). Exploit for CVS double free() for linux pserver. Retrieved from http:\/\/seclists.org\/lists\/bugtraq\/2003\/Feb\/0042.html"},{"key":"jsse.2010040104-21","unstructured":"Free Software Foundation. (n. d.). The gnu c library. Retrieved from http:\/\/http:\/\/www.gnu.org\/software\/libc."},{"key":"jsse.2010040104-22","unstructured":"Gloger, W. (n. d.). ptmalloc. Retrieved from http:\/\/www.malloc.de\/en\/."},{"key":"jsse.2010040104-23","doi-asserted-by":"crossref","unstructured":"Grossman, D., Morrisett, G., Jim, T., Hicks, M., Wang, Y., & Cheney, J. (2002, June). Region-based memory management in cyclone. In Proceedings of the 2002 acm sigplan conference on programming language design and implementation, Berlin (pp. 282-293).","DOI":"10.1145\/512529.512563"},{"key":"jsse.2010040104-24","doi-asserted-by":"crossref","unstructured":"Grunwald, D., Zorn, B., & Henderson, R. (1993, June). Improving the cache locality of memory allocation. In Proceedings of the acm sigplan 1993 conference on programming language design and implementation (pldi), New York (pp. 177-186).","DOI":"10.1145\/155090.155107"},{"key":"jsse.2010040104-25","doi-asserted-by":"publisher","DOI":"10.1109\/2.869367"},{"key":"jsse.2010040104-26","first-page":"275","article-title":"A safe dialect of C","author":"T.Jim","year":"2002","journal-title":"Usenix annual technical conference"},{"key":"jsse.2010040104-27","doi-asserted-by":"crossref","unstructured":"Johnstone, M. S., & Wilson, P. R. (1998, Oct). The memory fragmentation problem: Solved? In Proceedings of the 1st acm sigplan international symposium on memory management, Vancouver, Canada (pp. 26-36). New York: ACM.","DOI":"10.1145\/286860.286864"},{"key":"jsse.2010040104-28","unstructured":"Jones, R. W. M., & Kelly, P. H. J. (1997). Backwards-compatible bounds checking for arrays and pointers in C programs. In Proceedings of the 3rd international workshop on automatic debugging (pp. 13-26). Link\u00f6ping, Sweden: Link\u00f6ping University Electronic Press."},{"key":"jsse.2010040104-29","unstructured":"Kaempf, M. (2001). Vudo - an object superstitiously believed to embody magical powers. Phrack, 57."},{"key":"jsse.2010040104-30","unstructured":"Kaempf, M. M. (n. d.). Sudo < 1.6.3p7-2 exploit. Retrieved from http:\/\/packetstormsecurity.org\/0211-exploits\/hudo.c"},{"key":"jsse.2010040104-31","doi-asserted-by":"crossref","unstructured":"Kc, G. S., Keromytis, A. D., & Prevelakis, V. (2003, October). Countering code-injection attacks with instruction-set randomization. In Proceedings of the 10th acm conference on computer and communications security (ccs2003), Washington, DC (pp. 272-280).","DOI":"10.1145\/948109.948146"},{"key":"jsse.2010040104-32","unstructured":"Kiriansky, V., Bruening, D., & Amarasinghe, S. (2002, August). Secure execution via program shepherding. In Proceedings of the 11th usenix security symposium, San Francisco, CA."},{"key":"jsse.2010040104-33","doi-asserted-by":"crossref","unstructured":"Kowshik, S., Dhurjati, D., & Adve, V. (2002, October). Ensuring code safety without runtime checks for real-time control systems. In Proceedings of the international conference on compilers architecture and synthesis for embedded systems, Grenoble, France (pp. 288-297). Retrieved from http:\/\/llvm.cs.uiuc.edu\/pubs\/2002-08-08-CASES02-ControlC.html","DOI":"10.1145\/581630.581678"},{"key":"jsse.2010040104-34","author":"J.Koziol","year":"2004","journal-title":"The shellcoder\u2019s handbook: Discovering and exploiting security holes"},{"key":"jsse.2010040104-35","unstructured":"Krennmair, A. (2003, Novomber). ContraPolice: a libc extension for protecting applications from heap-smashing attacks. Retrieved from http:\/\/www.synflood.at\/contrapolice\/."},{"key":"jsse.2010040104-36","doi-asserted-by":"publisher","DOI":"10.1109\/MS.2004.1293079"},{"key":"jsse.2010040104-37","unstructured":"Lea, D., & Gloger, W. (n. d.). malloc-2.7.2.c. Comments in source code. Retrieved from http:\/\/gee.cs.oswego.edu\/dl\/html\/malloc.html"},{"key":"jsse.2010040104-38","unstructured":"Lea, D., & Gloger, W. (n. d.). A memory allocator. Retrieved from http:\/\/gee.cs.oswego.edu\/dl\/html\/malloc.html"},{"key":"jsse.2010040104-39","doi-asserted-by":"crossref","unstructured":"Necula, G., McPeak, S., & Weimer, W. (2002, January). CCured: Type-safe retrofitting of legacy code. In Proceedings of the Conference record of popl 2002: The 29th sigplan-sigact symposium on principles of programming languages, Portland, OR (pp. 128-139).","DOI":"10.1145\/565816.503286"},{"key":"jsse.2010040104-40","unstructured":"Pas, R. van der. (2002, November). Memory hierarchy in cache-based systems (Tech. Rep. No. 817-0742-10). Santa Clara, CA: Sun Microsystems."},{"key":"jsse.2010040104-41","unstructured":"Perens, B. (n. d.). Electric fence 2.0.5.Retrieved from http:\/\/perens.com\/FreeSoftware\/"},{"key":"jsse.2010040104-42","unstructured":"Phantasmagoria, P. (n. d.). The malloc maleficarum. Retrieved from http:\/\/lists.grok.org.uk\/pipermail\/full-disclosure\/2005-October\/037905.html"},{"key":"jsse.2010040104-43","unstructured":"Robertson, W., Kruegel, C., Mutz, D., & Valeur, F. (2003, October). Run-time detection of heap-based overflows. In Proceedings of the 17th large installation systems administrators conference, San Diego, CA (pp. 51-60)."},{"key":"jsse.2010040104-44","unstructured":"Ruwase, O., & Lam, M. S. (2004, February). A practical dynamic buffer overflow detector. In Proceedings of the 11th annual network and distributed system security symposium, San Diego, CA."},{"key":"jsse.2010040104-45","doi-asserted-by":"crossref","unstructured":"Shacham, H., Page, M., Pfaff, B., Goh, E. J., Modadugu, N., & Boneh, D. (2004, October). On the Effectiveness of Address-Space Randomization. In Proceedings of the 11th acm conference on computer and communications security, Washington, DC (p. 298-307). New York: ACM Press.","DOI":"10.1145\/1030083.1030124"},{"key":"jsse.2010040104-46","unstructured":"Solar Designer. (2000, July). JPEG COM marker processing vulnerability in netscape browsers. Retrieved from http:\/\/www.openwall.com\/advisories\/OW-002-netscape-jpeg.txt."},{"key":"jsse.2010040104-47","unstructured":"Solar Designer. (n. d.). Non-executable stack patch. Retrieved from http:\/\/www.openwall.com"},{"key":"jsse.2010040104-48","unstructured":"Sovarel, N., Evans, D., & Paul, N. (2005, August). Where\u2019s the FEEB? the effectiveness of instruction set randomization. In Proceedings of the 14th usenix security symposium, Baltimore, MD."},{"key":"jsse.2010040104-49","author":"W. R.Stevens","year":"1993","journal-title":"Advanced programming in the unix enironment"},{"key":"jsse.2010040104-50","unstructured":"The PaX Team. (n. d.). Documentation for the PaX project. Retrieved from http:\/\/pageexec.virtualave.net\/docs\/"},{"key":"jsse.2010040104-51","unstructured":"Wojtczuk, R. (1998). Defeating Solar Designer\u2019s Non-executable Stack Patch. Retrieved from http:\/\/www.insecure.org\/sploits\/non-executable.stack.problems.html"},{"key":"jsse.2010040104-52","doi-asserted-by":"crossref","unstructured":"Xu, W., DuVarney, D. C., & Sekar, R. (2004, October-November). An Efficient and Backwards-Compatible Transformation to Ensure Memory Safety of C Programs. In Proceedings of the 12th acm sigsoft international symposium on foundations of software engineering, Newport Beach, CA (pp. 117-126). New York: ACM Press.","DOI":"10.1145\/1029894.1029913"},{"key":"jsse.2010040104-53","doi-asserted-by":"crossref","unstructured":"Yong, S. H., & Horwitz, S. (2003, September). Protecting C programs from attacks via invalid pointer dereferences. In Proceedings of the 9th european software engineering conference held jointly with 10th acm sigsoft international symposium on foundations of software engineering (pp. 307-316). New York: ACM Press.","DOI":"10.1145\/940071.940113"},{"key":"jsse.2010040104-54","unstructured":"Younan, Y. (2003). An overview of common programming security vulnerabilities and possible solutions. Unpublished master's thesis, Vrije Universiteit Brussel."},{"key":"jsse.2010040104-55","unstructured":"Younan, Y. (2005). Dnmalloc 1.0. Retrieved from http:\/\/www.fort-knox.org"},{"key":"jsse.2010040104-56","unstructured":"Younan, Y., Joosen, W., & Piessens, F. (2004, July). Code injection in C and C++: A survey of vulnerabilities and countermeasures (Tech. Rep. No. CW386). Leuven, Belgium: Departement Computerwetenschappen, Katholieke Universiteit Leuven."},{"key":"jsse.2010040104-57","doi-asserted-by":"crossref","unstructured":"Younan, Y., Joosen, W., & Piessens, F. (2006, December). Efficient protection against heap-based buffer overflows without resorting to magic. In Proceedings of the international conference on information and communication security (icics 2006), Raleigh, NC.","DOI":"10.1007\/11935308_27"},{"key":"jsse.2010040104-58","unstructured":"Younan, Y., Joosen, W., Piessens, F., & Eynden, H. V. den. (2005, July). Security of memory allocators for C and C++ (Tech. Rep. No. CW419). Leuven, Belgium: Departement Computerwetenschappen, Katholieke Universiteit Leuven."},{"key":"jsse.2010040104-59","unstructured":"Zen-parse. (n. d.). Wu-ftpd 2.6.1 exploit. Retrieved from http:\/\/www.derkeiler.com\/Mailing-Lists\/securityfocus\/vuln-dev\/2001-12\/0160.html"}],"container-title":["International Journal of Secure Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.igi-global.com\/viewtitle.aspx?TitleId=43926","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,2,22]],"date-time":"2025-02-22T07:33:29Z","timestamp":1740209609000},"score":1,"resource":{"primary":{"URL":"http:\/\/services.igi-global.com\/resolvedoi\/resolve.aspx?doi=10.4018\/jsse.2010040104"}},"subtitle":[""],"short-title":[],"issued":{"date-parts":[[2010,4]]},"references-count":60,"journal-issue":{"issue":"2"},"URL":"https:\/\/doi.org\/10.4018\/jsse.2010040104","relation":{},"ISSN":["1947-3036","1947-3044"],"issn-type":[{"value":"1947-3036","type":"print"},{"value":"1947-3044","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,4]]}}}