StreamReader::ReadFromExternal in RenderDoc before 1.27 allows an Integer Overflow with a resultant Buffer Overflow. It uses uint32_t(m_BufferSize-m_InputSize) even though m_InputSize can exceed m_BufferSize.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://renderdoc.org/ | product |
https://www.qualys.com/2023/06/06/renderdoc/renderdoc.txt | third party advisory exploit |
http://seclists.org/fulldisclosure/2023/Jun/2 | mailing list third party advisory exploit |
http://packetstormsecurity.com/files/172804/RenderDoc-1.26-Local-Privilege-Escalation-Remote-Code-Execution.html | third party advisory vdb entry exploit |
https://lists.debian.org/debian-lts-announce/2023/07/msg00023.html | third party advisory mailing list |
https://security.gentoo.org/glsa/202311-10 | vendor advisory |