8000 gh-136053: Memory Safety Issue in marshal.c TYPE_SLICE Case by akshat62 · Pull Request #136054 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-136053: Memory Safety Issue in marshal.c TYPE_SLICE Case #136054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
📜🤖 Added by blurb_it.
  • Loading branch information
blurb-it[bot] authored Jun 27, 2025
commit 7c95d8f323c6b55e54d74072f50a86810ba23279
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a potential out-of-bounds memory access vulnerability in the ``TYPE_SLICE`` case of the ``r_object`` function in ``marshal.c``. The code now properly checks if ``r_ref_reserve()`` fails before using its return value, preventing crashes or security issues when deserializing malicious marshal data.
Loading
0