brotli, brotlicffi: Google Brotli Unchecked Return Value Vulnerability
There is evidence it is being used against people now, on something Phylax follows.
Does it affect what I run?
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- brotli (PyPI): from 1.0.3, before 1.2.1
- brotlicffi (PyPI): from 1.0.3, before 1.2.1.0
- brotli (PyPI): every version, before 1.2.1
- brotlicffi (PyPI): every version, before 1.2.1.0
- github.com/andybalholm/brotli (Go): every version, before 1.2.7
The fix
brotli (PyPI) fixed in 1.2.1
pippython -m pip install brotli==1.2.1uvuv add brotli==1.2.1poetrypoetry add brotli@1.2.1Check what is installedpython -m pip show brotliPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency brotli to 1.2.1 or the nearest later release, to fix CVE-2026-111497. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.brotlicffi (PyPI) fixed in 1.2.1.0
pippython -m pip install brotlicffi==1.2.1.0uvuv add brotlicffi==1.2.1.0poetrypoetry add brotlicffi@1.2.1.0Check what is installedpython -m pip show brotlicffiPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency brotlicffi to 1.2.1.0 or the nearest later release, to fix CVE-2026-111497. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.github.com/andybalholm/brotli (Go) fixed in 1.2.7
gogo get github.com/andybalholm/brotli@v1.2.7Check what is installedgo list -m github.com/andybalholm/brotliPaste into Cursor, Lovable or Claude CodeUpgrade the Go dependency github.com/andybalholm/brotli to 1.2.7 or the nearest later release, to fix CVE-2026-111497. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
Exploited · Confirmed
It is in CISA's Known Exploited Vulnerabilities catalogue.
Exploited · Confirmed
CISA's assessment in the CVE record says exploitation is active.
CISA Vulnrichment (SSVC and KEV fields inside CVE records)Stated
Exploitable · Confirmed
EPSS puts the chance of exploitation in the next 30 days at 83%.
FIRST EPSSStated
Timeline
- First published here, as "Listed".
- Evidence added: CISA's assessment in the CVE record says exploitation is active. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))
- Level changed from "Listed" to "Act now".
- Fixed releases changed: added brotli 1.2.1, brotlicffi 1.2.1.0.
- Evidence added: EPSS rates exploitation in the next 30 days as more likely than not. (FIRST EPSS)
- Fixed releases changed: added github.com/andybalholm/brotli 1.2.7.