AAP-83418: Bump pyasn1 to 0.6.4 (CVE-2026-59886) - #370
Merged
Conversation
Fixes a denial-of-service in pyasn1 (< 0.6.4) where a short BER/CER/DER encoded REAL value can carry a very large exponent, causing excessive CPU/memory during float conversion. Direct, pinned dependency; latest patched release is 0.6.4. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #370 +/- ##
=======================================
Coverage 79.46% 79.46%
=======================================
Files 11 11
Lines 896 896
=======================================
Hits 712 712
Misses 184 184
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
de1987
approved these changes
Jul 20, 2026
Contributor
Author
|
/retest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira Issue: https://issues.redhat.com/browse/AAP-83418
Description
Bumps
pyasn1to the latest release 0.6.4 to fix CVE-2026-59886 (Red Hat: Important, CVSS 7.5).pyasn1 < 0.6.4decodes a BER/CER/DER-encodedREALvalue's mantissa/base/exponent to a Python float using exact big-integer exponentiation. A short encoded value can carry a very large exponent, soprettyPrint(),str(), comparison, arithmetic,int(), orfloat()on the decoded value consumes excessive CPU/memory — a denial of service.pyasn1is a direct, pinned dependency of this project. Only the dependency version changed — no source changes.Testing
Steps to test
uv lock --check— passespip-audit -r requirements.txt— no CVE-2026-59886Type of Change
Backport Policy
This change should be:
mainvia repo-sync. Equivalent downstream release-branch PRs:stable-2.7(Red Hat Konflux update aap-rag-embeddings-image #57) andstable-2.6([EMBEDDINGS] Control embeddings image build #58).Scenarios tested
uv lock --checkpasses;uv.lock,requirements.txt, andpyproject.tomlall pinpyasn1==0.6.4pyasn1entry — no other package movedProduction deployment
🤖 Generated with Claude Code