DEBIAN-CVE-2024-6874

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2024-6874
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-6874.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-6874
Upstream
Published
2024-07-24T08:15:03Z
Modified
2025-09-19T06:06:03Z
Summary
[none]
Details

libcurl's URL API function curlurlget() offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the macidn IDN backend. The conversion function then fills up the provided buffer exactly - but does not null terminate the string. This flaw can lead to stack contents accidently getting returned as part of the converted string.

References

Affected packages

Debian:13 / curl

Package

Name
curl
Purl
pkg:deb/debian/curl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.9.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / curl

Package

Name
curl
Purl
pkg:deb/debian/curl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.9.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}