---
title: 'USN-8825-1: Requests vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-8825-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-8825-1

---

# USN-8825-1: Requests vulnerability

Publication date

28 September 2026

Overview

Requests could be made to crash or run programs as your login if it
opened a specially crafted file.

Releases

[26.04 LTS](https://ubuntu.com/security/notices?release=resolute)
[24.04 LTS](https://ubuntu.com/security/notices?release=noble)
[22.04 LTS](https://ubuntu.com/security/notices?release=jammy)
[20.04 LTS](https://ubuntu.com/security/notices?release=focal)

---

Open side navigation

## Packages

* [requests](https://ubuntu.com/security/cves?package=requests) - elegant and simple HTTP library for Python

## Details

It was discovered that Requests did not correctly handle generating
random temporary file paths. An attacker could possibly use this issue
to execute arbitrary code.

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 26.04 LTS resolute | [python3-requests](https://launchpad.net/ubuntu/+source/requests) –  [2.32.5+dfsg-1ubuntu1.1](https://launchpad.net/ubuntu/+source/requests/2.32.5+dfsg-1ubuntu1.1) | | |
| 24.04 LTS noble | [python3-requests](https://launchpad.net/ubuntu/+source/requests) –  [2.31.0+dfsg-1ubuntu1.2](https://launchpad.net/ubuntu/+source/requests/2.31.0+dfsg-1ubuntu1.2) | | |
| 22.04 LTS jammy | [python3-requests](https://launchpad.net/ubuntu/+source/requests) –  [2.25.1+dfsg-2ubuntu0.4](https://launchpad.net/ubuntu/+source/requests/2.25.1+dfsg-2ubuntu0.4) | | |
| 20.04 LTS focal | [python3-requests](https://launchpad.net/ubuntu/+source/requests) –  2.22.0-2ubuntu1.1+esm2   Ubuntu Pro | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2026-25645](https://ubuntu.com/security/CVE-2026-25645)
