Skip to content

[CVE-2026-4738] infback9: Remove offset pointer optimization in inftrees.c.#1235

Open
CrossVR wants to merge 1 commit into
madler:developfrom
CrossVR:fix-CVE-2016-9840
Open

[CVE-2026-4738] infback9: Remove offset pointer optimization in inftrees.c.#1235
CrossVR wants to merge 1 commit into
madler:developfrom
CrossVR:fix-CVE-2016-9840

Conversation

@CrossVR
Copy link
Copy Markdown

@CrossVR CrossVR commented May 9, 2026

This PR addresses CVE-2026-4738 which appears to have been patched in a downstream repository, but it doesn't look like it was ever been submitted to the upstream zlib repository.

I'm not knowledgeable on the specifics of this exploit, but I thought I'd offer it in case this fix simply fell through the cracks.

As noted in the downstream PR this is basically the fix for CVE-2016-9840 being applied to infback9.

@CrossVR
Copy link
Copy Markdown
Author

CrossVR commented May 9, 2026

I also submitted a PR that would get rid of infback9 altogether if the time is right to add support to the main zlib inflate implementation: #1236

This would avoid a situation in the future where an exploit patched in the main implementation doesn't get patched in the infback9 fork.

@CrossVR CrossVR changed the title infback9: Remove offset pointer optimization in inftrees.c. [CVE-2026-4738] infback9: Remove offset pointer optimization in inftrees.c. May 12, 2026
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