CVE-2026-120639

Source
https://cve.org/CVERecord?id=CVE-2026-120639
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120639.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-120639
Downstream
Related
Published
2026-11-03T23:40:30Z
Modified
2026-11-11T02:33:10Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push
Details

CGI versions before 5.00 for Perl allow HTTP header injection via entity decoding after the newline check in header and unchecked values in multipart_start and do_push.

With autoEscape off, header decodes HTML entities in extra header values after its newline check, so an encoded CR or LF reaches the response. multipart_start does not check header values for newlines, and do_push does not check the type it prints in each part.

An application that passes request data into these header values can be made to add headers or split the response.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-113"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120639.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "5.00"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "5.00"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/leejo/cgi.pm

Affected ranges

Type
GIT
Repo
https://github.com/leejo/cgi.pm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "fixed":  "69955309d371c8093d11cf12e3ddef491537ffad"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "7733c2753f4f240012097507cda2b6e87ae46db4"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

4.*
4.69
v3.*
v3.51
v3.52
v3.53
v3.53.1
v3.56
v3.58
v3.61
v3.62
v3.63
v3.64
v3.64-take-three
v4.*
v4.00
v4.01
v4.02
v4.03
v4.05
v4.08
v4.09
v4.10
v4.11
v4.12
v4.13
v4.15
v4.20
v4.21
v4.22
v4.23
v4.24
v4.25
v4.26
v4.27
v4.29
v4.30
v4.31
v4.32
v4.33
v4.34
v4.35
v4.36
v4.37
v4.38
v4.40
v4.41
v4.42
v4.44
v4.45
v4.46
v4.47
v4.48
v4.49
v4.51
v4.53
v4.54
v4.55
v4.56
v4.57
v4.58
v4.59
v4.60
v4.61
v4.62
v4.63
v4.64
v4.65
v4.67
v4.68
v4.70
v4.71
v4.72

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-120639.json"