{"answers":{"affected":"3 open source packages ship an affected version, including libpython, python and python-min.","exploited":"There is no known exploitation of CVE-2025-15367 in the wild and no public exploit code.","fix":"Upgrade libpython to 3.15.0 or later.","what":"CVE-2025-15367 is a medium-severity command injection vulnerability in CPython, published on 20 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-15367 and fix it if it is affected.\n\nWhat it is: CVE-2025-15367 is a medium-severity command injection vulnerability in CPython, published on 20 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-15367 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- libpython (Bitnami): affected all versions; fixed in 3.15.0\n- python (Bitnami): affected all versions; fixed in 3.15.0\n- python-min (Bitnami): affected all versions; fixed in 3.15.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-15367/ (Markdown: https://insights.sbomify.com/CVE-2025-15367/index.md)","id":"CVE-2025-15367","markdown":"https://insights.sbomify.com/CVE-2025-15367/index.md","name":"CVE-2025-15367","record":{"aliases":["AZL-75038","AZL-75050","AZL-84269","BELL-CVE-2025-15367","BIT-libpython-2025-15367","BIT-python-2025-15367","BIT-python-min-2025-15367","CLSA-2026-1771597605","CLSA-2026-1771930823","CLSA-2026-1771931183","CLSA-2026-1772098033","CLSA-2026-1772103023","CLSA-2026-1774520206","CLSA-2026-1775059689","CLSA-2026-1775222005","CLSA-2026-1775223681","DEBIAN-CVE-2025-15367","ECHO-077b-81db-c985","GHSA-g82h-mgfp-jx8g","MINI-cv59-332m-5cpq","MINI-fxhm-fpf4-7q58","MINI-g63c-73wp-wqpq","MINI-rmxr-wc9h-7mx8","MINI-vccr-rx6c-xxw5","PSF-2026-4","RHSA-2026:5994","ROOT-OS-DEBIAN-12-CVE-2025-15367","ROOT-OS-DEBIAN-13-CVE-2025-15367","UBUNTU-CVE-2025-15367"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python standard library","requires_auth":"high_privilege","summary":"Attackers can inject commands into the Python poplib module via user-controlled input, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PSF","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"The poplib module, when passed a user-controlled command, can have\nadditional commands injected using newlines. Mitigation rejects commands\ncontaining control characters.","ecosystems":["Bitnami","Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"POP3 command injection in user-controlled commands","id":"CVE-2025-15367","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":19,"n_references":4,"next":{"headline":"SportsPress \u003c= 2.7.26 - Authenticated (Contributor+) Local File Inclusion via Shortcode","id":"CVE-2025-15368"},"packages":[{"ecosystem":"Bitnami","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"libpython","purl":"pkg:bitnami/libpython","source":"BIT-libpython-2025-15367"},{"ecosystem":"Bitnami","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"python","purl":"pkg:bitnami/python","source":"BIT-python-2025-15367"},{"ecosystem":"Bitnami","fixed":["3.15.0"],"introduced":["0"],"last_affected":[],"package":"python-min","purl":"pkg:bitnami/python-min","source":"BIT-python-min-2025-15367"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python-unversioned-command","purl":"pkg:rpm/redhat/python-unversioned-command","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3","purl":"pkg:rpm/redhat/python3","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-debug","purl":"pkg:rpm/redhat/python3-debug","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-devel","purl":"pkg:rpm/redhat/python3-devel","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-idle","purl":"pkg:rpm/redhat/python3-idle","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-libs","purl":"pkg:rpm/redhat/python3-libs","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-test","purl":"pkg:rpm/redhat/python3-test","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3-tkinter","purl":"pkg:rpm/redhat/python3-tkinter","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14","purl":"pkg:rpm/redhat/python3.14","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading","purl":"pkg:rpm/redhat/python3.14-freethreading","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-debug","purl":"pkg:rpm/redhat/python3.14-freethreading-debug","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-devel","purl":"pkg:rpm/redhat/python3.14-freethreading-devel","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-idle","purl":"pkg:rpm/redhat/python3.14-freethreading-idle","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-libs","purl":"pkg:rpm/redhat/python3.14-freethreading-libs","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-test","purl":"pkg:rpm/redhat/python3.14-freethreading-test","source":"RHSA-2026:5994"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:3.14.3-2.hum1"],"introduced":["0"],"last_affected":[],"package":"python3.14-freethreading-tkinter","purl":"pkg:rpm/redhat/python3.14-freethreading-tkinter","source":"RHSA-2026:5994"}],"prev":{"headline":"IMAP command injection in user-controlled commands","id":"CVE-2025-15366"},"products":["CPython"],"published":"2026-01-20","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["Python Software Foundation"]},"summary":"Attackers can inject commands into the Python poplib module via user-controlled input, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2025-15367/"}