CVE-2022-40468
Tinyproxy commit 84f203f and earlier does not process HTTP request lines in the process_request()...
CVE-2022-40468 is a high vulnerability (CVSS 7.5) in Tinyproxy Project Tinyproxy, published September 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.90%, the 79th percentile. Fixed in tinyproxy 1.11.1-r2.
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
CVE-2022-40468- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-1188
- Updated
- 2026-11-02
CVE List No score
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
CVE-2022-40468- Updated
- 2026-11-02
EUVDEUVD-2022-43746 No score
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
EUVD-2022-43746- Updated
- 2026-11-02
GitHub AdvisoriesGHSA-h3r7-x4mp-2c39
7.5
Tinyproxy commit 84f203f and earlier does not process HTTP request lines in the process_request()...
Tinyproxy commit 84f203f and earlier does not process HTTP request lines in the process_request() function and is using uninitialized buffers. This vulnerability allows attackers to access sensitive information at system runtime.
- Record
GHSA-h3r7-x4mp-2c39- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-1188
- Updated
- 2026-11-02
OSVALPINE-CVE-2022-40468
7.5
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
ALPINE-CVE-2022-40468- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
OSVDEBIAN-CVE-2022-40468
7.5
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
DEBIAN-CVE-2022-40468- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
Show 7 moreShow less
OSVUBUNTU-CVE-2022-40468
7.5
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
UBUNTU-CVE-2022-40468- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSV No score
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.
- Record
CVE-2022-40468- Updated
- 2026-11-02
OSVMGASA-2025-0003 No score
Updated tinyproxy packages fix security vulnerabilities
Potential leak of left-over heap data if custom error page templates containing special non-standard variables are used. Tinyproxy commit 84f203f and earlier use uninitialized buffers in process_request() function.. (CVE-2022-40468) A use-after-free vulnerability exists in the HTTP Connection Headers parsing in Tinyproxy 1.11.1 and Tinyproxy 1.10.0. A specially crafted HTTP header can trigger reuse of previously freed memory, which leads to memory corruption and could lead to remote code execution. An attacker needs to make an unauthenticated HTTP request to trigger this vulnerability. (CVE-2023-49606)
- Record
MGASA-2025-0003- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0119-1 No score
Security update for tinyproxy
This update for tinyproxy fixes the following issues:
-
Update to release 1.11.2
- Fix potential use-after-free in header handling [CVE-2023-49606, boo#1223746]
- Prevent junk from showing up in error page in invalid requests [CVE-2022-40468, CVE-2023-40533, boo#1223743]
-
Move tinyproxy program to /usr/bin.
-
Update to release 1.11.1
- New fnmatch based filtertype
-
Update to release 1.11
- Support for multiple bind directives.
-
update to 1.10.0:
- Configuration file has moved from /etc/tinyproxy.conf to /etc/tinyproxy/tinyproxy.conf.
- Add support for basic HTTP authentication
- Add socks upstream support
- Log to stdout if no logfile is specified
- Activate reverse proxy by default
- Support bind with transparent mode
- Allow multiple listen statements in the configuration
- Fix CVE-2017-11747: Create PID file before dropping privileges.
- Fix CVE-2012-3505: algorithmic complexity DoS in hashmap
- Bugfixes
- BB#110: fix algorithmic complexity DoS in hashmap
- BB#106: fix CONNECT requests with IPv6 literal addresses as host
- BB#116: fix invalid free for GET requests to ipv6 literal address
- BB#115: Drop supplementary groups
- BB#109: Fix crash (infinite loop) when writing to log file fails
- BB#74: Create log and pid files after we drop privs
- BB#83: Use output of id instead of $USER
- Record
openSUSE-SU-2024:0119-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12351-1 No score
tinyproxy-1.11.1-2.1 on GA media
These are all security issues fixed in the tinyproxy-1.11.1-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12351-1- Updated
- 2026-11-02
OSVUSN-7140-1 No score
tinyproxy vulnerability
It was discovered that Tinyproxy did not properly manage memory under certain circumstances. An attacker could possibly use this issue to leak left-over heap data if custom error page templates containing special non-standard variables are used.
- Record
USN-7140-1- Updated
- 2026-11-02
OSVUSN-7140-2 No score
tinyproxy vulnerability
USN-7140-1 fixed CVE-2022-40468 in tinyproxy. This update provides the corresponding update for Ubuntu 14.04 LTS.
Original advisory details:
It was discovered that Tinyproxy did not properly manage memory under certain circumstances. An attacker could possibly use this issue to leak left-over heap data if custom error page templates containing special non-standard variables are used.
- Record
USN-7140-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tinyproxyAlpine:v3.16 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.17 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.18 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.19 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.20 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.21 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.22 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.23 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyAlpine:v3.24 |
before 1.11.1-r2 | 1.11.1-r2 |
tinyproxyDebian:12 |
before 1.11.1-2 | 1.11.1-2 |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tinyproxyDebian:13 |
before 1.11.1-2 | 1.11.1-2 |
tinyproxyDebian:14 |
before 1.11.1-2 | 1.11.1-2 |
tinyproxyDebian:11 |
before 1.10.0-5+deb11u1, plus listed versions 1.10.0-5 |
1.10.0-5+deb11u1 |
tinyproxyMageia:9 |
before 1.10.0-3.1.mga9 | 1.10.0-3.1.mga9 |
tinyproxyUbuntu:Pro:14.04:LTS |
before 1.8.3-3ubuntu14.04.1~esm2, plus listed versions 1.8.3-3ubuntu11.8.3-3ubuntu14.04.1~esm1 |
1.8.3-3ubuntu14.04.1~esm2 |
tinyproxyUbuntu:Pro:16.04:LTS |
before 1.8.3-3ubuntu16.04.1~esm2, plus listed versions 1.8.3-3ubuntu11.8.3-3ubuntu16.04.1~esm1 |
1.8.3-3ubuntu16.04.1~esm2 |
tinyproxyUbuntu:Pro:18.04:LTS |
before 1.8.4-5ubuntu0.1~esm2, plus listed versions 1.8.4-21.8.4-31.8.4-51.8.4-5ubuntu0.1~esm1 |
1.8.4-5ubuntu0.1~esm2 |
tinyproxyUbuntu:20.04:LTS |
before 1.10.0-4ubuntu0.1, plus listed versions 1.10.0-21.10.0-4 |
1.10.0-4ubuntu0.1 |
tinyproxyUbuntu:Pro:22.04:LTS |
before 1.11.0-1ubuntu0.1~esm1, plus listed versions 1.10.0-51.11.0-1 |
1.11.0-1ubuntu0.1~esm1 |
tinyproxySUSE:Package Hub 15 SP5 |
before 1.11.2-bp155.3.3.1 | 1.11.2-bp155.3.3.1 |
tinyproxyopenSUSE:Leap 15.5 |
before 1.11.2-bp155.3.3.1 | 1.11.2-bp155.3.3.1 |
tinyproxyopenSUSE:Tumbleweed |
before 1.11.1-2.1 | 1.11.1-2.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-02 | created | CVE List, EUVD, GitHub Advisories, NVD, OSV |
References
github.com/tinyproxy/tinyproxy
github.com/tinyproxy/tinyproxy/blob/84f203fb1c4733608c7283bbe794005a469c4b00/src/reqs.c
github.com/tinyproxy/tinyproxy/issues/457
security.gentoo.org/glsa/202305-27
lists.debian.org/debian-lts-announce/2024/09/msg00035.html
nvd.nist.gov/vuln/detail/CVE-2022-40468
Show 25 moreShow less
github.com/advisories/GHSA-h3r7-x4mp-2c39
security.alpinelinux.org/vuln/CVE-2022-40468
github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40468.json
security-tracker.debian.org/tracker/CVE-2022-40468
advisories.mageia.org/MGASA-2025-0003.html
bugs.mageia.org/show_bug.cgi?id=33206
openwall.com/lists/oss-security/2024/05/07/1
lists.opensuse.org/archives/list/[email protected]/message/OM62U7F2OTTTTR4PTM6RV3UAOCUHRC75
lwn.net/Articles/990818
ubuntu.com/security/notices/USN-7140-1
ubuntu.com/security/notices/USN-7190-1
ubuntu.com/security/CVE-2022-40468
github.com/tinyproxy/tinyproxy/commit/3764b8551463b900b5b4e3ec0cd9bb9182191cb7
cve.org/CVERecord?id=CVE-2022-40468
ubuntu.com/security/notices/USN-7140-2
lists.opensuse.org/archives/list/[email protected]/thread/OM62U7F2OTTTTR4PTM6RV3UAOCUHRC75
bugzilla.suse.com/1200028
bugzilla.suse.com/1203553
bugzilla.suse.com/1223743
bugzilla.suse.com/1223746
suse.com/security/cve/CVE-2012-3505
suse.com/security/cve/CVE-2017-11747
suse.com/security/cve/CVE-2022-40468
suse.com/security/cve/CVE-2023-40533
suse.com/security/cve/CVE-2023-49606