CVE-2022-22846
dnslib has DNS reply verification issue
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
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
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.5
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
CVE-2022-22846- CVSS 3.1
- 7.5 High
CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N - Updated
- 2026-11-02
EUVDEUVD-2022-0095
7.5
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
EUVD-2022-0095- CVSS 3.1
- 7.5 High
CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r478-c2pc-m7gx
8.7
dnslib has DNS reply verification issue
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
GHSA-r478-c2pc-m7gx- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-345
- Updated
- 2026-11-02
NVD
7.5
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
CVE-2022-22846- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Updated
- 2026-11-02
OSV
7.5
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
CVE-2022-22846- CVSS 3.1
- 7.5 High
CVSS:3.1/AC:L/AV:N/A:N/C:N/I:H/PR:N/S:U/UI:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2022-22846
5.3
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
DEBIAN-CVE-2022-22846- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-03
OSVGHSA-r478-c2pc-m7gx
8.7
dnslib has DNS reply verification issue
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
GHSA-r478-c2pc-m7gx- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-345
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-22846
7.5
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
UBUNTU-CVE-2022-22846- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVPYSEC-2022-4 No score
The dnslib package through 0.9.16 for Python does not verify that the ID value in a DNS reply matches an ID value in a query.
- Record
PYSEC-2022-4- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dnslibPyPI |
before 0.9.17 | 0.9.17 |
python-dnslibDebian:12 |
before 0.9.18-1 | 0.9.18-1 |
python-dnslibDebian:13 |
before 0.9.18-1 | 0.9.18-1 |
python-dnslibDebian:14 |
before 0.9.18-1 | 0.9.18-1 |
dnslibPyPI |
before 0.9.17, plus listed versions 0.10.20.30.3.10.3.2 Show 27 moreShow less0.3.30.4.00.4.10.4.20.50.60.6.10.6.20.70.80.8.10.8.20.8.30.9.00.9.100.9.120.9.130.9.140.9.160.9.20.9.30.9.40.9.50.9.60.9.70.9.80.9.9 |
0.9.17 |
python-dnslibUbuntu:18.04:LTS |
All versions, plus listed versions 0.9.7+hg20170303-1 |
None known |
python-dnslibUbuntu:20.04:LTS |
All versions, plus listed versions 0.9.10-10.9.12-1 |
None known |
python-dnslibUbuntu:22.04:LTS |
All versions, plus listed versions 0.9.14-10.9.16-10.9.18-10.9.19-1 |
None known |
python-dnslibUbuntu:24.04:LTS |
All versions, plus listed versions 0.9.23-10.9.24-1 |
None known |
python-dnslibUbuntu:25.10 |
All versions, plus listed versions 0.9.25-1 |
None known |
python-dnslibUbuntu:26.10 |
All versions, plus listed versions 0.9.25-1 |
None known |
python-dnslibUbuntu:26.04:LTS |
All versions, plus listed versions 0.9.25-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-22846 is a high vulnerability (CVSS 7.5) in Dnslib Project Dnslib, published January 9, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.87%, the 59th percentile. Fixed in dnslib 0.9.17.
References
github.com/paulc/dnslib/issues/30
nvd.nist.gov/vuln/detail/CVE-2022-22846
github.com/paulc/dnslib/commit/76e8677699ed098387d502c57980f58da642aeba
github.com/advisories/GHSA-r478-c2pc-m7gx
github.com/pypa/advisory-database/tree/main/vulns/dnslib/PYSEC-2022-4.yaml
github.com/CVEProject/cvelistV5/tree/main/cves/2022/22xxx/CVE-2022-22846.json