| 제목 | Ogre3D Ogre v14.4.1 / master commit f629d22 Heap-based Buffer Overflow |
|---|
| 설명 | The crash occurs because malformed image input can cause STB to decode into a pixel buffer that is smaller than required. Ogre’s STBIImageCodec::encode() passes this undersized buffer directly to stbi_write_png_to_mem without validating its size. Inside that function, stbiw__encode_png_line assumes the buffer is at least rowSpan * height bytes and reads width * channels bytes per row (plus neighbors for filters). When the buffer is shorter, it triggers out-of-bounds reads, leading to a heap-buffer-overflow. |
|---|
| 원천 | ⚠️ https://github.com/OGRECave/ogre/issues/3445 |
|---|
| 사용자 | sand (UID 90194) |
|---|
| 제출 | 2025. 09. 15. AM 05:32 (11 개월 ago) |
|---|
| 모더레이션 | 2025. 09. 26. AM 08:40 (11 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 325957 [OGRECave Ogre 까지 14.4.1 Image OgreSTBICodec.cpp STBIImageCodec::encode 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|