Every CVE Search/ Get API key

CVE-2022-22846

dnslib has DNS reply verification issue

7.5 HighFix available

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

0.87%Unchanged since Feb 8, 2022
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
5.0 MediumAV: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 HighCVSS: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 MediumCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 3.1
5.3 MediumCVSS: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

Affected packages
PackageAffectedFixed
dnslib
PyPI
before 0.9.17
0.9.17
python-dnslib
Debian:12
before 0.9.18-1
0.9.18-1
python-dnslib
Debian:13
before 0.9.18-1
0.9.18-1
python-dnslib
Debian:14
before 0.9.18-1
0.9.18-1
dnslib
PyPI
before 0.9.17, plus listed versions
0.10.20.30.3.10.3.2
Show 27 moreShow less
0.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-dnslib
Ubuntu:18.04:LTS
All versions, plus listed versions
0.9.7+hg20170303-1
None known
python-dnslib
Ubuntu:20.04:LTS
All versions, plus listed versions
0.9.10-10.9.12-1
None known
python-dnslib
Ubuntu:22.04:LTS
All versions, plus listed versions
0.9.14-10.9.16-10.9.18-10.9.19-1
None known
python-dnslib
Ubuntu:24.04:LTS
All versions, plus listed versions
0.9.23-10.9.24-1
None known
python-dnslib
Ubuntu:25.10
All versions, plus listed versions
0.9.25-1
None known
python-dnslib
Ubuntu:26.10
All versions, plus listed versions
0.9.25-1
None known
python-dnslib
Ubuntu:26.04:LTS
All versions, plus listed versions
0.9.25-1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 4 moreShow less
MoveEnter Open