Skip to content

Name CVE-2026-118752 and CVE-2026-118753 in the changelog - #244

Merged
danoli3 merged 1 commit into
masterfrom
docs/cve-2026-118752-118753
Oct 31, 2026
Merged

danoli3 merged 1 commit into
masterfrom
docs/cve-2026-118752-118753

Conversation

@danoli3

@danoli3 danoli3 commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

The CNA has published two CVE records for overflows that are already fixed:

CVE Bug Affected Fixed in
CVE-2026-118752 Heap buffer overflow in the IFF/LBM PBM RLE decoder < 3.19.22 3.19.22 (#156, #161)
CVE-2026-118753 Heap buffer overflow in GIF_PLAYBACK compositing < 3.19.25 3.19.25 (#183)

The CNA did not assign an ID to the PluginRAS overflow. It was fixed in d474400, first released in 3.19.14, under CVE-2024-28578 and CVE-2024-28580 (#35). The 3.19.14 entry already says so.

Changelog

I checked each fix against the tags: 38fbe82/#161 is first in 3.19.22, 0da5ddb/#183 is first in 3.19.25, and d474400 is first in 3.19.14. Note that the GIF overflow was inherited from upstream 3.18's playback loop, which also offset by info.left without clipping.

Release notes to update after merge

GitHub release text can't be changed in a PR. These are the proposed edits to the published releases. Only the top sections change; "What's Changed" and the rest stay as they are.

3.19.22

## FreeImage 3.19.22

Security fixes for IFF PBM decoding, improved 32-bit compatibility, and installable Linux packages.

- **Fix an IFF PBM RLE heap buffer overflow ([CVE-2026-118752](https://www.cve.org/CVERecord?id=CVE-2026-118752))** by checking scanline bounds for literal and repeated pixels. Affects FreeImage before 3.19.22. Reported by @areofyl. (\#156, \#161)
- **Prevent malformed PBM files from hanging the decoder.** Reject truncated commands and payloads, and stop decoding at the declared BODY boundary. These robustness/DoS fixes are separate from the heap overflow fix. (\#162)
- Add **12 PBM regression tests**, including malformed inputs and byte-for-byte checks for valid images, with GCC AddressSanitizer coverage.
- **Fix OpenJPH SSE compilation on 32-bit GCC** and add MinGW i686 static/shared CI coverage. (\#155)
- **Fix public-header type redefinition conflicts** with MSVC 2013 and newer. (\#159)
- Set CMake shared-library **VERSION and SOVERSION** properties. (\#157)
- Add **Arch Linux, Debian 13, and Ubuntu 24.04 packages**, with system codec dependencies and pkg-config/CMake installation checks. (\#160)
- Numeric release tags now build and attach Linux packages, a source archive, an Arch recipe, and SHA-256 checksums to the GitHub release.

Bundled codec versions are unchanged from 3.19.21.

3.19.25

The current text says 3.19.25 fixed RAS and IFF and that no CVE IDs were assigned. Both statements are now wrong.

FreeImage 3.19.25 release notes:

- Bundle pinned HEIF/AVIF and JPEG XL codecs and dependencies for offline builds, while retaining optional system-library support.
- Add `FreeImage_GetChannelsNumber` for bitmap and typed image formats.
- Fix GIF playback bounds so malformed frames cannot write outside the logical screen ([CVE-2026-118753](https://www.cve.org/CVERecord?id=CVE-2026-118753)). Add regression tests.

These notes cover the changes since 3.19.24.

## Security
- **[CVE-2026-118753](https://www.cve.org/CVERecord?id=CVE-2026-118753): heap buffer overflow in `GIF_PLAYBACK` compositing.** Frame rectangles and disposal clears are now clipped to the logical screen. Affects FreeImage before 3.19.25; fixed here. (\#183)
- The same report also covered RAS and IFF/LBM PBM RLE. Both were already fixed in earlier releases, and 3.19.25 only adds regression tests:
  - RAS loop-counter and allocation overflow: fixed in 3.19.14 (d474400, [CVE-2024-28578](https://nvd.nist.gov/vuln/detail/CVE-2024-28578) / [CVE-2024-28580](https://nvd.nist.gov/vuln/detail/CVE-2024-28580)).
  - IFF PBM RLE heap overflow: fixed in 3.19.22 ([CVE-2026-118752](https://www.cve.org/CVERecord?id=CVE-2026-118752), \#156, \#161, \#162).
-  Reported-by: Tristan Madani (Talence Security) @TristanInSec

@TristanInSec

The CNA published IDs for the IFF PBM RLE overflow fixed in 3.19.22
(#156, #161) and the GIF_PLAYBACK compositing overflow fixed in 3.19.25
(#183). Credit the reporters, and note that 3.19.25 only added a RAS
regression test: the RAS fix shipped in 3.19.14 (d474400) under
CVE-2024-28578 and CVE-2024-28580.
@danoli3

danoli3 commented Oct 31, 2026

Copy link
Copy Markdown
Owner Author

Again massive thanks to @TristanInSec

@danoli3
danoli3 merged commit b947526 into master Oct 31, 2026
75 checks passed
@TristanInSec

Copy link
Copy Markdown

Again massive thanks to @TristanInSec

Thanks Dan for the great collaboration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants