PatchHawk finds security-relevant fixes in release diffs. Selected PoCs include write-ups, repro steps, and pre/post comparisons: https://t.co/IvdPqJwPbP
Follow @patchhawk_ for more fixes explained with real code and verifiable PoCs. #PatchHawk#78ResearchLab
PostgreSQL 18.6’s pg_restore crashed on a negative INDEX dependency in parallel restore. Memcheck saw out-of-bounds heap reads; 18.7 rejected the ID. PostgreSQL’s advisory says crafted archives can execute code as the pg_restore OS user: https://t.co/yv4Sh7SD5f
PostgreSQL 18.7 checks the archive member with lstat() before opening it. A symlink fails the regular-file check. The patch also checks Windows reparse tags. Full diff: https://t.co/jHBuJOY5iW
pg_restore can emit SQL without connecting to a database. Our test used a marker file outside the archive; a data member pointed to it. With a regular data file, both 18.6 and 18.7 emitted the original row.
PostgreSQL 18.6’s pg_restore followed a symlink inside a directory archive and printed a controlled file outside it as COPY data. 18.7 rejects the same archive.
PatchHawk finds security-relevant fixes in release diffs. Selected PoCs include write-ups, repro steps, and pre/post comparisons: https://t.co/IvdPqJwPbP
Follow @patchhawk_ for more fixes explained with real code and verifiable PoCs. #PatchHawk#78ResearchLab
Assimp issue #6634 reported this over-read. we reproduced the pre/post difference automatically via public aiImportFile() in Docker. PoC, control and logs: https://t.co/6GaXIam3Xe
The 6.0.6 patch checks count < 2 before building faces or reading indexBuffer[1]. If the list is too short, Assimp warns and skips that primitive; the rest of the import can still succeed. Patch: https://t.co/t7D3m2ONzJ
Assimp 6.0.5 reads beyond a glTF2 index buffer when LINE_LOOP has just one index. In Docker, aiImportFile() triggers a 4-byte ASan heap-buffer-overflow read. 6.0.6 drops the invalid primitive. No code execution was demonstrated.
Assimp loads 3D models for apps using its import API. A glTF2 file supplies the primitive mode and index list. In 6.0.5, the LINE_LOOP/LINE_STRIP branch created faces and read indexBuffer[0] and [1] without checking that two indices existed.
7-Zip’s NTFS reader parses the $Volume MFT record while opening an image. A $VOLUME_INFORMATION attribute should carry 12 bytes: the NTFS version sits at offsets 8 and 9. The payload length comes from the image, and 26.04 read those version bytes without checking it.
7-Zip 26.04 read two bytes past an 8-byte heap buffer while listing a crafted NTFS image. It printed those bytes as the volume version: "File System = NTFS 0.0". 26.05 skips the short attribute before reading.
Release diff: https://t.co/381Isj3E2f
PDFio is a small C PDF library from the CUPS author — libcupsfilters 2.2 made it the printing stack's PDF engine. pdfioFileCreateImageObjFromFile() is called by applications like libcups' ipptransform on untrusted image files. No PDF-parsing path reaches it.
PDFio 1.6.4 has a heap overflow you steer with the image: import a 16-bit PNG with alpha and libpng writes the image's pixel bytes past the buffer — up to 16384 bytes. The 1.6.5 note: "Fixed import of 16-bit PNG files with alpha." No CVE or GHSA in the sources we checked.
PatchHawk scans release diffs for security fixes. For selected cases, we share the input, Docker steps, and before/after logs so you can check our work: https://t.co/IvdPqJwPbP
Follow @patchhawk_ for more patch notes backed by code. #PatchHawk#78ResearchLab
PatchHawk flagged pngrutil.c in the diff. We ran the same PNG through libpng’s public API on both releases. ASan caught a one-byte read from freed memory in 1.6.58. The 1.6.59 run ended with a handled parser error and no ASan finding.
PoC: https://t.co/sAsPJckowv
In our test, a broken zTXt chunk leaves zlib pointing into libpng’s chunk buffer. The next, larger tEXt chunk frees that buffer. In 1.6.59, libpng clears the pointer before releasing the stream.
Patch: https://t.co/FcLDGqXKcZ
libpng 1.6.58 has a use-after-free in an unusual read path. A crafted PNG can make libpng read freed memory if an app calls png_read_end() after png_read_info() but before reading any image rows. Version 1.6.59 fixes it.
Advisory: https://t.co/3k9YjChKLw
PatchHawk looks for security fixes in software updates. For selected cases, we share the code change and steps to reproduce the bug: https://t.co/IvdPqJwPbP
Follow @patchhawk_ for more fixes explained through code. #PatchHawk#78ResearchLab
FreeType later changed SHZ, the instruction that moves points in a glyph. It now picks the right set of points and stops at the end of that set. The two cards show the code. This fix came after 2.14.3. https://t.co/YDWA4b8feX