Memory Management Vulnerability in Tinyproxy: CVE-2022-40468

tinyproxy Updated 03 Oct 2025

Summary

06/01/2025
N/A
Yes i
Unrated
Not published

USN-7140-2: tinyproxy vulnerability. Affects tinyproxy versions < 1.8.3-3ubuntu14.04.1~esm2. Fixed in 1.8.3-3ubuntu14.04.1~esm2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Tinyproxy is a lightweight HTTP/HTTPS proxy daemon designed to be fast and efficient. It is commonly used to provide web access to clients while maintaining privacy and security. Tinyproxy allows users to configure custom error pages, which can enhance user experience. However, it has been found to have a vulnerability that affects its memory management, leading to potential data leaks.

Vulnerability Detail

The vulnerability, identified as CVE-2022-40468, arises from Tinyproxy's improper management of memory under specific conditions. This flaw can be exploited by an attacker to leak sensitive heap data when custom error page templates containing non-standard variables are utilized. The implications of this vulnerability are significant, as it could expose sensitive information and compromise the security of the system running Tinyproxy.

How To Fix

Minimum fixed version

1.8.3-3ubuntu14.04.1~esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tinyproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, consider disabling the use of custom error page templates until the package is updated to the patched version. This can help mitigate the risk of data leakage while maintaining basic functionality.

Conclusion

The vulnerability CVE-2022-40468 in Tinyproxy poses a significant risk due to improper memory management, potentially leading to data leaks. It is crucial to update to the patched version to secure your system. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for tinyproxy →

Share this vulnerability

FAQ

CVE-2022-40468 is a vulnerability in Tinyproxy that allows attackers to potentially leak sensitive heap data due to improper memory management.

You can check your version of Tinyproxy by running 'tinyproxy -v' in your terminal. If it is below 1.8.3-3ubuntu14.04.1~esm2, it is affected.

The primary risk is the potential exposure of sensitive information stored in memory, which could be exploited by attackers to gain unauthorized access to data.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using a manifest file like package-lock.json. You can check your application for vulnerabilities using the Vulert playground without signup.

If immediate updates are not possible, disable custom error pages as a temporary workaround to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for tinyproxy.

How To Fix

Minimum fixed version

1.8.3-3ubuntu14.04.1~esm2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade tinyproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback