The ovrimos_longreadlen function in the Ovrimos extension for PHP before 4.4.5 allows context-dependent attackers to write to arbitrary memory locations via the result_id and length arguments.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-1374
http://www.securityfocus.com/bid/22833